/* Cookie Consent Banner Styles */
.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease-in;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.cookie-banner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #344767;
}

.cookie-banner p {
    font-size: 0.875rem;
    color: #67748e;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner button {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner .btn-accept {
    background: linear-gradient(310deg, #7928CA 0%, #FF0080 100%);
    color: white;
}

.cookie-banner .btn-reject {
    background: #67748e;
    color: white;
}

.cookie-banner .btn-customize {
    background: white;
    color: #7928CA;
    border: 1px solid #7928CA;
}

.cookie-banner .btn-customize:hover {
    background: #f8f9fa;
}

.cookie-settings {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.cookie-settings h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #344767;
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #344767;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-category-info p {
    font-size: 0.8125rem;
    color: #67748e;
    margin: 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
}

.cookie-toggle input[type="checkbox"] {
    width: 42px;
    height: 24px;
    position: relative;
    appearance: none;
    background: #ccc;
    border-radius: 24px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

.cookie-toggle input[type="checkbox"]:checked {
    background: linear-gradient(310deg, #7928CA 0%, #FF0080 100%);
}

.cookie-toggle input[type="checkbox"]:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: left 0.3s;
}

.cookie-toggle input[type="checkbox"]:checked:after {
    left: 21px;
}

.cookie-toggle input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-label {
    font-size: 0.75rem;
    color: #67748e;
    margin-left: 0.5rem;
}

.cookie-banner .material-icons-round {
    font-size: 1.125rem;
    vertical-align: middle;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-banner-content {
        padding: 1rem;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-banner button {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-category {
        flex-direction: column;
        gap: 0.75rem;
    }
}
