/* Cookie Consent Banner Styling */
:root {
    --cc-bg: rgba(17, 24, 39, 0.95);
    --cc-border: rgba(255, 255, 255, 0.1);
    --cc-text: #f3f4f6;
    --cc-accent: #fbbf24;
    --cc-accent-hover: #f59e0b;
    --cc-secondary: #4b5563;
    --cc-secondary-hover: #374151;
}

#adque-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: var(--cc-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--cc-border);
    border-radius: 16px;
    padding: 24px;
    z-index: 10000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--cc-text);
    font-family: 'Inter', sans-serif;
}

#adque-cookie-banner.show {
    transform: translateY(0);
}

#adque-cookie-banner h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

#adque-cookie-banner p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #9ca3af;
}

#adque-cookie-banner .cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#adque-cookie-banner button {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    flex: 1;
    min-width: 120px;
}

#adque-cookie-banner .btn-accept {
    background: var(--cc-accent);
    color: #111827;
}

#adque-cookie-banner .btn-accept:hover {
    background: var(--cc-accent-hover);
    transform: translateY(-1px);
}

#adque-cookie-banner .btn-reject {
    background: transparent;
    color: #fff;
    border: 1px solid var(--cc-border);
}

#adque-cookie-banner .btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
}

#adque-cookie-banner .btn-settings {
    background: transparent;
    color: #9ca3af;
    border: none;
    font-weight: 500;
    flex: none;
    padding: 10px 0;
    text-decoration: underline;
    font-size: 0.75rem;
    display: block;
    width: 100%;
    margin-top: 8px;
    text-align: center;
}

#adque-cookie-banner .btn-settings:hover {
    color: #fff;
}

/* Modal Setări */
#cc-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#cc-settings-modal .modal-content {
    background: #1f2937;
    border: 1px solid var(--cc-border);
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

#cc-settings-modal h4 {
    color: #fff;
    margin-bottom: 20px;
}

.cc-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--cc-border);
}

.cc-option:last-child {
    border-bottom: none;
}

.cc-option-info h5 {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.cc-option-info p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0;
}

/* Toggle Switch */
.cc-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #374151;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .cc-slider {
    background-color: var(--cc-accent);
}

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

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

.cc-settings-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

@media (max-width: 640px) {
    #adque-cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }
}
