/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    box-shadow: 0 -4px 20px rgba(26, 43, 76, 0.2);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-text p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 200px;
}

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

.cookie-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.cookie-btn.accept {
    background: var(--coral);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: #ff6b6b;
}

.cookie-btn.reject {
    background: var(--text-light);
    color: var(--white);
}

.cookie-btn.reject:hover {
    background: #5a6b6f;
}

.cookie-btn.customize {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookie-btn.customize:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.cookie-link {
    color: var(--mint);
    text-decoration: none;
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: var(--coral);
    text-decoration: underline;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    color: var(--navy);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background: var(--off-white);
    color: var(--navy);
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category h4 {
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cookie-category p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

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

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

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

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

input:checked + .cookie-slider {
    background-color: var(--coral);
}

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

input:disabled + .cookie-slider {
    background-color: var(--mint);
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-buttons-row {
        width: 100%;
    }
    
    .cookie-modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}