:root {
    --primary-blue: #003366;
    --header-gradient-start: #4a90e2;
    --header-gradient-end: #5ea4d6;
    --text-dark: #333;
    --border-color: #ccc;
    --success-green: #66bb6a;
}

/* Basic Reset & Typography */
.main-container {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}


/* --- Top Bar --- */
.top-bar-row {
    background: linear-gradient(to right, var(--header-gradient-start), var(--header-gradient-end)) !important;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: white;
}
.top-bar-row p { margin: 0; display: inline-block; margin-right: 15px;}

.btn-login-header {
    background-color: rgba(255,255,255,0.25) !important;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.btn-login-header:hover { background-color: rgba(255,255,255,0.4) !important; }

/* --- Main Header (Logo) --- */
.header-main-row {
    background-color: var(--primary-blue);
    align-items: center;
    padding: 20px 0;
}
.header-main-row h2 {
    margin: 0; font-size: 28px; line-height: 1; font-weight: 800;
}
.header-main-row small {
    display: block; font-size: 11px; margin-top: 4px; letter-spacing: 0.5px; opacity: 0.9;
}
.header-title-text h2 {
    color: white; margin: 0; font-size: 24px; font-weight: 700; text-transform: uppercase;
}

/* --- Yellow Banner --- */
.banner-yellow {
    background-color: #fddf8b !important; /* Override inline */
    border-bottom: 1px solid #e0c070;
    align-items: center;
}
.icon-circle-check {
    background-color: white;
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.banner-yellow h3 { font-size: 18px; margin: 0 0 5px 0; font-weight: 700; }
.banner-yellow p { font-size: 14px; margin: 0; color: #444; }

/* --- Gray Info Banner --- */
.banner-gray {
    background-color: #f8f9fa !important; /* Lighter gray */
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
.icon-building {
    font-size: 26px;
    color: #777;
    margin-top: 5px;
    display: block;
    text-align: center;
}
.banner-gray h3 { font-size: 16px; margin: 0 0 10px 0; font-weight: 700; }
.banner-gray ul { margin: 0; padding-left: 20px; font-size: 14px; color: #555; }
.banner-gray li { margin-bottom: 5px; }
.banner-gray a { color: #4a90e2; text-decoration: none; }
.banner-gray a:hover { text-decoration: underline; }

/* --- Registration Header --- */
.reg-header-row { align-items: center; margin-bottom: 10px; }
.icon-pencil {
    font-size: 24px;
    color: #ff9f43; /* Orange */
    transform: rotate(0deg); 
}
.reg-header-row h2 { font-size: 22px; font-weight: 700; margin: 0; text-align: left; }
.btn-have-account {
    background-color: var(--primary-blue) !important;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    float: right;
}

/* --- Form Layout --- */
.form-wrapper-row {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping to keep side-by-side */
    gap: 40px;
}

/* Form itself takes remaining space */
form { flex: 2; width: 100%; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 14px; font-weight: 700; color: #555; margin-bottom: 5px; }
.form-group .input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.btn-verify {
    background-color: #66bb6a;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}
.btn-cancel {
    background: none; border: none; font-weight: bold; color: #444; cursor: pointer; font-size: 15px;
}

/* --- Password Requirements (Sidebar) --- */
.password-reqs {
    flex: 1; /* Takes 1 part of space */
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    height: fit-content;
    margin-top: 0; 
}
.password-reqs h4 { color: var(--primary-blue); font-size: 15px; margin: 0 0 10px 0; }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li {
    font-size: 13px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: #444;
}
.req-list li i { color: #66bb6a; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .form-wrapper-row { flex-wrap: wrap; }
    .password-reqs { width: 100%; margin-top: 20px; }
    .form-grid { grid-template-columns: 1fr; }
    .reg-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .btn-have-account { float: none; display: inline-block; }
    .header-main-row { flex-direction: column; gap: 15px; text-align: center; }
}
