/* ===== LOGIN / RESET ===== */
/* 🎨 CLAYMORPHISM THEME WITH ENHANCED LOGIN FORM */
.auth-screen {
  min-height: 100vh;
  background: linear-gradient(135deg, #FBF7F0 0%, #F5F1E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.auth-card {
  width: 90%;
  max-width: 380px;
  background: rgba(255, 250, 247, 0.98);
  padding: 24px 20px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(180, 120, 80, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* ===== BRAND HEADER - VIBRANT BLUE & ORANGE ===== */
.brand-header {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 4px !important;
  line-height: 1.2;
}

.brand-text-blue {
  color: #0056FF;
  background: linear-gradient(135deg, #0056FF 0%, #0080FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.brand-text-orange {
  color: #FF8C00;
  background: linear-gradient(135deg, #FF8C00 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.brand-subtitle {
  color: #B8927E;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px !important;
}

/* ===== FORM LABELS ===== */
.login-label {
  font-size: 11px;
  font-weight: 700;
  color: #D4917D;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

/* ===== ENHANCED INPUT BOXES ===== */
.login-input {
  height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  border: 1.5px solid rgba(212, 145, 125, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: #4A4A4A;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-weight: 500;
}

.login-input:focus {
  border-color: #D4917D;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(212, 145, 125, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
  transform: translateY(-2px);
}

.login-input::placeholder {
  color: #B8927E;
  font-weight: 500;
}

/* ===== INPUT GROUP (Password + Eye) ===== */
.login-input-group {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 145, 125, 0.25);
  background: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 44px;
}

.login-input-group:focus-within {
  border-color: #D4917D;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(212, 145, 125, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.login-input-group .login-input {
  border: none;
  background: transparent;
  height: 100%;
  padding: 10px 14px;
  font-size: 14px;
}

.login-input-group .login-input:focus {
  border: none;
  box-shadow: none;
  transform: none;
  background: transparent;
}

/* Eye Toggle Button */
.btn-outline-clay {
  border: none;
  background: transparent;
  color: #D4917D;
  padding: 10px 12px;
  border-radius: 0;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 14px;
}

.btn-outline-clay:hover {
  background: rgba(212, 145, 125, 0.1);
  color: #B8927E;
}

/* ===== PASSWORD VALIDATION INDICATOR ===== */
.password-validator {
  background: rgba(212, 145, 125, 0.08);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(212, 145, 125, 0.15);
}

.pass-count-display {
  font-size: 20px;
  font-weight: 800;
  color: #D4917D;
  text-align: center;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.password-strength-bar {
  width: 100%;
  height: 5px;
  background: rgba(212, 145, 125, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.pass-strength-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d97e7e 0%, #D4917D 50%, #C8D9B8 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.pass-message {
  display: block;
  text-align: center;
  color: #B8927E;
  font-weight: 500;
  font-size: 11px;
}

/* ===== ENHANCED LOGIN BUTTON ===== */
.btn-login {
  height: 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #D4917D 0%, #B8927E 100%);
  color: white;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(212, 145, 125, 0.25);
  cursor: pointer;
  margin-top: 4px;
}

.btn-login:not(:disabled):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 145, 125, 0.35);
  background: linear-gradient(135deg, #B8927E 0%, #A0825F 100%);
}

.btn-login:not(:disabled):active {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 145, 125, 0.2);
}

.btn-login:disabled {
  background: linear-gradient(135deg, #e8d1c3 0%, #dcc4b8 100%);
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
  opacity: 0.65;
}

/* ===== ALERT STYLING ===== */
.alert-clay-info {
  background: rgba(212, 145, 125, 0.12) !important;
  border: 1px solid rgba(212, 145, 125, 0.25) !important;
  border-radius: 10px !important;
  color: #B8927E !important;
  padding: 10px 12px !important;
  margin-top: 12px !important;
  font-weight: 500;
  font-size: 11px !important;
}

.alert-clay-info i {
  margin-right: 6px;
  color: #D4917D;
  font-size: 12px;
}

.alert {
  margin-top: 12px !important;
  max-width: 380px;
  background: rgba(240, 169, 168, 0.12);
  border: 1px solid rgba(240, 169, 168, 0.25);
  border-radius: 10px;
  padding: 10px 12px !important;
  color: #B8927E;
  font-size: 10px !important;
  line-height: 1.4;
}

.alert ul {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  padding-left: 18px !important;
}

.alert li {
  margin-bottom: 2px;
}

/* ===== SECURITY REQUIREMENTS (Real-time Validation) ===== */
.security-requirements {
  background: rgba(212, 145, 125, 0.08);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(212, 145, 125, 0.15);
}

.req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  color: #B8927E;
  font-weight: 500;
}

.req-item:last-child {
  margin-bottom: 0;
}

.req-icon {
  font-weight: 700;
  font-size: 13px;
  min-width: 16px;
  text-align: center;
  color: #d97e7e;
  transition: color 0.2s;
}

/* VALID STATE - Green checkmark */
.req-item.valid .req-icon {
  color: #C8D9B8;
}

.req-text {
  flex: 1;
  transition: color 0.2s;
}

.req-item.valid .req-text {
  color: #6ba876;
}

/* ===== PASSWORD RESET SCREEN ===== */
#password-reset-screen h5 {
  color: #D4917D;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ===== MOBILE HISTORY DROPDOWN (Claymorphism) ===== */
.mobile-history-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 250, 247, 0.98);
  border: 1px solid rgba(212, 145, 125, 0.25);
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 8px 16px rgba(180, 120, 80, 0.1);
  display: none;
}

.mobile-history-dropdown.show {
  display: block;
}

.mobile-history-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212, 145, 125, 0.1);
  cursor: pointer;
  transition: all 0.15s ease;
  color: #4A4A4A;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-history-item:last-child {
  border-bottom: none;
}

.mobile-history-item:hover {
  background: rgba(212, 145, 125, 0.1);
  color: #D4917D;
  padding-left: 18px;
}

.mobile-history-item.preview {
  background: rgba(212, 145, 125, 0.15);
  color: #D4917D;
  border-left: 3px solid #D4917D;
  padding-left: 11px;
}

.mobile-history-item i {
  font-size: 12px;
  opacity: 0.6;
}

/* Wrapper for positioning */
.mobile-input-wrapper {
  position: relative;
}
/* ===== LOGIN ATTEMPT COUNTER ===== */
.attempt-counter {
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.attempt-counter.warning {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #B8927E;
}

.attempt-counter.danger {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #E74C3C;
}

.attempt-counter.blocked {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #C0392B;
  font-weight: 600;
}

#attempt-message {
  display: block;
}