/* ==========================================================================
   1. GLOBAL STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    color: #2e7d32;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: #1a1a1a;
    width: 100%;
    border-bottom: 4px solid #2e7d32;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 0 0;
}

.header-container table {
    width: 100%;
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px 60px 15px;
    min-height: 60vh;
}

.compliance-hub-update {
    background: #ffffff;
    padding: 10px 0;
}

/* Steps Box Adjustment */
.onboarding-steps table {
    border-collapse: collapse;
}

.onboarding-steps td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9ecef;
}

.onboarding-steps tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 20px 20px 20px;
    margin-top: 40px;
    font-size: 14px;
    border-top: 4px solid #2e7d32;
}

.footer table {
    max-width: 900px;
    margin: 0 auto;
}

.footer-col {
    vertical-align: top;
    padding: 10px 20px !important;
}

.footer-header {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: #cccccc;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-copy {
    text-align: center;
    color: #888888;
    font-size: 13px;
    padding-top: 30px !important;
}

.site-credit {
    margin-top: 5px;
    font-size: 11px;
    color: #666666;
}

.site-credit a {
    color: #888888;
}

/* ==========================================================================
   5. MOBILE RESPONSIVENESS (Screens under 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Header layout stack */
    .header-container table, 
    .header-container tr, 
    .header-container td {
        display: block;
        width: 100% !important;
        text-align: center !important;
        align-items: center;
    }
    
    .header-container td {
        padding: 10px 0;
    }
    
    /* Scale down the main title sizes for mobile screens */
    .header-container h1 {
        font-size: 24px !important;
    }
    
    .header-container h1 style {
        font-size: 18px !important;
    }

    /* Convert footer columns to full width stacked blocks */
    .footer table, 
    .footer tr, 
    .footer td {
        display: block;
        width: 100% !important;
        text-align: center !important;
    }
    
    .footer-col {
        margin-bottom: 25px;
        padding: 0 !important;
    }

    /* Adjust legal links layout at bottom */
    .compliance-hub-update table,
    .compliance-hub-update tr,
    .compliance-hub-update td {
        display: block;
        width: 100% !important;
        text-align: center !important;
        padding: 10px 0;
    }
}