    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: #f4f6f9;
      color: #1a1a2e;
      line-height: 1.5;
    }

    /* full width container */
    .app {
      width: 100%;
      background: white;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* two-column layout */
    .two-col {
      display: flex;
      flex: 1;
      min-height: calc(100vh - 60px); 
    }

    /* left panel */
    .left-panel {
      background: linear-gradient(160deg, #1a3a5c 0%, #0a1f35 100%);
      width: 42%;
      padding: 48px 36px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }

    .left-content {
      position: relative;
      z-index: 2;
    }

    .seal-large {
      width: 56px;
      height: 56px;
      background: #d4a017;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 600;
      color: #412402;
      text-align: center;
      margin-bottom: 24px;
      box-shadow: 0 0 0 4px rgba(212,160,23,0.2);
    }

    .lgu-name {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 700;
      color: white;
      line-height: 1.3;
      margin-bottom: 8px;
    }

    .lgu-sub {
      font-size: 13px;
      color: #b5d4f4;
      margin-bottom: 28px;
    }

    .divider {
      height: 1px;
      background: rgba(255,255,255,0.1);
      margin-bottom: 24px;
    }

    .system-title {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #60a5fa;
      margin-bottom: 10px;
    }

    .system-desc {
      font-size: 13px;
      color: #b5d4f4;
      line-height: 1.6;
    }

    .stats-list {
      margin-top: 32px;
    }
    .stat-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }
    .stat-dot {
      width: 6px;
      height: 6px;
      background: #60a5fa;
      border-radius: 50%;
    }
    .stat-text {
      font-size: 12px;
      color: #b5d4f4;
    }
    .stat-text strong {
      color: white;
      font-weight: 500;
    }

    /* right panel */
    .right-panel {
      flex: 1;
      background: white;
      padding: 48px 48px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .admin-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #e6f1fb;
      padding: 4px 14px;
      border-radius: 40px;
      font-size: 11px;
      font-weight: 500;
      color: #0c447c;
      margin-bottom: 24px;
      align-self: flex-start;
    }
    .badge-dot {
      width: 6px;
      height: 6px;
      background: #378add;
      border-radius: 50%;
    }

    h2 {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .welcome-sub {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 32px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      font-size: 13px;
      font-weight: 500;
      display: block;
      margin-bottom: 6px;
    }

    .input-wrapper {
      position: relative;
    }

    .input-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      pointer-events: none;
    }

    input {
      width: 100%;
      padding: 12px 12px 12px 40px;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      font-family: inherit;
      font-size: 14px;
      transition: 0.15s;
      background: white;
    }

    input:focus {
      outline: none;
      border-color: #1a3a5c;
      box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
    }

    input.error {
      border-color: #e24b4a;
    }

    .error-banner {
      background: #FEF0EF;
      border: 1px solid #F5AAAA;
      border-radius: 12px;
      padding: 10px 16px;
      font-size: 12px;
      color: #a32d2d;
      display: none;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .error-banner.show {
      display: flex;
    }

    /* button */
    .login-btn {
      width: 100%;
      background: #1a3a5c;
      border: none;
      border-radius: 40px;
      padding: 12px;
      font-size: 14px;
      font-weight: 500;
      color: white;
      cursor: pointer;
      transition: 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 8px;
    }

    .login-btn:hover {
      background: #0f2340;
      transform: scale(0.98);
    }

    .login-btn.loading {
      opacity: 0.7;
      cursor: not-allowed;
    }

    .back-button {
      background: transparent;
      border: 1px solid #cbd5e1;
      border-radius: 40px;
      padding: 12px;
      font-size: 14px;
      font-weight: 500;
      color: #334155;
      cursor: pointer;
      transition: 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
      width: 100%;
      text-decoration: none;
    }

    .back-button:hover {
      background: #f1f5f9;
    }

    .security-note {
      display: flex;
      gap: 8px;
      margin-top: 24px;
      font-size: 11px;
      color: #64748b;
      align-items: center;
    }

    /* footer */
    .bottom-bar {
      background: #0f2340;
      padding: 12px 24px;
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      font-size: 11px;
      color: #9bb9e0;
    }
    .bottom-bar span:not(:last-child)::after {
      content: "•";
      margin-left: 12px;
      color: #60a5fa;
    }

    @media (max-width: 760px) {
      .left-panel {
        display: none;
      }
      .right-panel {
        padding: 40px 24px;
      }
    }