body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, footer {
    background-color: #003056;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

h1, h2, h3 {
    color: #003056;
}

/* Specific styles for legal pages to ensure readability */
.legal-content {
    text-align: left;
}

.legal-content h1 {
    margin-top: 0;
}

footer {
    margin-top: auto;
    font-size: 0.9rem;
}

footer a {
    color: #cbd5e0;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: white;
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.cookie-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    flex: 1;
    min-width: 300px;
}

.cookie-content a {
    color: #003056;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

button {
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #003056;
    color: white;
}

.btn-primary:hover {
    background-color: #004a80;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }
    main {
        padding: 10px;
    }
    .box {
        padding: 1rem;
    }
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
