/**
 * AIDUS VAT Exemption — Frontend Styles
 *
 * Banner only. Modal styling is fully inline in PHP output.
 *
 * @version 0.7.0
 */

/* ==========================================================================
   Banner (placed via render_block / shortcode)
   ========================================================================== */

.aidus-vat-banner-row td {
    padding: 0 !important;
    border: none !important;
}

.aidus-vat-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 12px 0 24px;
    background: #f8f9fa;
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.aidus-vat-banner-applied {
    background: #edfaef;
    border-color: #b8e6bf;
}

.aidus-vat-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #2271b1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.aidus-vat-banner-applied .aidus-vat-banner-icon {
    background: #00a32a;
}

.aidus-vat-banner-text {
    flex: 1;
    color: #1d2327;
}

.aidus-vat-banner-toggle {
    background: none;
    border: none;
    color: #2271b1;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    text-decoration: underline;
    white-space: nowrap;
}

.aidus-vat-banner-toggle:hover {
    color: #135e96;
}

.aidus-vat-remove-btn {
    background: none;
    border: none;
    color: #d63638;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
    white-space: nowrap;
}

.aidus-vat-remove-btn:hover {
    color: #a02022;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {
    .aidus-vat-banner {
        flex-wrap: wrap;
    }

    .aidus-vat-banner-toggle {
        width: 100%;
        text-align: center;
        padding: 8px;
        margin-top: 4px;
        background: #2271b1;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
    }

    .aidus-vat-banner-toggle:hover {
        color: #fff;
        background: #135e96;
    }
}
