/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal);
    color: var(--white);
    padding: 24px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.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 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--medium-gray);
    flex: 1;
}

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

.cookie-buttons > div:first-child {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

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

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

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

.cookie-btn.reject {
    background-color: transparent;
    color: var(--medium-gray);
    border: 1px solid var(--medium-gray);
}

.cookie-btn.reject:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

.cookie-btn.customize {
    background-color: var(--indigo);
    color: var(--white);
}

.cookie-btn.customize:hover {
    background-color: #3557CC;
}

.cookie-btn.save {
    background-color: var(--vermilion);
    color: var(--white);
}

.cookie-btn.save:hover {
    background-color: #B8001A;
}

.cookie-btn.cancel {
    background-color: transparent;
    color: var(--medium-gray);
    border: 1px solid var(--medium-gray);
}

.cookie-btn.cancel:hover {
    background-color: var(--medium-gray);
    color: var(--charcoal);
}

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

.cookie-link:hover {
    color: var(--white);
}

/* Cookie Customization Panel */
.cookie-customization {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    background-color: #3D4C54;
    border-radius: 8px;
    border-top: 1px solid #4A5A62;
}

.cookie-options {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
}

.cookie-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

.cookie-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.cookie-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--vermilion);
    border-color: var(--vermilion);
}

.cookie-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

.cookie-label input[type="checkbox"]:disabled + .checkmark {
    background-color: var(--medium-gray);
    border-color: var(--medium-gray);
    opacity: 0.6;
}

.cookie-info strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.cookie-info p {
    font-size: 12px;
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-buttons {
        min-width: auto;
    }
    
    .cookie-buttons > div:first-child {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-customization {
        margin: 16px auto 0;
        padding: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 20px 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .cookie-customization {
        padding: 12px;
    }
}