
 /* ===== ROOT VARIABLES (exact design system) ===== */
    :root {
      --primary: #0B1E3D;
      --primary-light: #16325c;
      --secondary: #C9A24A;
      --secondary-hover: #b38e3a;
      --primary-blue: #0b2545;
      --accent-gold: #cc8130;
      --light-green: #137b6c;
      --hover-blue: #134074;
      --bright-blue: #0056b3;

      --white: #ffffff;
      --gray: #f5f7fa;

      --text-main: #2b2b2b;
      --text-muted: #6c757d;

      --shadow-soft: 0 10px 30px rgba(11,30,61,.08);
      --shadow-heavy: 0 15px 40px rgba(11,30,61,.12);

      --transition: all .3s cubic-bezier(.25,.8,.25,1);

      --font-heading: 'Playfair Display', serif;
      --font-body: 'Poppins', sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background: var(--gray);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    /* portal wrapper – card style */
    .portal-wrapper {
      width: 100%;
      max-width: 1000px;
      min-height: 70vh;
      display: flex;
      border-radius: 28px;
      overflow: hidden;
      background: var(--white);
      box-shadow: var(--shadow-heavy);
    }

    /* ===== LEFT PANEL (35% desktop) ===== */
    .left-panel {
      background: var(--primary);
      color: var(--white);
      padding: 2.5rem 1.8rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      flex: 0 0 35%;
      position: relative;
    }
    .left-panel::after {
      content: '';
      position: absolute;
      top: -30%;
      right: -20%;
      width: 180%;
      height: 180%;
      background: radial-gradient(circle at 70% 30%, rgba(201, 162, 74, 0.08), transparent 70%);
      pointer-events: none;
    }
    .left-panel .brand-icon {
      font-size: 3.8rem;
      color: var(--secondary);
      margin-bottom: 0.6rem;
      display: block;
    }
    .left-panel .school-name {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 2rem;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 0.2rem;
    }
    .left-panel .school-name span {
      color: var(--secondary);
    }
    .left-panel .motto {
      font-size: 0.8rem;
      font-weight: 300;
      opacity: 0.7;
      letter-spacing: 0.5px;
      margin-bottom: 1.2rem;
    }
    .left-panel .description {
      font-size: 0.9rem;
      font-weight: 300;
      line-height: 1.6;
      max-width: 260px;
      opacity: 0.85;
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 1rem;
    }
    .left-panel .description i {
      color: var(--secondary);
      margin-right: 0.3rem;
    }


.brand-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.brand-logo{
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.btn-back-home {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-back-home:hover {
    background: var(--light-green);
    color: var(--white);
    transform: translateY(-2px);
}












    /* ===== RIGHT PANEL (65% desktop) – compact ===== */
    .right-panel {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.8rem 1.2rem;
      background: var(--white);
    }

    .auth-card {
      width: 100%;
      max-width: 380px;
      margin: 0 auto;
      transition: var(--transition);
    }

    .auth-card .card-top {
      text-align: center;
      margin-bottom: 1.4rem;
    }
    .auth-card .card-top .logo-small {
      font-size: 2rem;
      color: var(--light-green);
      display: block;
    }
    .auth-card .card-top h2 {
      font-family: var(--font-heading);
      font-weight: 600;
      color: var(--primary);
      margin: 0.1rem 0 0.05rem;
      font-size: 1.6rem;
    }
    .auth-card .card-top .sub {
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 300;
    }

    /* form elements – compact */
    .form-control {
      border-radius: 10px;
      border: 1px solid #e0e4eb;
      padding: 0.5rem 0.9rem;
      font-size: 0.9rem;
      transition: var(--transition);
      background: var(--white);
    }
    .form-control:focus {
      border-color: var(--primary-blue);
      box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
    }
    .form-label {
      font-weight: 500;
      font-size: 0.8rem;
      color: var(--text-main);
      margin-bottom: 0.15rem;
    }
    .btn-gold {
      background: var(--light-green);
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 0.55rem 1rem;
      border-radius: 50px;
      transition: var(--transition);
      box-shadow: 0 4px 10px rgba(201, 162, 74, 0.25);
      width: 100%;
      font-size: 0.9rem;
    }
    .btn-gold:hover {
      background: var(--primary-blue);
      color: #fff;
      transform: translateY(-2px);
    
    }
    .btn-outline-primary-custom {
      background: transparent;
      border: 1.5px solid var(--primary);
      color: var(--primary);
      font-weight: 600;
      border-radius: 50px;
      transition: var(--transition);
      width: 100%;
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
    }
    .btn-outline-primary-custom:hover {
      background: var(--primary);
      color: #fff;
    }
    .link-gold {
      color: var(--light-green);
      font-weight: 500;
      text-decoration: none;
      transition: var(--transition);
      font-size: 0.85rem;
      cursor: pointer;
    }
    .link-gold:hover {
      color: var(--secondary-hover);
      text-decoration: underline;
    }
    .divider {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: var(--text-muted);
      font-size: 0.75rem;
      margin: 0.8rem 0;
    }
    .divider hr {
      flex: 1;
      border: none;
      border-top: 1px solid #dee2e6;
    }

    /* registration notice card – compact */
    .notice-card {
      background: #f0f4fa;
      border-radius: 14px;
      padding: 0.8rem 1rem;
      border-left: 4px solid var(--secondary);
      margin-bottom: 1rem;
      font-size: 0.8rem;
    }
    .notice-card i {
      color: var(--secondary);
      font-size: 1rem;
      margin-right: 0.3rem;
    }
    .notice-card ul {
      padding-left: 1rem;
      margin-top: 0.2rem;
      margin-bottom: 0;
    }

    .readonly-field {
      background: #f1f3f5;
      cursor: default;
    }

    /* fade animations */
    .fade-transition {
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .fade-hidden {
      opacity: 0;
      transform: translateY(6px);
      pointer-events: none;
    }
    .fade-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .password-toggle {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 0.9rem;
    }

    /* compact spacing */
    .mb-2-compact {
      margin-bottom: 0.6rem !important;
    }
    .mb-3-compact {
      margin-bottom: 0.8rem !important;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 991.98px) {
      .left-panel {
        flex: 0 0 40%;
        padding: 1.8rem 1.2rem;
      }
      .left-panel .school-name {
        font-size: 1.6rem;
      }
      .left-panel .description {
        max-width: 100%;
        font-size: 0.85rem;
      }
      .auth-card {
        max-width: 340px;
      }
    }

    @media (max-width: 767.98px) {
      .portal-wrapper {
        flex-direction: column;
        min-height: 80vh;
        border-radius: 20px;
      }
      .left-panel {
        flex: 0 0 auto;
        padding: 1.8rem 1.2rem 1.2rem;
      }
      .left-panel .brand-icon {
        font-size: 2.8rem;
      }
      .left-panel .school-name {
        font-size: 1.5rem;
      }
      .left-panel .description {
        max-width: 280px;
        font-size: 0.85rem;
      }
      .right-panel {
        padding: 1.5rem 1rem;
      }
      .auth-card {
        max-width: 360px;
      }
    }

    @media (max-width: 480px) {
      .left-panel .school-name {
        font-size: 1.3rem;
      }
      .auth-card .card-top h2 {
        font-size: 1.4rem;
      }
      .auth-card {
        max-width: 100%;
      }
    }
