/* ================================
   FirstStep Visa Success v3.0
   ================================ */

.fsvs-grid {
    display: grid;
    gap: 28px;
    padding: 10px 0;
}
.fsvs-cols-1 { grid-template-columns: repeat(1, 1fr); }
.fsvs-cols-2 { grid-template-columns: repeat(2, 1fr); }
.fsvs-cols-3 { grid-template-columns: repeat(3, 1fr); }
.fsvs-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .fsvs-cols-3,
    .fsvs-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
    .fsvs-grid { grid-template-columns: 1fr !important; }
}

/* ── Card shell ── */
.fsvs-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eaed;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fsvs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

/* ── Colored header band ── */
.fsvs-card-header {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
    position: relative;
}

/* ── "Visa Approved" pill inside the header ── */
.fsvs-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.20);
    border: 1.5px solid rgba(255,255,255,0.50);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 13px;
    border-radius: 30px;
    white-space: nowrap;
    /* lives inside the header — zero chance of overlap */
}

/* ── Body: photo + info side-by-side ── */
.fsvs-body {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 18px 18px;
    margin-top: -26px; /* photo overlaps the colored header for a polished look */
}

/* ── Photo ── */
.fsvs-photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.fsvs-photo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    display: block;
}
.fsvs-initial {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: #f0f4ff;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
}
.fsvs-flag {
    position: absolute;
    bottom: -5px;
    right: -7px;
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ── Info column ── */
.fsvs-info {
    flex: 1;
    min-width: 0;
    padding-top: 30px; /* aligns below the header overlap */
}
.fsvs-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 9px;
    line-height: 1.35;
    word-break: break-word;
}
.fsvs-country {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 30px;
    margin-bottom: 6px;
}
.fsvs-date {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 5px;
    font-weight: 500;
}

/* ── Congratulations message ── */
.fsvs-message {
    padding: 4px 20px 16px;
    flex: 1;
    border-top: 1px solid #f3f4f6;
    margin: 0 0 0;
}
.fsvs-quote {
    font-size: 36px;
    color: #e5e7eb;
    line-height: 1;
    display: block;
    margin-bottom: -4px;
}
.fsvs-message p {
    font-size: 13.5px !important;
    color: #6b7280 !important;
    line-height: 1.75 !important;
    margin: 6px 0 0 !important;
}

/* ── Footer ── */
.fsvs-footer {
    background: #f9fafb;
    border-top: 1px solid #f0f0f0;
    padding: 9px 18px;
    font-size: 11px;
    color: #b0b4bb;
    margin-top: auto;
    font-weight: 500;
    letter-spacing: 0.2px;
}
