.fzcbal-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f5f5f5;
    color: #222;
    padding: 16px 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.fzcbal-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.fzcbal-banner-text {
    flex: 1 1 300px;
}

.fzcbal-banner-text a {
    color: #07418d;
    text-decoration: underline;
}

.fzcbal-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.fzcbal-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: opacity 0.2s;
}

.fzcbal-btn:hover {
    opacity: 0.85;
    filter: brightness(1.1);
}

.fzcbal-btn-accept:hover {
    background: #1e5f96 !important;
}

.fzcbal-btn-settings:hover {
    background: #f0f7fc !important;
    border-color: #135e96 !important;
}

.fzcbal-btn-reject:hover {
    background: #5a5a5a !important;
}

.fzcbal-btn-accept {
    background: #2271b1 !important;
    color: #fff !important;
}

.fzcbal-btn-settings {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #2271b1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
}

.fzcbal-btn-reject {
    background: #767676 !important;
    color: #fff !important;
}

/* Modal */
.fzcbal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fzcbal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.fzcbal-modal-content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 1;
}

.fzcbal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.fzcbal-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.fzcbal-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.fzcbal-modal-close:hover {
    background: #f0f0f0;
    color: #000;
}

.fzcbal-modal-body {
    padding: 20px 24px;
}

.fzcbal-cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.fzcbal-cookie-category:last-child {
    border-bottom: none;
}

.fzcbal-cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.fzcbal-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 26px;
}

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

.fzcbal-cookie-toggle input:checked + .fzcbal-toggle-slider {
    background-color: #2271b1;
}

.fzcbal-cookie-toggle input:checked + .fzcbal-toggle-slider:before {
    transform: translateX(22px);
}

.fzcbal-cookie-toggle input:disabled + .fzcbal-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.fzcbal-cookie-info {
    flex: 1;
}

.fzcbal-cookie-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.fzcbal-cookie-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.fzcbal-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.fzcbal-btn-save {
    background: #2271b1;
    color: #fff;
}


/* Comment form consent */
.comment-form-fzcbal {
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    color: inherit;
}

.comment-form-fzcbal label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.comment-form-fzcbal input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.comment-form-fzcbal .fzcbal-text {
    display: inline;
}

.comment-form-fzcbal .fzcbal-text a {
    color: #2271b1;
    text-decoration: underline;
}

/* Checkout consent */
.fzcbal-checkout-consent {
    margin: 14px 0;
    font-size: 14px;
    line-height: 1.5;
}

.fzcbal-checkout-consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.fzcbal-checkout-consent input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.fzcbal-checkout-consent a {
    color: #2271b1;
    text-decoration: underline;
}


/* Move consent checkbox above submit button */
.comment-form-fzcbal {
    order: 99;
}

.comment-form {
    display: flex;
    flex-direction: column;
}

.comment-form .form-submit,
.comment-form p[class*="submit"] {
    order: 100;
}
@media (max-width: 600px) {
    .fzcbal-banner {
        padding: 12px 16px;
    }
    .fzcbal-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
    }
    .fzcbal-banner-text {
        flex: 1 1 auto;
        width: 100%;
    }
    .fzcbal-banner-buttons {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    .fzcbal-btn {
        flex: 1 1 80px;
        min-width: 0;
        padding: 8px 10px;
        font-size: 14px;
        white-space: nowrap;
    }
    .fzcbal-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}