/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
    display: none;
    border-top: 3px solid var(--gold);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cookie-consent-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.cookie-consent-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 0;
}

.cookie-consent-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-color);
}

.cookie-consent-description a {
    color: var(--gold);
    text-decoration: none;
}

.cookie-consent-description a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-consent-button {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cookie-consent-button-accept-all {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.cookie-consent-button-accept-all:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.cookie-consent-button-reject-all {
    background-color: var(--white);
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.cookie-consent-button-reject-all:hover {
    background-color: var(--light-gray);
}

.cookie-consent-button-customize {
    background-color: var(--white);
    color: var(--gold);
    border-color: var(--gold);
}

.cookie-consent-button-customize:hover {
    background-color: var(--light-gray);
}

.cookie-consent-button-save {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.cookie-consent-button-save:hover {
    background-color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.cookie-consent-preferences {
    display: none;
    margin-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1.5rem;
}

.cookie-consent-preferences.active {
    display: block;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.cookie-category-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-category-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-category-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-category-toggle-slider {
    background-color: var(--gold);
}

input:disabled + .cookie-category-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .cookie-category-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-category-description {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.cookie-details-toggle {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.9rem;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cookie-details-toggle i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cookie-details-toggle.active i {
    transform: rotate(180deg);
}

.cookie-details {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
}

.cookie-details.active {
    display: block;
}

.cookie-details-table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-details-table th,
.cookie-details-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cookie-details-table th {
    font-weight: 600;
    color: var(--dark-gray);
}

.cookie-consent-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.cookie-consent-footer a {
    color: var(--gold);
    text-decoration: none;
}

.cookie-consent-footer a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-button {
        width: 100%;
        text-align: center;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
}
