@import url("variables.css");
body {
  background: var(--color-white);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
}

.login-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;

  background: #fff;
  border-radius: 15px;
  padding: 35px;
  animation: fadeIn 0.5s ease;
}
.login-logo {
  width: 120px;
  height: auto;
}
.login-card .sign-in-text {
  font-size: 16px;
  color: #666;
  font-weight: 500;
  text-align: center;
  border-bottom: 5px solid var(--color-primary);
  width: 300px;
  padding-bottom: 10px;
  margin-bottom: 2px;
}
.login-form {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 40px 80px;
  width: 600px;
}
.close-icon {
  position: absolute;
  background: var(--color-white);
  top: -10px;
  right: -10px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}
.login-title {
  font-weight: 700;
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.form-control {
  border-radius: 10px;
  padding: 12px;
}

.btn-login {
  width: 100%;
  background: var(--color-yellow);
  border: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--color-primary);
  transition: 0.3s;
}

.btn-login:hover {
  background: var(--color-secondary);
}

.link {
  text-decoration: none;
  color: #2575fc;
  font-weight: 500;
}

.center-text {
  padding: 20px 0;
  display: flex;
  align-items: center;
  color: #7d7d7d;
  gap: 40px; /* space between hr and text */
}

.center-text hr {
  flex: 1;
  border: none;
  height: 2px;
  background: #7d7d7d;
}

.center-text span {
  white-space: nowrap;
  font-weight: normal;
  font-size: 16px;
}
.register-container {
  display: flex;
  justify-content: center;
}
.register-link {
  text-align: center;
  border-radius: 10px;
  width: 100%;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  border: 2px solid var(--color-primary);
  padding: 10px 20px;
  transition: 0.3s;
}
.register-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
