@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
      --brand-primary: #003087;
      --brand-primary-hover: #005293;
      --brand-accent: #FFCD00;
      --brand-danger: #C8102E;
      --panel-bg: rgba(255, 255, 255, 0.94);
      --panel-border: rgba(255, 255, 255, 0.58);
      --text-main: #212529;
      --text-soft: #6C757D;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background:
        linear-gradient(180deg, rgba(0, 48, 135, 0.78), rgba(0, 82, 147, 0.68)),
        /* url('/app/img/invent.jpg'), */
        linear-gradient(120deg, #003087, #005293);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      color: var(--text-main);
      display: grid;
      place-items: center;
      padding: 24px;
    }

    .login-shell {
      width: 100%;
      max-width: 380px;
    }

    .login-card {
      width: 100%;
      border-radius: 8px;
      border: 1px solid var(--panel-border);
      background: var(--panel-bg);
      box-shadow: 0 18px 35px rgba(0, 48, 135, 0.28);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      padding: 24px 22px 18px;
    }

    .brand-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
    }

    .brand-badge {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      background: transparent;
      color: var(--brand-primary);
      font-weight: 700;
      font-size: 14px;
      display: grid;
      place-items: center;
      letter-spacing: 0.3px;
    }

    .brand-badge img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .brand-title {
      font-size: 13px;
      font-weight: 700;
      line-height: 1.15;
      margin: 0;
    }

    .brand-subtitle {
      font-size: 11px;
      color: var(--text-soft);
      margin: 0;
    }

    h1 {
      margin: 0 0 4px;
      font-size: 32px;
      font-weight: 800;
      letter-spacing: 0;
      color: var(--brand-primary);
    }

    .lead {
      margin: 0 0 14px;
      color: var(--text-soft);
      font-size: 12px;
    }

    .secure-pill {
      display: inline-block;
      background: #D7E5F5;
      color: var(--brand-primary);
      border: 1px solid #C4D7EE;
      border-radius: 999px;
      font-size: 11px;
      padding: 3px 9px;
      margin-bottom: 14px;
    }

    .field-label {
      display: block;
      margin-bottom: 6px;
      font-size: 11px;
      font-weight: 800;
      color: var(--brand-primary);
      letter-spacing: 0.6px;
      text-transform: uppercase;
    }

    .form-control {
      border-radius: 7px;
      border: 1px solid #CED4DA;
      min-height: 42px;
      font-size: 14px;
    }

    .form-control:focus {
      border-color: var(--brand-primary-hover);
      box-shadow: 0 0 0 0.2rem rgba(0, 82, 147, 0.16);
    }

    .remember-wrap {
      margin: 10px 0 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 12px;
      color: var(--text-soft);
    }

    .btn-login {
      width: 100%;
      min-height: 44px;
      border: 0;
      border-radius: 7px;
      background: var(--brand-primary);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
      box-shadow: 0 8px 16px rgba(0, 48, 135, 0.25);
    }

    .btn-login:hover {
      transform: translateY(-1px);
      background: var(--brand-primary-hover);
    }

    .mini-divider {
      border: 0;
      border-top: 1px solid #E2E8F0;
      margin: 16px 0 12px;
    }

    .quick-links {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      margin-bottom: 10px;
    }

    .quick-item {
      text-align: center;
      color: var(--text-soft);
      font-size: 10px;
    }

    .quick-icon {
      width: 25px;
      height: 25px;
      border-radius: 8px;
      margin: 0 auto 3px;
      display: grid;
      place-items: center;
      background: #D7E5F5;
      color: var(--brand-primary);
      font-size: 12px;
      font-weight: 700;
    }

    .copyright {
      text-align: center;
      font-size: 10px;
      color: rgba(255, 255, 255, 0.75);
      margin-top: 10px;
    }

    .alert {
      margin-bottom: 14px;
      border-radius: 8px;
      font-size: 13px;
    }

    .maintenance-modal {
      position: fixed;
      inset: 0;
      z-index: 20;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgba(15, 23, 42, 0.62);
    }

    .maintenance-modal[hidden] {
      display: none;
    }

    .maintenance-modal__box {
      width: min(420px, 100%);
      border-radius: 10px;
      padding: 28px 24px;
      text-align: center;
      background: #fff;
      box-shadow: 0 24px 55px rgba(0, 0, 0, .25);
    }

    .maintenance-modal__icon {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      margin: 0 auto 16px;
      border-radius: 50%;
      background: var(--brand-accent);
      color: var(--brand-primary);
      font-size: 34px;
      font-weight: 800;
    }

    .maintenance-modal h2 {
      margin: 0 0 10px;
      color: var(--brand-primary);
      font-size: 28px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .maintenance-modal p {
      margin: 0 0 20px;
      color: var(--text-soft);
      font-size: 15px;
      line-height: 1.45;
    }
