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

.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: 20px;
}

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

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

.cookie-policy-link {
    color: var(--accent-sakura);
    text-decoration: underline;
    font-size: 14px;
    margin-left: 8px;
}

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

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

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

.cookie-btn-accept {
    background: var(--primary-indigo);
    color: var(--white);
    order: 3;
}

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

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

.cookie-btn-reject:hover {
    background: var(--slate-gray);
}

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

.cookie-btn-customize:hover {
    background: var(--accent-sakura);
    color: var(--slate-dark);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.cookie-settings-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-header {
    margin-bottom: 24px;
}

.cookie-settings-header h3 {
    color: var(--slate-dark);
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 600;
}

.cookie-settings-header p {
    color: var(--slate-gray);
    margin: 0;
    line-height: 1.5;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

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

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

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

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

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

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

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

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #e2e8f0;
    cursor: not-allowed;
}

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

.cookie-settings-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .cookie-settings-content {
        padding: 24px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 8px;
    }
}