/* ======================================
   COLOR SYSTEM (MATCHES #0062cc THEME)
====================================== */
:root{
    --primary: #0062cc;          /* Main Header Blue */
    --primary-dark: #004085;     /* Text / Icon Active */
    --primary-mid: #2f80d1;      /* Card/Section Header */
    --primary-soft: #f5f9ff;     /* Soft fill */
    --border-soft: #d9e7ff;      /* Soft border */
    --text-dark: #2f3e4d;
    --text-muted: #5b6b7c;
}

/* ======================================
   PAGE BACKGROUND
====================================== */
.portal-body {
    background: linear-gradient(to right, #eef2f7, #eef2f7);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* ======================================
   MAIN OUTER WRAPPER
====================================== */
.main-wrapper {
    width: 100%;
    padding: 40px 0;
}

/* ======================================
   CENTER CONTAINER
====================================== */
.portal-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ======================================
   LEFT SIDE
====================================== */
.portal-left {
    padding-right: 40px;
}

.left-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.left-para {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Notice Card */
.notice-card {
    border-radius: 12px;
    overflow: hidden;
  //  border: 1px solid var(--border-soft);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-bottom: 18px;
}

.notice-head {
    background: var(--primary-mid);
    color: #fff;
    padding: 14px;
    font-weight: 700;
    font-size: 15px;
}

.notice-body {
    padding: 18px;
    background: var(--primary-soft);
    font-size: 14.5px;
    color: #4e5d6c;
}

.example-text {
    color: #d58500;
    font-weight: 700;
}

/* Bottom note */
.bottom-note {
    font-size: 13px;
    color: #6c7a88;
}

/* ======================================
   RIGHT SIDE LOGIN
====================================== */
.portal-right {
    padding-left: 20px;
}

/* Login Card */
.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.login-logo {
    width: 120px;
    margin-bottom: 18px;
}

.login-title {
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

/* Inputs */
.form-control {
    height: 45px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.12);
}

.form-control:focus {
    border-color: rgba(0,98,204,.45);
    box-shadow: 0 0 0 .2rem rgba(0,98,204,.15);
}

.input-group-text {
    background: #f5f7fa;
    border: 1px solid rgba(0,0,0,.12);
}

/* Button */
.btn-login {
    height: 45px;
    border-radius: 10px;
    font-weight: 700;
    border: none;
    background: linear-gradient(to right, var(--primary), var(--primary));
    color: #fff;
    box-shadow: 0 10px 22px rgba(0,98,204,0.22);
}

.btn-login:hover {
    filter: brightness(0.98);
}

.btn-login:active {
    transform: translateY(1px);
}

/* Forgot link */
.forgot-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .portal-container {
        padding: 30px;
    }

    .portal-left {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .portal-right {
        padding-left: 0;
    }
}

/* =========================
   TOP HEADER (LOGO + TEXT)
========================= */
.top-header {
    background: linear-gradient(90deg, var(--primary), var(--primary));
    padding: 20px 30px;
    border-radius: 18px 18px 0 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

/* Logo */
.header-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.30);
}

.login-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}

.header-text {
    text-align: left;
}

.header-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffd700;              /* keep gold for branding */
    letter-spacing: 1px;
}

.header-subtitle {
    font-size: 14px;
    color: #ffffff;
    margin-top: 4px;
}

.header-location {
    font-size: 15px;
    color: #e6f2ff;              /* changed from neon green to soft light-blue */
    font-weight: 700;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .header-text {
        text-align: center;
    }

    .header-logo {
        width: 80px;
        height: 80px;
    }

    .header-title {
        font-size: 18px;
    }
}

.spinner-portal {
    width: 3rem;
    height: 3rem;
    border-width: .35em;
    color: #0062cc;
}


