/* General Setup */
body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-color: #f0f2f5; 
    padding: 15px; 
    margin: 0; 
}

.form-container { 
    max-width: 650px; 
    width: 100%; 
    margin: 10px auto; 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
    box-sizing: border-box; 
}

.hidden { 
    display: none; 
}

/* Logo Header Styling */
.logo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.main-logo {
    width: 70px; 
    height: 70px;
    object-fit: contain;
}

.header-text {
    text-align: left;
}

.header-text h2 { 
    color: #006400; 
    margin: 0; 
    font-size: 18px; 
}

.header-text p { 
    color: #666; 
    margin: 2px 0 0 0; 
    font-weight: 600; 
    font-size: 13px; 
}

/* Form Elements */
label { 
    display: block; 
    margin-top: 15px; 
    font-weight: 600; 
    font-size: 14px; 
}

.required { 
    color: red; 
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
select { 
    width: 100%; 
    padding: 12px; 
    margin-top: 5px; 
    border: 1px solid #ccd0d5; 
    border-radius: 6px; 
    box-sizing: border-box; 
    font-size: 16px; 
    transition: 0.3s;
}

.form-row { 
    display: flex; 
    gap: 10px; 
}

.form-col { 
    flex: 1; 
}

.divider { 
    margin: 25px 0; 
    border: 0; 
    border-top: 1px solid #eee; 
}

/* --- VALIDATION STYLES --- */
.error-border { 
    border: 2px solid #e53e3e !important; 
    background-color: #fff5f5; 
}

.error-msg {
    background-color: #fff5f5;
    color: #e53e3e;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #feb2b2;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}

/* Section Colors */
.section-title { 
    padding: 10px; 
    border-radius: 4px; 
    font-size: 13px; 
    margin-top: 20px; 
    font-weight: bold; 
}

.profile-title      { background: #e3f2fd; color: #0d47a1; }
.renewal-title      { background: #e8f5e9; color: #1b5e20; }
.new-title          { background: #ffebee; color: #b71c1c; }
.supplemental-title { background: #fffde7; color: #856404; }

/* Button & Success Card */
.btn-submit { 
    width: 100%; 
    background: #006400; 
    color: white; 
    padding: 16px; 
    border: none; 
    border-radius: 8px; 
    font-size: 18px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-top: 25px; 
}

.success-card { 
    text-align: center; 
}

.check-circle { 
    width: 65px; 
    height: 65px; 
    background: #e6fffa; 
    color: #38a169; 
    border-radius: 50%; 
    font-size: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 15px; 
    border: 2px solid #38a169; 
}

.ref-label { 
    color: #0066ff; 
    font-size: 24px; 
    font-weight: 900; 
    margin: 10px 0; 
}

.notification-box { 
    background: #e1f5fe; 
    border: 1px solid #b3e5fc; 
    padding: 15px; 
    border-radius: 12px; 
    color: #0277bd; 
    margin: 15px 0; 
    font-size: 14px; 
    line-height: 1.4;
}

.btn-portal { 
    background: white; 
    border: 1px solid #e2e8f0; 
    padding: 12px 25px; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
    margin-top: 10px;
}

.it-solutions-footer { 
    display: flex;             
    align-items: center;      
    justify-content: center;
    flex-direction: column;
    gap: 6px;                  
    margin-top: 30px; 
    font-size: 11px; 
    color: #999; 
    border-top: 1px solid #f0f0f0; 
    padding-top: 15px; 
}

.footer-logo {
    width: 80px;               
    height: auto;
    display: block;
}




@media (max-width: 480px) {
    .form-row { 
        flex-direction: column; 
        gap: 0; 
    }
    
    .logo-header { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .header-text { 
        text-align: center; 
    }
    
    .form-container {
        padding: 20px;
    }

    .footer-logo {
        width: 50px;
    }
}