/* Cookie Consent Banner Styles */
body {
    position: relative;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    transform: none;
    width: 90%;
    max-width: 480px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    border: 1px solid #e0e0e0;
}

.cookie-consent-content {
    padding: 20px;
    display: grid;
    grid-template-areas:
        "text text"
        "settings buttons";
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: center;
}

.cookie-consent-text {
    grid-area: text;
    margin: 0;
    color: #333;
    font-size: 16px;
}
.cookie-consent-text p {
    margin: 0 0 5px 0;
}


.cookie-consent-settings-link {
    grid-area: settings;
    justify-self: start;
}

.cookie-consent-buttons {
    grid-area: buttons;
    display: flex;
    gap: 10px;
    justify-self: end;
}

.cookie-btn, .cookie-btn-link {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cookie-btn-accept {
    background-color: #337ab7;
    color: white;
}
.cookie-btn-accept:hover {
    background-color: #286090;
}

.cookie-btn-reject {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}
.cookie-btn-reject:hover {
    background-color: #e0e0e0;
}

.cookie-btn-link {
    background: none;
    color: #337ab7;
    text-decoration: underline;
    padding: 0;
}

/* Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', sans-serif;
}

.cookie-settings-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.cookie-settings-content h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}
.cookie-settings-content > p {
    margin-bottom: 25px;
    color: #555;
}

.cookie-setting-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cookie-setting-option input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    height: 20px;
}

.cookie-setting-option label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.cookie-setting-option label strong {
    font-size: 16px;
    color: #333;
}
.cookie-setting-option label small {
    font-size: 14px;
    color: #666;
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

/* Reopen Widget */
.cookie-reopen-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-reopen-widget img {
    width: 24px;
    height: 24px;
}


@media (max-width: 768px) {
    .cookie-consent-banner {
        max-width: 220px;
        left: 15px;
        bottom: 15px;
        right: auto;
    }

    .cookie-consent-content {
        padding: 15px;
        grid-template-areas:
            "text"
            "settings"
            "buttons";
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 12px;
    }

    .cookie-consent-settings-link {
        justify-self: center;
        margin-bottom: 5px;
    }

    .cookie-consent-buttons {
        justify-self: stretch;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .cookie-btn-link {
        flex: initial;
    }
    
    .cookie-settings-content {
        padding: 20px;
    }
} 