.cookie-consent {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #111827;
    border: 1px solid #374151;
    border-radius: 16px;
    padding: 3rem;
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-consent.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.cookie-consent-text {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
}

.cookie-consent-text h4 {
    color: #f9fafb;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.cookie-consent-text a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

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

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cookie-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-btn-accept {
    background-color: #4f46e5;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background-color: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}

.cookie-btn-decline:hover {
    background-color: #374151;
    color: #f9fafb;
    transform: translateY(-2px);
}

.cookie-btn-customize {
    background-color: transparent;
    color: #4f46e5;
    border: 1px solid #4f46e5;
}

.cookie-btn-customize:hover {
    background-color: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-preferences-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 2rem;
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
}

.cookie-preferences-modal.show {
    display: block;
}

.cookie-preferences-header {
    margin-bottom: 1.5rem;
}

.cookie-preferences-header h3 {
    color: #f9fafb;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-preferences-header p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #111827;
    border-radius: 8px;
    border: 1px solid #374151;
}

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

.cookie-category-title {
    color: #f9fafb;
    font-weight: 600;
    font-size: 0.875rem;
}

.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: #374151;
    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: #4f46e5;
}

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

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

.cookie-category-description {
    color: #9ca3af;
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-preferences-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

@media (max-width: 768px) {
    .cookie-consent {
        width: 95%;
        padding: 2rem;
        max-height: 90vh;
    }
    
    .cookie-consent-text h4 {
        font-size: 1.5rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-preferences-modal {
        width: 95%;
        padding: 1.5rem;
    }
    
    .cookie-preferences-actions {
        flex-direction: column;
    }
}