/* ==========================================================================
   NKCV - Login Page Styles (static/css/pages/login.css)
   ========================================================================== */

:root {
  --login-accent: #ea580c;
  --login-accent-hover: #c2410c;
  --login-accent-pressed: #9a3412;
  --login-text: #451a03;
  --login-muted: #78350f;
  --login-border: rgba(251, 146, 60, 0.3);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #fed7aa 75%, #fdba74 100%);
  color: var(--login-text);
}

.login-page {
  min-height: 100vh;
  background: url("../../images/bg-login-sso.png?v=20260801001") center center / cover no-repeat !important;
}

.login-card {
  position: relative;
  z-index: 10;
  width: min(100%, 540px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(251, 146, 60, 0.28);
  box-shadow: 0 25px 60px -15px rgba(234, 88, 12, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.inner-login-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.05);
}

.login-brand-kicker {
  color: #ea580c;
  letter-spacing: 0.12em;
}

.login-brand-title {
  color: #c2410c;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.login-input-row {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 50px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.04);
  transition: all 160ms ease;
  width: 100%;
  font-size: 0.95rem;
}

.login-input-row:focus-within {
  border-color: #f97316;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15), 0 4px 12px rgba(234, 88, 12, 0.08);
}

.sso-label-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 0.96rem;
}

.login-input {
  width: 100%;
  height: 48px;
  border: 0 !important;
  background: transparent !important;
  color: #451a03 !important;
  font-size: 0.96rem;
  font-weight: 600;
  outline: none !important;
  box-shadow: none !important;
}

.login-input::placeholder {
  color: #9a3412;
  opacity: 0.6;
}

.password-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ea580c;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 160ms ease;
}

.password-eye:hover {
  background: #ffedd5;
}

/* SSO / Standard Submit Button - Larger Font & Sleek Height */
.login-submit {
  min-height: 48px;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: var(--login-accent, #ea580c) !important;
  color: #ffffff !important;
  border: 1px solid var(--login-accent, #ea580c) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 160ms ease !important;
}

.login-submit:hover:not(:disabled) {
  background-color: var(--login-accent-hover, #c2410c) !important;
  border-color: var(--login-accent-hover, #c2410c) !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4) !important;
  transform: translateY(-1px);
}

.login-submit:active {
  background-color: var(--login-accent-pressed, #9a3412) !important;
  transform: translateY(1px);
}

.login-submit:disabled {
  cursor: wait;
  opacity: 0.85;
  transform: none;
}

.login-alert {
  border-radius: 10px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  word-wrap: normal !important;
  direction: ltr !important;
  -webkit-font-smoothing: antialiased;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.icon-top-badge .material-symbols-outlined {
  font-size: 32px !important;
}

.icon-header-badge .material-symbols-outlined {
  font-size: 28px !important;
}

.icon-field .material-symbols-outlined {
  font-size: 24px !important;
}

.icon-submit .material-symbols-outlined {
  font-size: 22px !important;
  color: #ffffff !important;
}

.icon-help .material-symbols-outlined {
  font-size: 20px !important;
}

.maintenance-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(69, 34, 28, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.maintenance-modal {
  width: min(100%, 430px);
  border-radius: 16px;
  border: 1px solid rgba(251, 146, 60, 0.3);
  background: #ffffff;
  color: #451a03;
  box-shadow: 0 26px 72px rgba(95, 45, 31, 0.28);
  padding: 1.5rem;
}

.maintenance-modal-close {
  min-height: 40px;
  border-radius: 10px;
  border: none;
  background: #ea580c;
  color: #ffffff;
  padding: 0 1.25rem;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
