/* ========== COOKIE CONSENT STYLES ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-color-light);
}

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

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    display: none;
}

.cookie-modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-color-light);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-option p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.cookie-switch {
    position: relative;
    min-width: 60px;
    height: 30px;
    margin-top: 5px;
}

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

.cookie-switch label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--medium-gray);
    cursor: pointer;
    border-radius: 34px;
    transition: var(--transition);
}

.cookie-switch label::before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-switch input:checked + label {
    background-color: var(--primary-color);
}

.cookie-switch input:checked + label::before {
    transform: translateX(30px);
}

.cookie-switch input:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    text-align: right;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-content > div:first-child {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .cookie-option {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-switch {
        align-self: flex-start;
    }
}
