/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

/* Overlay */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 15%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
}

.cookie-banner-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #000;
}

.cookie-banner-content p {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cookie-banner-content a {
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-btn,
.cookie-btn-outline {
    padding: 12px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.2s;
}

.cookie-btn {
    background: #000;
    color: white;
    border: none;
}

.cookie-btn:hover {
    background: #333;
}

.cookie-btn-outline {
    background: #f8f8f8;
    border: 2px solid #ccc;
    color: #000;
}

.cookie-btn-outline:hover {
    background: #000;
    color: #fff;
}

/* Cookie Sidebar */
#cookie-sidebar {
    position: fixed;
    top: 0;
    left: -452px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 10000;
    overflow-y: auto;
}

.sidebar-popup-heading {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
    font-weight: 500;
    letter-spacing: -0.015rem;
    margin-top: 10px;
}

.two-p p {
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.375rem;
    letter-spacing: -0.00438rem;
    color: #4b5563;
}
.two-p p a{
    color: #2463FF;
}

#close-sidebar {
    background: none;
    color: #2463FF;
    border: none;
    font-size: 24px;
    cursor: pointer;
    float: right;
    padding: 5px;
    margin: -5px -5px 0 0;
}

/* Cookie Categories */
.cookie-category {
    margin-top: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.category-header span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-icon {
    font-weight: bold;
    width: 15px;
    display: inline-block;
    text-align: center;
}

.category-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    font-size: 0.875rem;
    color: #555;
    margin-top: 5px;
    padding: 0 5px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(14px);
}

/* Sidebar Buttons */
.sidebar-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 10px;
}

.sidebar-buttons button {
    width: 48%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #cookie-banner {
        width: 95%;
        padding: 16px;
        bottom: 10px;
    }
    
    #cookie-sidebar {
        max-width: 100%;
        right: -100%;
    }
    
    .sidebar-buttons {
        flex-direction: column;
    }
    
    .sidebar-buttons button {
        width: 100%;
    }
}