
.szaf-mat-consent-backdrop {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 9998;
}

.szaf-mat-consent-backdrop.active {
    opacity: 1;
}

.szaf-mat-consent-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    opacity: 0;
    background: #111;
    color: #fff;
    padding: 22px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: all .35s cubic-bezier(.4,0,.2,1);
    z-index: 9999;
    max-width: 480px;
    width: calc(100% - 40px);
}

.szaf-mat-consent-banner.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.szaf-mat-consent-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.szaf-mat-consent-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.szaf-mat-consent-label {
    font-size: 14px;
}

.szaf-mat-consent-desc {
    font-size: 12px;
    opacity: .6;
}

.szaf-mat-consent-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.szaf-mat-consent-switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.szaf-mat-consent-switch input {
    display: none;
}

.szaf-mat-consent-slider {
    position: absolute;
    inset: 0;
    background: #444;
    border-radius: 30px;
    transition: .3s;
    cursor: pointer;
}

.szaf-mat-consent-slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s cubic-bezier(.4,0,.2,1);
}

.szaf-mat-consent-switch input:checked + .szaf-mat-consent-slider {
    background: #fff;
}

.szaf-mat-consent-switch input:checked + .szaf-mat-consent-slider:before {
    transform: translateX(22px);
    background: #000;
}

.szaf-mat-consent-save {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

.szaf-mat-consent-save:hover {
    transform: translateY(-2px);
}

.szaf-mat-consent-manage {
    position: fixed;
    bottom: 15px;
    right: 20px;
    font-size: 12px;
    opacity: .6;
    cursor: pointer;
    transition: opacity .2s;
}

.szaf-mat-consent-manage:hover {
    opacity: 1;
}

.szaf-mat-consent-save:focus {
    outline: 2px solid #fff;
}

.szaf-mat-consent-banner {
    font-family: system-ui, -apple-system, sans-serif;
}
.szaf-mat-consent-manage {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
    z-index: 9999;
    transition: transform .2s ease, opacity .2s ease;
}

.szaf-mat-consent-manage:hover {
    transform: scale(1.08);
}

@keyframes szaf-cookie-bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.szaf-mat-consent-manage {
    animation: szaf-cookie-bounce .4s ease;
}
.szaf-mat-consent-text {
    font-size: 13px;
    opacity: .7;
    margin-bottom: 16px;
    line-height: 1.4;
}

.szaf-mat-consent-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.szaf-mat-consent-actions-left {
    display: flex;
    gap: 8px;
}

.szaf-mat-consent-accept {
    background: #fff;
    color: #000;
    border: none;

    padding: 12px 22px;
    border-radius: 14px;

    font-weight: 600;
    font-size: 15px;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(0,0,0,.25);

    transition: transform .15s ease, box-shadow .15s ease;
}

.szaf-mat-consent-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.szaf-mat-consent-reject,
.szaf-mat-consent-settings {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
}

.szaf-mat-consent-settings-panel {
    display: none;
    margin-top: 18px;
}

.szaf-mat-consent-settings-panel.active {
    display: block;
}

.szaf-mat-consent-reject,
.szaf-mat-consent-settings {
    opacity: .85;
}

.szaf-mat-consent-reject:hover,
.szaf-mat-consent-settings:hover {
    opacity: 1;
}

@keyframes consentPulse {

    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }

}

.szaf-mat-consent-banner.active .szaf-mat-consent-accept {
    animation: consentPulse .6s ease;
}

html[data-szaf-mat-consent="none"] iframe[data-category="analytics"] {
    display:none;
}

.szaf-mat-cookie-table {
    width:100%;
    border-collapse:collapse;
    margin:20px 0;
}

.szaf-mat-cookie-table th,
.szaf-mat-cookie-table td {
    border:1px solid #ddd;
    padding:8px;
    text-align:left;
}

.szaf-mat-cookie-table th {
    background:#f5f5f5;
}