
/* Page background and layout */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 1rem 0;
  background-color: #fdf2f8; /* light pink */
}

/* Card wrapper */
.login-card {
  background : #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  transform: scale(0.98);
}

/* Left column */
.promo-section {
  position: relative;
  background: linear-gradient(135deg, #fcedf1 0%, #fff0f7 100%);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
}

/* make image fill the left area nicely like the reference */
.illustration-image {
  width: 100%;
  height: 100%;
  max-width: 420px; /* prevents overspill on very wide screens */
  object-fit: contain; /* keep full artwork visible */
  border-radius: 12px; /* soft edges like the reference card */
}

/* Right column (form) */
.form-section {
  padding: 2rem;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.45rem;
  color: #555;
  font-weight: 500;
}

/* Scope to card to avoid overriding global bootstrap elsewhere */
.login-card .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.login-card .form-control:focus {
  outline: none;
  border-color: #e91e63;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
}

.login-card .form-control::placeholder {
  color: #999999;
}

/*Forget password link */
.forgot-password {
  display: inline-block;
  color: #000; /* black color */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: -0.5rem; /* bring it closer to the input box */
  margin-bottom: 1rem; /* space before the button */
  text-align: left;
  width: 100%;
  transition: color 0.2s ease;
}

.forgot-password:hover {
  text-decoration: underline;
  color: #333; /* subtle hover effect */
}
/* Primary button styled only within signup card */
.login-card .cakezz-primary-btn {
  background: #e91e63;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 1rem;
  transition: background 0.25s ease;
  color: #fff;
  margin-top: 1rem;
}

.login-card .cakezz-primary-btn:hover {
  background: #c2185b;
}

/* Google button */
.btn-google {
  background: #fff;
  border: 2px solid #e0e0e0;
  color: #333;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: border-color 0.25s ease;
}

.btn-google:hover {
  border-color: #e91e63;
}

.signup-link {
  text-align: center;
  margin-top: 1.2rem;
  color: #666;
}

.link-pink {
  color: #e91e63;
  text-decoration: none;
  font-weight: 500;
}
.link-pink:hover {
  text-decoration: underline;
}
.error-message{
  color: #ff4d4d;
  font-size: 0.75rem;
  display: none;
}
/* Password Toggle Styling */
.password-container {
  position: relative;
}

.password-container .form-control {
  padding-right: 45px; /* space for eye icon */
}

.password-container i {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  font-size: 1rem;
}

.password-container i:hover {
  color: #e91e63; /* match your theme pink */
}

/* Responsive */
@media (max-width: 768px) {
  .login-card {
    margin: 1rem;
  }
  .promo-section,
  .form-section {
    padding: 1.5rem;
  }
  .promo-section {
    min-height: 320px;
  }
}
