/* AGstudio Cookie Consent Banner */
.agcc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999998;
    opacity: 0;
    transition: opacity .3s;
}
.agcc-overlay.agcc-show { opacity: 1; }
.agcc-overlay.agcc-hide { pointer-events: none; }

.agcc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
    padding: 24px 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: #333;
    transform: translateY(100%);
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.agcc-banner.agcc-show { transform: translateY(0); }

.agcc-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.agcc-banner h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #111;
}

.agcc-banner p {
    margin: 0 0 16px;
    line-height: 1.5;
    color: #555;
}

.agcc-banner a {
    color: #2563eb;
    text-decoration: underline;
}

/* Toggle switches */
.agcc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.agcc-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f7f7f7;
    border-radius: 8px;
    min-width: 180px;
}

.agcc-option-label {
    font-weight: 600;
    font-size: 13px;
}

.agcc-option-desc {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.agcc-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.agcc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.agcc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background .2s;
}

.agcc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
}

.agcc-toggle input:checked + .agcc-toggle-slider {
    background: #2563eb;
}

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

.agcc-toggle input:disabled + .agcc-toggle-slider {
    background: #2563eb;
    opacity: .6;
    cursor: not-allowed;
}

/* Buttons */
.agcc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.agcc-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.agcc-btn:active { transform: scale(.97); }

.agcc-btn-accept {
    background: #2563eb;
    color: #fff;
}
.agcc-btn-accept:hover { background: #1d4ed8; }

.agcc-btn-save {
    background: #e5e7eb;
    color: #333;
}
.agcc-btn-save:hover { background: #d1d5db; }

.agcc-btn-reject {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}
.agcc-btn-reject:hover { background: #f3f4f6; }

/* Mobile */
@media (max-width: 640px) {
    .agcc-banner { padding: 16px; }
    .agcc-options { flex-direction: column; gap: 8px; }
    .agcc-option { min-width: unset; }
    .agcc-buttons { flex-direction: column; }
    .agcc-btn { width: 100%; text-align: center; }
}
