/**
 * Viona suite frontend components
 */

.vh-campaign {
    background: var(--vh-campaign-bg, #2563eb);
    color: var(--vh-campaign-fg, #fff);
    font-size: 0.88rem;
}

.vh-campaign__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    flex-wrap: wrap;
}

.vh-campaign__text {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.vh-campaign__text strong {
    font-weight: 800;
}

.vh-campaign__cta {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: inherit !important;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.vh-campaign__close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    padding: 0 4px;
}

.vh-campaign.is-hidden {
    display: none !important;
}

.vh-trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 16px 0 0;
}

.vh-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.vh-trust-bar__item i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.vh-trust-bar__item strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
}

.vh-trust-bar__item span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.vh-faq {
    display: grid;
    gap: 10px;
}

.vh-faq details {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
}

.vh-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
    padding: 14px 0;
    list-style: none;
}

.vh-faq summary::-webkit-details-marker {
    display: none;
}

.vh-faq details[open] summary {
    color: #2563eb;
}

.vh-faq__answer {
    padding: 0 0 14px;
    color: #64748b;
    line-height: 1.55;
}

.vh-notify-stack {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.vh-notify {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.08);
}

.vh-notify strong {
    display: block;
    color: #92400e;
}

.vh-notify span {
    color: #b45309;
    font-size: 0.9rem;
}

.vh-notify .vh-btn,
.vh-notify .vh-btn--sm {
    flex-shrink: 0;
    white-space: nowrap;
}

.vh-support-sla {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.vh-support-sla__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.vh-support-sla__item i {
    color: #2563eb;
    margin-top: 2px;
}

.vh-support-sla__item strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.vh-support-sla__item span {
    font-size: 0.82rem;
    color: #64748b;
}

.vh-support-sla--compact {
    margin-bottom: 12px;
}

.vh-compare-wrap {
    margin: 0 0 28px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.vh-compare-head h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    color: #0f172a;
}

.vh-compare-head p {
    margin: 0 0 16px;
    color: #64748b;
}

.vh-compare-scroll {
    overflow-x: auto;
}

.vh-compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.vh-compare-table th,
.vh-compare-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    text-align: left;
}

.vh-compare-table thead th {
    background: #f1f5f9;
}

.vh-compare-price {
    font-weight: 800;
    color: #0f172a;
}

.vh-compare-features {
    margin: 0;
    padding-left: 18px;
    font-size: 0.86rem;
    color: #334155;
}

.vh-campaign-landing {
    max-width: 880px;
    margin: 32px auto;
    padding: 28px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.vh-campaign-landing h1 {
    margin: 0 0 10px;
}

.vh-campaign-landing__body {
    margin: 16px 0 24px;
    line-height: 1.6;
    color: #334155;
}

.vh-aff-calc {
    margin-top: 18px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.vh-aff-calc__row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 12px;
    margin-bottom: 12px;
}

.vh-aff-calc__result {
    font-size: 1.25rem;
    font-weight: 800;
    color: #059669;
}

.vh-ops-refund {
    max-width: 720px;
    margin: 24px auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
}


.vh-support-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.vh-support-hub__card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    text-decoration: none !important;
    color: inherit !important;
}

.vh-support-hub__card i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.vh-bank-panel {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.vh-bank-panel table {
    width: 100%;
    border-collapse: collapse;
}

.vh-bank-panel th,
.vh-bank-panel td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-align: left;
    font-size: 0.9rem;
}

.vh-bank-panel code {
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
}

.vh-gateway-note {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    color: #1e40af;
    font-size: 0.88rem;
}

