/* css/legal_styles.css */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    line-height: 1.6;
    background-color: #f7f7f7;
    position: relative;
    min-height: 100vh;
    display: block;
    margin: 0; /* Remove default margin */
}

.legal-outer-bg {
    width: 100%;
    background: #e0e0e0;
    display: block;
    /* Remove min-height so it doesn't go behind the footer */
    box-sizing: border-box;
    z-index: 6;
    margin-top: 0; /* Remove top margin */
    padding-top: 0; /* Remove top padding */
    padding: 60px 0px;
}

.legal-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 32px 40px;
    border-radius: 4px;
    position: relative;
    margin-top: 0; /* Remove top margin */
    margin-bottom: 48px; /* Ensure space above footer */
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.legal-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.legal-content h2 {
    font-size: 1.6em;
    font-weight: bold;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p, .legal-content li {
    font-size: 1em;
    color: #333;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 15px;
}

.legal-content a {
    color: #000;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #555;
}

/* Ensure footer stays at the bottom and legal container sits above */
footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}
