/* ETA Cookie Consent — Minimal CSS */

#eta-cc-wrap {
    position: fixed;
    z-index: 99999;
    max-width: 360px;
    width: calc(100% - 32px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.13);
    padding: 20px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    box-sizing: border-box;
}

/* Positions */
.eta-cc-bottom-left  { bottom: 16px; left: 16px; }
.eta-cc-bottom-right { bottom: 16px; right: 16px; }
.eta-cc-bottom-bar   {
    max-width: 100%;
    width: 100%;
    left: 0; right: 0; bottom: 0;
    border-radius: 12px 12px 0 0;
}

.eta-cc-title {
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 8px;
}

.eta-cc-text {
    margin: 0 0 16px;
    color: #444;
    font-size: 13px;
}

.eta-cc-text a {
    color: var(--eta-cc-accent, #1a56db);
    text-decoration: underline;
}

/* Buttons */
.eta-cc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.eta-cc-btn {
    border: none;
    border-radius: 7px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s, background .15s;
    line-height: 1;
}

.eta-cc-btn:hover { opacity: .88; }

.eta-cc-btn-primary {
    background: var(--eta-cc-accent, #1a56db);
    color: #fff;
    flex: 1 1 auto;
}

.eta-cc-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    flex: 1 1 auto;
}

.eta-cc-btn-ghost {
    background: transparent;
    color: var(--eta-cc-accent, #1a56db);
    padding-left: 4px;
    padding-right: 4px;
    width: 100%;
    text-align: center;
}

/* Customize panel */
#eta-cc-customize {
    margin-top: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
}

.eta-cc-category {
    margin-bottom: 14px;
}

.eta-cc-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 4px;
}

.eta-cc-cat-desc {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 0 0;
}

.eta-cc-always-on {
    font-size: 11px;
    background: #e5e7eb;
    color: #374151;
    border-radius: 20px;
    padding: 2px 8px;
    font-weight: 500;
    margin-left: auto;
}

/* Toggle switch */
.eta-cc-toggle {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
}

.eta-cc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.eta-cc-slider {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 22px;
    cursor: pointer;
    transition: background .2s;
}

.eta-cc-slider:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.eta-cc-toggle input:checked + .eta-cc-slider {
    background: var(--eta-cc-accent, #1a56db);
}

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

/* Re-open button */
#eta-cc-reopen {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 99998;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--eta-cc-accent, #1a56db);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: opacity .2s;
    padding: 0;
}

#eta-cc-reopen:hover { opacity: .85; }

/* Mobile adjustments */
@media (max-width: 400px) {
    #eta-cc-wrap {
        max-width: 100%;
        width: calc(100% - 24px);
        left: 12px !important;
        right: 12px !important;
    }
}
