/* ============================================================
   Anthony's Auktionshaus – Cookie Consent Banner Stylesheet
   Modernes, DSGVO-konformes & edles Design in Gold/Dunkelgrau
   ============================================================ */

/* Container für Banner & Modal */
#anthonys-cookie-banner-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#anthonys-cookie-banner-backdrop.active {
    opacity: 1;
    visibility: visible;
}

#anthonys-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    width: calc(100% - 40px);
    max-width: 680px;
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.15);
    color: #f5f5f5;
    font-family: inherit;
    z-index: 999999;
    padding: 24px 28px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease;
}

#anthonys-cookie-banner.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Header & Titel */
.acb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.acb-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e5c158;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acb-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #cccccc;
    margin: 0 0 20px 0;
}

.acb-text a {
    color: #e5c158;
    text-decoration: underline;
}

.acb-text a:hover {
    color: #ffffff;
}

/* Einstellungen Panel */
.acb-details {
    display: none;
    margin-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.acb-details.active {
    display: block;
}

.acb-option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 10px;
}

.acb-option-info {
    max-width: 80%;
}

.acb-option-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.acb-option-desc {
    font-size: 0.82rem;
    color: #aaaaaa;
    line-height: 1.4;
}

/* Toggle Switches */
.acb-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.acb-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #333333;
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.acb-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #888888;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .acb-slider {
    background-color: #c5a059;
    border-color: #e5c158;
}

input:checked + .acb-slider:before {
    transform: translateX(20px);
    background-color: #141414;
}

input:disabled + .acb-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button Gruppe */
.acb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.acb-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    text-align: center;
    box-sizing: border-box;
}

.acb-btn-primary {
    background: linear-gradient(135deg, #e5c158 0%, #b88e28 100%);
    color: #141414;
    box-shadow: 0 4px 12px rgba(229, 193, 88, 0.3);
}

.acb-btn-primary:hover {
    background: linear-gradient(135deg, #f3d474 0%, #c99c30 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 193, 88, 0.4);
}

.acb-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.acb-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.acb-btn-link {
    background: transparent;
    color: #bbbbbb;
    text-decoration: underline;
    padding: 10px 12px;
}

.acb-btn-link:hover {
    color: #e5c158;
}

/* Floating Cookie Trigger Button in Footer / Corner */
.acb-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: inherit;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
}

.acb-trigger-btn:hover {
    color: #e5c158;
}

@media (max-width: 600px) {
    #anthonys-cookie-banner {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 18px 20px;
    }

    .acb-actions {
        flex-direction: column;
        width: 100%;
    }

    .acb-btn {
        width: 100%;
    }
}
