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

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

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner-text a {
    color: var(--sakura-blush);
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-btn-accept {
    background-color: var(--matcha-green);
    color: var(--warm-white);
}

.cookie-btn-accept:hover {
    background-color: var(--light-matcha);
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--warm-white);
    border: 1px solid var(--warm-white);
}

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

.cookie-btn-customize {
    background-color: transparent;
    color: var(--sakura-blush);
    border: 1px solid var(--sakura-blush);
}

.cookie-btn-customize:hover {
    background-color: rgba(232, 180, 203, 0.1);
}

/* Cookie Preferences Panel */
.cookie-preferences {
    background-color: var(--warm-white);
    color: var(--charcoal-ink);
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    margin-top: 1rem;
}

.cookie-preferences h3 {
    margin: 0 0 1rem 0;
    color: var(--matcha-green);
}

.cookie-category {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 1rem;
}

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

.toggle-slider {
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    position: relative;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background-color: var(--matcha-green);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background-color: var(--matcha-green);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--matcha-green);
}

.cookie-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-actions {
        flex-direction: column;
        justify-content: stretch;
    }
    
    .cookie-actions .cookie-btn {
        width: 100%;
    }
}