/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1A1A2E 0%, #2D3436 100%);
    border-top: 2px solid #00CEC9;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    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: 24px;
}

.cookie-banner-text {
    flex: 1;
    color: #DDD6FE;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text p {
    margin: 0;
}

.cookie-banner-text a {
    color: #00CEC9;
    text-decoration: none;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #74B9FF;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, #00CEC9 0%, #74B9FF 100%);
    color: #1A1A2E;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 206, 201, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: #B2BEC3;
    border: 1px solid #636E72;
}

.cookie-btn-secondary:hover {
    background: rgba(178, 190, 195, 0.1);
    border-color: #B2BEC3;
}

.cookie-btn-tertiary {
    background: transparent;
    color: #00CEC9;
    border: 1px solid #00CEC9;
}

.cookie-btn-tertiary:hover {
    background: rgba(0, 206, 201, 0.1);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.cookie-settings-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1A1A2E 0%, #2D3436 100%);
    border: 1px solid #636E72;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-settings-title {
    color: #DDD6FE;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    color: #B2BEC3;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-close:hover {
    color: #00CEC9;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(45, 52, 54, 0.3);
    border: 1px solid #636E72;
    border-radius: 8px;
}

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

.cookie-category-title {
    color: #DDD6FE;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    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: #636E72;
    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: #00CEC9;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #B2BEC3;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-settings-content {
        padding: 24px;
        width: 95%;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        padding: 12px 16px;
    }
}