/**
 * GovX WooCommerce Discount — Stylesheet
 *
 * Styles for the GovX verification button, verified badge, and notices.
 * These styles are intentionally minimal and designed to integrate cleanly
 * with any WooCommerce-compatible theme.
 *
 * @package GovX_WC_Discount
 * @since   1.0.0
 */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */

.govx-verification-wrapper {
    margin: 1.5em 0;
    padding: 1.25em 1.5em;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #003087; /* GovX navy blue */
    border-radius: 4px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* ── Verify Prompt Text ───────────────────────────────────────────────────── */

.govx-verify-prompt {
    margin-bottom: 0.85em;
    color: #333;
}

/* ── Verify Button ────────────────────────────────────────────────────────── */

.govx-verify-button {
    display: inline-block;
    padding: 0.65em 1.4em;
    background-color: #003087;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95em;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.govx-verify-button:hover,
.govx-verify-button:focus {
    background-color: #001f5b;
    color: #ffffff !important;
    text-decoration: none;
    outline: 2px solid #001f5b;
    outline-offset: 2px;
}

.govx-verify-button:disabled,
.govx-verify-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Verified Badge ───────────────────────────────────────────────────────── */

.govx-verified-badge {
    display: flex;
    align-items: center;
    gap: 0.4em;
    color: #1a5c1a;
    font-size: 0.95em;
}

.govx-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    background-color: #28a745;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: bold;
    flex-shrink: 0;
}

/* ── GovX Verified Notice (cart/checkout persistent banner) ──────────────── */

.govx-verified-notice {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.85em 1.25em;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    margin-bottom: 1em;
    font-size: 0.95em;
}

.govx-badge {
    font-weight: 700;
    color: #0b4d1e;
    white-space: nowrap;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .govx-verification-wrapper {
        padding: 1em;
    }

    .govx-verify-button {
        width: 100%;
        text-align: center;
        display: block;
    }
}
