body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

.main-content {
    flex-grow: 1;
    display: flex;
    align-items: center; /* Vertically center the login form */
    justify-content: center;
    padding-top: 100px; /* Adjust this value based on your actual header height + some extra space */
                       /* Example: 70px (header) + 30px (breathing room) = 100px */
    padding-bottom: 40px; /* Existing bottom padding */
    padding-left: 15px; /* Add some horizontal padding for smaller screens */
    padding-right: 15px;
    box-sizing: border-box; /* Ensure padding is included in width/height calculations */
    min-height: 100vh;
}

.terms-container {
    max-width: 800px; /* Good width for readability of long text */
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 10px auto;
}
.terms-container h1 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-top: 0px;
    margin-bottom: 10px;
}
.terms-container h2 {
    margin-top: 20px;
    color: #333;
}

.last-updated {
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 30px;
}

.terms-heading {
    font-size: 1.6em;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.terms-container p, .terms-container li {
    line-height: 1.8; /* More spacing for legal text */
    color: #333;
}

.terms-list {
    padding-left: 20px; /* Standard indentation for ordered lists */
}

.terms-list li {
    margin-bottom: 10px;
}

/* --- NEW: Styles for Nested Lists in T&C --- */
.terms-list .sub-list {
    list-style-type: disc; /* Standard bullet points for the first level nest */
    padding-left: 25px;
    margin-top: 10px;
}

.terms-list .sub-list-alpha {
    list-style-type: lower-alpha; /* a, b, c... for the second level nest */
    padding-left: 25px;
    margin-top: 10px;
}

.terms-list .sub-list li,
.terms-list .sub-list-alpha li {
    margin-bottom: 8px;
}

/* --- NEW: Disclaimer Box Styling --- */
.disclaimer-box {
    background-color: #fff3cd; /* Light yellow, standard for warnings */
    border: 1px solid #ffeeba;
    border-left: 5px solid #ffc107; /* A strong yellow accent */
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
}

.disclaimer-box p {
    margin-top: 0;
    color: #856404; /* Dark yellow/brown text for readability */
}

.disclaimer-box strong {
    color: #664d03; /* Even darker for emphasis */
}

.disclaimer-box ul {
    padding-left: 20px;
    margin-bottom: 0;
    color: #856404;
}

.disclaimer-box ul li {
    margin-bottom: 8px;
}



.legal-page-body {
    background-color: #f0f4f8;
}


.legal-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

.legal-container h1 {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.last-updated {
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 40px;
}

.legal-container section {
    margin-bottom: 25px;
}

.legal-container h2 {
    font-size: 1.6em;
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.legal-container p, .legal-container li {
    line-height: 1.8; /* Generous line spacing for readability */
    color: #343a40; /* Slightly softer than pure black */
    font-size: 1em;
}

.legal-container ul, .legal-container ol {
    padding-left: 25px;
}

.legal-container ul li, .legal-container ol li {
    margin-bottom: 10px;
}

.legal-container a {
    color: var(--primary-color, #007bff);
    text-decoration: none;
    font-weight: 500;
}
.legal-container a:hover {
    text-decoration: underline;
}

.contact-section .contact-details {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color, #007bff);
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
    margin-top: 15px;
}

.contact-section .contact-details p {
    margin: 5px 0;
}

/* --- NEW: Warning Note Box (Red) --- */
.warning-note-box {
    background-color: #f8d7da; /* Light red */
    border: 1px solid #f5c6cb;
    border-left: 5px solid #dc3545; /* A strong red accent */
    border-radius: 6px;
    padding: 15px 20px;
    margin: 30px 0; /* Give it prominent spacing */
}

.warning-note-box p {
    margin: 0;
    color: #721c24; /* Dark red text for readability */
}

.warning-note-box strong {
    color: #58151c; /* Even darker red for emphasis */
}