/* Gorgeous Login CSS - Elegant Design */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  background-color: var(--background-color);
  position: relative;
  padding: 2rem 1rem;
}

/* Beautiful background pattern */
.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23FF69B4' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.login-card {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(255, 105, 180, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Welcome Header */
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.welcome-icon {
  margin-bottom: 1.5rem;
}

.welcome-icon i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-color), #ff45a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-title {
  color: var(--text-color);
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.login-subtitle {
  color: var(--light-text);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Form Styling */
.login-form .form-group {
  margin-bottom: 2rem;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
}

.login-form label i {
  color: var(--primary-color);
  font-size: 14px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1.25rem;
  color: var(--light-text);
  z-index: 2;
  font-size: 14px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fafafa;
  color: var(--text-color);
  box-sizing: border-box;
}

.login-form input::placeholder {
  color: var(--light-text);
  opacity: 0.7;
}

.login-form input:focus {
  border-color: var(--primary-color);
  background-color: white;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
  transform: translateY(-1px);
}

.toggle-password {
  position: absolute;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
  z-index: 2;
}

.toggle-password:hover {
  color: var(--primary-color);
}

/* Button Styling */
.login-form .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff45a0);
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 16px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

/* Links Section */
.login-links {
  margin-top: 2.5rem;
  text-align: center;
}

.forgot-password {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.forgot-password:hover {
  background: rgba(255, 105, 180, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
  color: #ff45a0;
}

.signup-prompt {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255,105,180,0.05), rgba(255,105,180,0.02));
  border: 1px solid rgba(255,105,180,0.1);
  border-radius: 12px;
}

.prompt-text {
  color: var(--light-text);
  font-size: 14px;
  margin-right: 0.5rem;
}

.signup-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.signup-link:hover {
  color: #ff45a0;
  text-decoration: none;
}

/* Footer */
.login-footer {
  margin-top: 2rem;
}

.security-note {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.2);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 13px;
  color: #28a745;
  text-align: center;
}

.security-note i {
  font-size: 16px;
}

/* Error Messages */
.error-message {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
}

.error-message i {
  font-size: 16px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
  }
  
  .login-card {
    padding: 2rem;
    max-width: 100%;
  }
  
  .login-title {
    font-size: 1.8rem;
  }
  
  .welcome-icon i {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.5rem;
  }
  
  .login-title {
    font-size: 1.6rem;
  }
  
  .login-form input {
    padding: 1rem 1rem 1rem 3rem;
  }
  
  .signup-prompt {
    padding: 1rem;
  }
}