body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f9;
}

header {
    background: #1e1e2f;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

header nav {
    display: flex; /* Make navigation links horizontal */
    gap: 1.5rem;   /* Add spacing between links */
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #00bcd4;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem;
}

main h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #1e1e2f;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 0.5rem;
}

article {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

article h3 {
    margin-top: 0;
    color: #1e1e2f;
    font-size: 1.2rem;
}

article p {
    margin: 0.5rem 0;
}

article a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
}

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

footer {
    background: #1e1e2f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

form {
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: 500;
    color: #1e1e2f;
}

form input, form textarea, form button {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    background: #00bcd4;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #0097a7;
}

/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e1e2f;
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    display: block;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none !important;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #00bcd4;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.accept-btn {
    background: #00bcd4;
    color: #fff;
}

.accept-btn:hover {
    background: #0097a7;
}

.reject-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #666;
}

.reject-btn:hover {
    background: #333;
    border-color: #888;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Preferences Page Styles */
.preferences-section {
    margin-bottom: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.settings-display {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #00bcd4;
}

.settings-status {
    margin: 0;
}

.settings-status h3 {
    margin: 0 0 1rem 0;
    color: #1e1e2f;
}

.settings-status ul {
    margin: 0;
    padding-left: 1.5rem;
}

.settings-status li {
    margin: 0.5rem 0;
    color: #666;
}

.status-on {
    color: #4caf50;
    font-weight: 500;
}

.status-off {
    color: #f44336;
    font-weight: 500;
}

.cookie-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h3 {
    margin: 0;
    color: #1e1e2f;
    font-size: 1.2rem;
}

.category-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-status.always-on {
    background: #e8f5e8;
    color: #2e7d32;
}

.cookie-category p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.5;
}

.cookie-category ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
}

.cookie-category li {
    margin: 0.3rem 0;
}

/* Toggle Switch Styles */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #00bcd4;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    min-width: 60px;
}

/* Preferences Actions */
.preferences-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.btn-primary {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #0097a7;
}

.btn-secondary {
    background: transparent;
    color: #1e1e2f;
    border: 1px solid #ddd;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #00bcd4;
}

.preferences-info {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid #2196f3;
}

.preferences-info h3 {
    margin: 0 0 1rem 0;
    color: #1e1e2f;
}

.preferences-info p {
    margin: 0 0 1rem 0;
    color: #666;
    line-height: 1.5;
}

.preferences-info p:last-child {
    margin-bottom: 0;
}

.preferences-info a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
}

.preferences-info a:hover {
    text-decoration: underline;
}

/* Responsive design for preferences */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .preferences-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

/* Post Date Styling */
.post-date {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0;
    border-left: 3px solid #00bcd4;
    padding-left: 0.8rem;
}


