:root {
  --primary-color: #f0b44d;
  --bg-dark: #1e2442;
  --card-bg: rgba(30, 36, 66, 0.7);
  --input-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --white: #fff;
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/auth-bg-modern.png") center/cover no-repeat;
  position: relative;
  padding: 20px;
}

.auth-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.auth-wrapper .content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
}

.login-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.logo-container {
  text-align: center;
  margin-bottom: 32px;
}

.logo-container img {
  max-width: 180px;
  height: auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h2 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.form-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control {
  background: var(--input-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--white) !important;
  border-radius: 12px !important;
  height: 52px !important;
  padding: 0 20px !important;
  transition: var(--transition) !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .login-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  pointer-events: none;
  z-index: 5;
}

.input-icon-wrapper .main-eye-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.input-icon-wrapper .main-eye-icon:hover {
  color: var(--white);
}

.forgot-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-check-label {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.forgot-password-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.forgot-password-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.theme-btn.fill {
  background: var(--primary-color);
  color: #1e2442;
  border: none;
  border-radius: 12px;
  height: 52px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  transition: var(--transition);
  cursor: pointer;
}

.theme-btn.fill:hover {
  background: #e0a43d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 180, 77, 0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.auth-footer p{
  margin: 0;
}

.auth-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 600;
}

.form-check-input {
  background-color: var(--input-bg);
  border-color: var(--border-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card {
  animation: fadeInUp 0.6s ease-out;
}

.error {
  color: #ff4d4d !important;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .login-card {
    padding: 32px 24px;
    border-radius: 20px;
  }
  
  .auth-header h2 {
    font-size: 24px;
  }
  
  .auth-header p {
    font-size: 14px;
  }
  
  .logo-container img {
    max-width: 140px;
  }
}

@media (max-height: 700px) {
  .auth-wrapper {
    padding: 40px 20px;
    align-items: flex-start;
  }
}
