/* ============================================
   BV Coverage Snapshot Widget
   Version: 1.3.0
   ============================================ */

/* ── Wrapper ── */
.bv-cs-wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ── Header ── */
.bv-cs-header {
    text-align: center;
    margin-bottom: 8px;
}

/* ── Title ── */
.bv-cs-title {
    font-size: 1.65rem;
    font-weight: 700;
    font-style: italic;
    color: #1a3a4a;
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.3;
}

/* ── Subtitle ── */
.bv-cs-subtitle {
    font-size: 0.95rem;
    color: #6b7b8a;
    margin: 0 0 24px 0;
    padding: 0;
    line-height: 1.5;
}

/* ── Cards Container ── */
.bv-cs-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Card ── */
.bv-cs-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* ── Icon ── */
.bv-cs-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bv-cs-icon img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
}

/* ── Info ── */
.bv-cs-info {
    flex: 1;
    min-width: 0;
}

.bv-cs-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3a4a;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

/* ── Meta ── */
.bv-cs-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bv-cs-meta-row {
    font-size: 0.9rem;
    line-height: 1.5;
}

.bv-cs-meta-label {
    color: #6b7b8a;
}

.bv-cs-meta-value {
    color: #6b7b8a;
}

/* ── Button Wrap ── */
.bv-cs-btn-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── Button ── */
.bv-cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: #1a3a4a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 300ms ease;
    white-space: nowrap;
    line-height: 1.4;
}

.bv-cs-btn:hover,
.bv-cs-btn:focus {
    background-color: #14303d;
    color: #ffffff;
    text-decoration: none;
}

.bv-cs-btn .bv-cs-btn-icon {
    font-size: 0.95em;
    line-height: 1;
}

/* ── Logged Out Message ── */
.bv-cs-logged-out {
    text-align: center;
    color: #6b7b8a;
    font-size: 0.95rem;
    padding: 32px 16px;
    margin: 0;
}

/* ── Tablet (max 1024px) ── */
@media (max-width: 1024px) {
    .bv-cs-card {
        padding: 20px 24px;
        gap: 16px;
    }

    .bv-cs-icon img {
        width: 75px;
        height: 75px;
    }

    .bv-cs-title {
        font-size: 1.45rem;
    }

    .bv-cs-btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
}

/* ── Mobile (max 767px) ── */
@media (max-width: 767px) {
    .bv-cs-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .bv-cs-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bv-cs-meta {
        align-items: center;
    }

    .bv-cs-icon img {
        width: 70px;
        height: 70px;
    }

    .bv-cs-title {
        font-size: 1.3rem;
    }

    .bv-cs-subtitle {
        font-size: 0.875rem;
    }

    .bv-cs-plan-name {
        font-size: 1rem;
    }

    .bv-cs-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}

/* ── Small Mobile (max 480px) ── */
@media (max-width: 480px) {
    .bv-cs-card {
        padding: 18px 16px;
        border-radius: 12px;
    }

    .bv-cs-icon img {
        width: 60px;
        height: 60px;
    }

    .bv-cs-title {
        font-size: 1.15rem;
    }

    .bv-cs-meta-row {
        font-size: 0.825rem;
    }

    .bv-cs-btn {
        font-size: 0.825rem;
        padding: 10px 18px;
    }
}
