:root {
  --dba-blue:       #0D5FA8;
  --dba-blue-hover: #0A4A87;
  --dba-blue-dark:  #083670;
  --dba-blue-light: #E3EEF8;
  --dba-blue-pale:  #C0D8EF;
  --dba-danger:     #B71C1C;
  --dba-danger-bg:  #FCEBEB;
  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body.login-page {
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #F0F3F7;
}

.login-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px;
}

.login-card {
  background: #FFFFFF;
  border: 0.5px solid #E2DDD5;
  border-radius: 14px;
  padding: 32px 28px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.login-logo {
  text-align: center;
  margin-bottom: 24px;
}

.login-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--dba-blue);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.login-title {
  font-size: 16px;
  font-weight: 600;
  color: #1A1916;
  letter-spacing: 0.01em;
}

.login-sub {
  font-size: 12px;
  color: #8A8680;
  margin-top: 3px;
}

.role-selector {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 18px;
}

.role-chip {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  border: 0.5px solid #E2DDD5;
  cursor: pointer;
  color: #8A8680;
  transition: all 0.15s;
  font-family: var(--font);
}

.role-chip.active {
  background: var(--dba-blue-light);
  color: var(--dba-blue-dark);
  border-color: var(--dba-blue-pale);
  font-weight: 600;
}

.login-hint {
  font-size: 11px;
  color: #8A8680;
  text-align: center;
  margin-bottom: 16px;
  margin-top: -8px;
  min-height: 16px;
}

.login-field {
  margin-bottom: 12px;
}

.login-label {
  font-size: 11px;
  color: #8A8680;
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.login-input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: 0.5px solid #E2DDD5;
  background: #FFFFFF;
  color: #1A1916;
  font-size: 13px;
  font-family: var(--font);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-input:focus {
  outline: none;
  border-color: var(--dba-blue);
  box-shadow: 0 0 0 3px rgba(13,95,168,0.10);
}

.login-input::placeholder {
  color: #C0BBAD;
}

.login-btn {
  width: 100%;
  padding: 10px;
  background: var(--dba-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s;
  font-family: var(--font);
  letter-spacing: 0.01em;
}

.login-btn:hover {
  background: var(--dba-blue-hover);
}

.login-btn:active {
  background: var(--dba-blue-dark);
}

.login-error {
  display: none;
  font-size: 11px;
  color: var(--dba-danger);
  text-align: center;
  margin-top: 10px;
  padding: 7px 10px;
  background: var(--dba-danger-bg);
  border-radius: 7px;
}

.login-footer {
  text-align: center;
  font-size: 11px;
  color: #C0BBAD;
  margin-top: 18px;
}

.login-input-pass {
  font-family: Verdana, sans-serif;
  letter-spacing: 0.1em;
}

.login-logo-img {
  width: 64px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.login-footer a {
  color: var(--dba-blue);
  text-decoration: none;
  font-weight: 500;
}
.login-footer a:hover {
  text-decoration: underline;
}
