/* ── VSMS Global ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.vd-btn { display: inline-block; padding: 9px 18px; border-radius: 4px; border: none; cursor: pointer; font-size: 13px; font-weight: 600; transition: all .2s; text-decoration: none; }
.vd-btn-primary { background: #e74c3c; color: #fff; }
.vd-btn-primary:hover { background: #c0392b; color: #fff; }
.vd-btn-outline { background: #fff; border: 1px solid #ddd; color: #555; }
.vd-btn-outline:hover { border-color: #e74c3c; color: #e74c3c; }
.vd-btn-sm { padding: 5px 10px; font-size: 12px; }
.vd-btn-pay { background: #27ae60; color: #fff; }
.vd-btn-pay:hover { background: #1e8449; color: #fff; }
.vd-inline-link { color: #e74c3c; text-decoration: none; font-weight: 600; font-size: 13px; }
.vd-inline-link:hover { text-decoration: underline; }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.vd-alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vd-alert-warn    { background: #fef9e7; color: #7d6608; border-left: 4px solid #f1c40f; }
.vd-alert-success { background: #eafaf1; color: #1e8449; border-left: 4px solid #27ae60; }
.vd-alert-error   { background: #fdedec; color: #922b21; border-left: 4px solid #e74c3c; }

/* ── Status ──────────────────────────────────────────────────────────────── */
.vd-status { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.vd-status-pending  { background: #fef9e7; color: #7d6608; }
.vd-status-approved { background: #eafaf1; color: #1e8449; }
.vd-status-rejected { background: #fdedec; color: #922b21; }
.vd-status-disabled { background: #eef0f2; color: #50575e; }
.vd-status-paid     { background: #eafaf1; color: #1e8449; }
.vd-status-created  { background: #eaf2ff; color: #1a5276; }
.vd-status-failed   { background: #fdedec; color: #922b21; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.vsms-form-wrap { max-width: 460px; margin: 40px auto; padding: 32px; background: #fff; border-radius: 6px; box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.vsms-field, .vd-field { margin-bottom: 16px; }
.vsms-field label, .vd-field label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 13px; color: #333; }
.vsms-field input, .vd-field input, .vsms-field select, .vd-field select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.vsms-field input:focus, .vd-field input:focus { outline: none; border-color: #e74c3c; box-shadow: 0 0 0 2px rgba(231,76,60,.1); }
.vd-field small, .vsms-field small { display: block; margin-top: 4px; color: #999; font-size: 11px; }
.vsms-notice { padding: 10px 14px; border-radius: 4px; margin-bottom: 12px; font-size: 13px; }
.vsms-success { background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; }
.vsms-error   { background: #fdedec; color: #922b21; border: 1px solid #f1948a; }
.vsms-warning { background: #fef9e7; color: #7d6608; border: 1px solid #f9e79f; }

/* ══ DASHBOARD LAYOUT ════════════════════════════════════════════════════════ */
/* Force full-width outside theme content constraints */
.vd-wrap { display: flex; min-height: 85vh; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 13px; background: #f0f4f0; width: 100%; max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }
.vd-wrap ul, .vd-wrap ol { list-style: none; margin: 0; padding: 0; }
.vd-wrap li { margin: 0; padding: 0; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.vd-sidebar {
    width: 240px;
    min-width: 240px;
    background: #fff;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    border-right: 2px solid #e8f5e9;
    box-shadow: 3px 0 20px rgba(23,139,67,.10);
}
.vd-sidebar-brand {
    padding: 22px 18px;
    background: linear-gradient(135deg, #178B43 0%, #1aab52 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .2px;
    position: relative;
    overflow: hidden;
}
.vd-sidebar-brand::after {
    content: '';
    position: absolute;
    right: -20px; top: -20px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.vd-brand-icon { font-size: 22px; position: relative; z-index: 1; }
.vd-sidebar-brand span { position: relative; z-index: 1; }
.vd-nav { list-style: none; margin: 0; padding: 14px 0 8px; flex: 1; }
.vd-nav li { margin: 2px 10px; }
.vd-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    color: #607060;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    transition: background .18s, color .18s, transform .18s, box-shadow .18s;
    position: relative;
}
.vd-nav-link::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    background: #178B43;
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform .2s ease;
}
.vd-nav-link:hover {
    background: #f0faf4;
    color: #178B43;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(23,139,67,.08);
}
.vd-nav-link:hover::before { transform: scaleY(1); }
.vd-nav-link.active {
    background: linear-gradient(90deg, #e6f7ed, #f0faf4);
    color: #178B43;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(23,139,67,.12);
}
.vd-nav-link.active::before { transform: scaleY(1); }
.vd-icon { font-size: 15px; width: 20px; text-align: center; flex-shrink: 0; }
.vd-ext { margin-left: auto; font-size: 11px; opacity: .4; }
.vd-badge {
    margin-left: auto;
    background: #FF4F24;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(255,79,36,.35);
}
.vd-nav-divider { height: 1px; background: #f0f4f0; margin: 6px 8px; }
.vd-nav-logout { color: #e74c3c !important; }
.vd-nav-logout:hover { background: #fdf0ee !important; color: #c0392b !important; box-shadow: none !important; }
.vd-nav-logout::before { background: #e74c3c !important; }
.vd-nav-locked { opacity: .38; cursor: not-allowed !important; pointer-events: all !important; }
.vd-lock-icon { margin-left: auto; font-size: 11px; opacity: .5; }
.vd-sidebar-footer {
    padding: 14px 16px;
    border-top: 1px solid #eef5ee;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fbf8;
}
.vd-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #178B43, #FF4F24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(23,139,67,.3);
}
.vd-sidebar-user-info strong { display: block; font-size: 12px; color: #2c3e50; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.vd-sidebar-user-info span { font-size: 11px; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; display: block; }

/* ── Locked Popup ─────────────────────────────────────────────────────────── */
@keyframes vsms-lockPopIn {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(.7) rotate(-5deg); }
    70%  { transform: translate(-50%,-50%) scale(1.05) rotate(1deg); }
    100% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0); }
}
@keyframes vsms-lockShake {
    0%,100% { transform: translateX(0); }
    20%     { transform: translateX(-6px); }
    40%     { transform: translateX(6px); }
    60%     { transform: translateX(-4px); }
    80%     { transform: translateX(4px); }
}
.vsms-lock-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vsms-fadeInUp .2s ease;
}
.vsms-lock-popup {
    background: linear-gradient(145deg, #0d1f0f, #1a3320);
    border: 1px solid rgba(23,139,67,.3);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05), inset 0 1px 0 rgba(255,255,255,.08);
    animation: vsms-lockPopIn .4s cubic-bezier(.34,1.56,.64,1) both;
    position: relative;
    overflow: hidden;
}
.vsms-lock-popup::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,79,36,.15) 0%, transparent 70%);
    top: -60px; right: -60px;
    pointer-events: none;
}
.vsms-lock-icon-wrap {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, rgba(255,79,36,.2), rgba(255,79,36,.05));
    border: 2px solid rgba(255,79,36,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    animation: vsms-lockShake .5s ease .3s both;
}
.vsms-lock-popup h4 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #FF4F24, #FA6922);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.vsms-lock-popup p {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
    margin: 0 0 24px;
}
.vsms-lock-steps {
    background: rgba(23,139,67,.1);
    border: 1px solid rgba(23,139,67,.2);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 24px;
    text-align: left;
}
.vsms-lock-steps p { margin: 0; font-size: 12px; color: rgba(255,255,255,.7); }
.vsms-lock-steps strong { color: #4ade80; }
.vsms-lock-close {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #178B43, #0f6b32);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 0 #0a4a22, 0 6px 20px rgba(23,139,67,.4);
    transition: transform .1s, box-shadow .1s;
}
.vsms-lock-close:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0a4a22, 0 10px 24px rgba(23,139,67,.5); }
.vsms-lock-close:active { transform: translateY(2px); box-shadow: 0 2px 0 #0a4a22; }

/* ── Main ────────────────────────────────────────────────────────────────── */
.vd-main { flex: 1; padding: 24px; overflow-x: hidden; background: #f0f4f0; }
.vd-panel { display: none; }
.vd-panel.active { display: block; }
.vd-page-title { font-size: 20px; font-weight: 700; color: #178B43; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e8f0e8; }

/* ── Stats Row (like Dokan top stats) ────────────────────────────────────── */
.vd-stats-row { display: flex; gap: 0; background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.vd-stat-box { flex: 1; padding: 20px 16px; text-align: center; border-right: 1px solid #e0e0e0; }
.vd-stat-box:last-child { border-right: none; }
.vd-stat-num { font-size: 26px; font-weight: 700; color: #2c3e50; line-height: 1; margin-bottom: 6px; }
.vd-stat-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .4px; }

/* ── Two Column ──────────────────────────────────────────────────────────── */
.vd-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

/* ── Box (like Dokan panels) ─────────────────────────────────────────────── */
.vd-box { background: #fff; border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 20px; }
.vd-box-head { padding: 12px 16px; border-bottom: 1px solid #e0e0e0; font-weight: 700; font-size: 13px; color: #2c3e50; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.vd-box-link { color: #e74c3c; font-size: 12px; font-weight: 600; text-decoration: none; }
.vd-box-link:hover { text-decoration: underline; }
.vd-box-body { padding: 16px; }
.vd-loading { padding: 20px 16px; color: #888; }

/* ── Summary Rows (like Dokan order list) ────────────────────────────────── */
.vd-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid #f5f5f5; font-size: 13px; color: #555; }
.vd-summary-row:last-child { border-bottom: none; }
.vd-num-link { color: #e74c3c; font-weight: 700; }
.vd-num-green { color: #27ae60; font-weight: 700; }

/* ── Table ───────────────────────────────────────────────────────────────── */
.vd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vd-table th { background: #f9f9f9; padding: 10px 14px; text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #888; font-weight: 600; border-bottom: 1px solid #e0e0e0; }
.vd-table td { padding: 11px 14px; border-bottom: 1px solid #f0f0f0; color: #444; vertical-align: middle; }
.vd-table tr:last-child td { border-bottom: none; }
.vd-table tr:hover td { background: #fafafa; }
.vd-table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.vd-table th:last-child, .vd-table td:last-child { min-width: 250px; }

/* ── Application Media Review ────────────────────────────────────────────── */
.vsms-app-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; min-width: 220px; max-width: 360px; }
.vsms-app-media-card { position: relative; display: block; height: 72px; border-radius: 6px; overflow: hidden; background: #eef3f0; border: 1px solid #d8e4dc; cursor: zoom-in; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.vsms-app-media-card img, .vsms-app-media-card video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.vsms-app-media-card:hover img, .vsms-app-media-card:hover video { transform: scale(1.04); }
.vsms-app-media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.42) 100%); pointer-events: none; }
.vsms-app-media-status { position: absolute; left: 6px; bottom: 6px; z-index: 2; padding: 3px 7px; font-size: 9px; line-height: 1; box-shadow: 0 1px 4px rgba(0,0,0,.16); }
.vsms-app-media-actions { position: absolute; right: 6px; bottom: 6px; z-index: 3; display: flex; gap: 5px; }
.vsms-vendor-media-action { width: 25px; height: 25px; border: 0; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.vsms-vendor-media-action.is-approve { background: #18a85a; }
.vsms-vendor-media-action.is-reject { background: #e53935; }
.vsms-vendor-media-action:disabled { opacity: .65; cursor: wait; }
.vsms-app-media-play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; text-shadow: 0 2px 12px rgba(0,0,0,.65); pointer-events: none; }

/* ── Media Grid ──────────────────────────────────────────────────────────── */
.vd-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.vd-media-item { border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; background: #fff; }
.vd-media-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
.vd-media-item video { width: 100%; max-height: 120px; display: block; }
.vd-media-item-info { padding: 8px 10px; }
.vd-media-item-info p { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.vsms-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.vsms-modal { background: #fff; border-radius: 6px; padding: 26px; max-width: 440px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.vsms-modal h3 { margin: 0 0 16px; font-size: 16px; color: #2c3e50; }

/* ── 2-Step Form ─────────────────────────────────────────────────────────── */
.vsms-step-header { margin-bottom: 20px; }
.vsms-step-indicator { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 8px; }
.vsms-step-dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    font-size: 13px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.vsms-step-dot.active { background: #178B43; color: #fff; }
.vsms-step-line { flex: 1; height: 2px; background: #e0e0e0; max-width: 80px; }
.vsms-step-labels { display: flex; justify-content: space-between; padding: 0 4px; }
.vsms-step-label { font-size: 11px; color: #aaa; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; transition: color .2s; }
.vsms-step-label.active { color: #178B43; }

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes vsms-fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes vsms-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(39,174,96,.4); }
    50%      { box-shadow: 0 0 0 8px rgba(39,174,96,0); }
}
@keyframes vsms-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes vsms-checkPop {
    0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
    70%  { transform: scale(1.2) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes vsms-progressFill {
    from { width: 0; }
}

/* ── Empty State ──────────────────────────────────────────────────────────── */
@keyframes vsms-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes vsms-blink {
    0%,90%,100% { transform: scaleY(1); }
    95%          { transform: scaleY(.1); }
}
.vsms-empty-state {
    text-align: center;
    padding: 48px 24px;
    animation: vsms-fadeInUp .5s ease both;
}
.vsms-empty-character {
    display: inline-block;
    margin-bottom: 20px;
    animation: vsms-float 3s ease-in-out infinite;
    position: relative;
}
.vsms-empty-character svg { width: 120px; height: 120px; }
.vsms-empty-state h4 { font-size: 18px; font-weight: 700; color: #2c3e50; margin: 0 0 8px; }
.vsms-empty-state p { font-size: 13px; color: #888; margin: 0 0 24px; line-height: 1.6; }
.vsms-empty-btn {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, #178B43, #1aab52);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 0 #0f6b32, 0 6px 16px rgba(23,139,67,.3);
    transition: transform .1s, box-shadow .1s;
    border: none;
    cursor: pointer;
}
.vsms-empty-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #0f6b32, 0 10px 20px rgba(23,139,67,.35); color: #fff; }
.vsms-empty-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #0f6b32; }

/* ── Document Panel ──────────────────────────────────────────────────────────── */
.vsms-doc-panel-header { margin-bottom: 20px; }

/* Animated progress bar */
.vsms-doc-progress-wrap { background: #f0f0f0; border-radius: 50px; height: 10px; overflow: hidden; margin-bottom: 6px; box-shadow: inset 0 1px 3px rgba(0,0,0,.1); }
#vsms-doc-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #27ae60);
    background-size: 200% 100%;
    border-radius: 50px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
    animation: vsms-shimmer 2s linear infinite;
}

/* Doc cards */
.vsms-doc-card {
    background: #fff;
    border-radius: 12px;
    border: 1.5px solid #e8ecf0;
    margin-bottom: 14px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .3s;
    animation: vsms-fadeInUp .4s ease both;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.vsms-doc-card:nth-child(1) { animation-delay: .05s; }
.vsms-doc-card:nth-child(2) { animation-delay: .10s; }
.vsms-doc-card:nth-child(3) { animation-delay: .15s; }
.vsms-doc-card:nth-child(4) { animation-delay: .20s; }
.vsms-doc-card:nth-child(5) { animation-delay: .25s; }
.vsms-doc-card:nth-child(6) { animation-delay: .30s; }
.vsms-doc-card:nth-child(7) { animation-delay: .35s; }
.vsms-doc-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.10); }
.vsms-doc-card.vsms-doc-done { border-color: #a8e6c0; background: linear-gradient(135deg, #fff 80%, #f0faf4 100%); }
.vsms-doc-card.vsms-doc-done:hover { box-shadow: 0 6px 20px rgba(39,174,96,.15); }

.vsms-doc-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}
.vsms-doc-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: background .3s;
}
.vsms-doc-card.vsms-doc-done .vsms-doc-icon {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    animation: vsms-pulse 2s ease infinite;
}
.vsms-doc-icon-check {
    color: #fff;
    font-size: 18px;
    display: none;
    animation: vsms-checkPop .4s ease both;
}
.vsms-doc-card.vsms-doc-done .vsms-doc-icon-check { display: block; }
.vsms-doc-icon-num { color: #fff; font-size: 13px; font-weight: 700; }
.vsms-doc-card.vsms-doc-done .vsms-doc-icon-num { display: none; }

.vsms-doc-label { flex: 1; }
.vsms-doc-label strong { display: block; font-size: 13px; font-weight: 700; color: #2c3e50; }
.vsms-doc-label span { font-size: 11px; color: #999; }
.vsms-doc-card.vsms-doc-done .vsms-doc-label span { color: #27ae60; }

.vsms-doc-badge-req { background: #fdedec; color: #e74c3c; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }
.vsms-doc-badge-done { background: #eafaf1; color: #27ae60; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .4px; }

.vsms-doc-card-body {
    padding: 0 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.vsms-doc-card-body .vsms-doc-msg { width: 100%; margin-bottom: 4px; }

/* Styled file input */
.vsms-file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f5f7fa;
    border: 1.5px dashed #c8d0da;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: border-color .2s, background .2s;
    flex: 1;
    min-width: 180px;
}
.vsms-file-label:hover { border-color: #27ae60; background: #f0faf4; color: #27ae60; }
.vsms-file-label input[type=file] { display: none; }
.vsms-file-name { font-size: 11px; color: #888; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.vsms-doc-upload-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 0 #145a32;
    transform: translateY(0);
    transition: transform .1s, box-shadow .1s;
    white-space: nowrap;
}
.vsms-doc-upload-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #145a32; }
.vsms-doc-upload-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #145a32; }
.vsms-doc-upload-btn:disabled { background: #aaa; box-shadow: 0 2px 0 #888; cursor: not-allowed; }
.vsms-district-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.vsms-district-pills span { background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; border-radius: 18px; padding: 5px 10px; font-size: 12px; font-weight: 700; }

/* ── Document Rows (legacy) ──────────────────────────────────────────────────── */
.vd-doc-row .vd-box-head { cursor: pointer; flex-wrap: wrap; }
.vd-doc-row .vd-doc-status-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.vd-doc-row .vd-doc-badge { margin-left: auto; }
.vd-doc-body { border-top: 1px solid #e0e0e0; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .vd-wrap { flex-direction: column; }
    .vd-sidebar { width: 100%; min-width: unset; }
    .vd-nav-link { padding: 10px 14px; }
    .vd-sidebar-footer { display: none; }
    .vd-main { padding: 14px; }
    .vd-stats-row { flex-wrap: wrap; }
    .vd-stat-box { min-width: 50%; border-bottom: 1px solid #e0e0e0; }
    .vd-two-col { grid-template-columns: 1fr; }
    .vd-table { font-size: 12px; }
    .vd-table th, .vd-table td { padding: 8px 10px; }
}

/* ══ AUTH PAGES (Register / Login) ═══════════════════════════════════════════════ */
.vsms-auth-wrap {
    display: flex;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: calc(100vh - 160px);
}
.vsms-auth-left {
    width: 40%;
    flex-shrink: 0;
    background: linear-gradient(160deg, #0f5c32 0%, #27ae60 55%, #e67e22 100%);
    color: #fff;
    padding: 56px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.vsms-auth-left::before {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    top: -80px; right: -80px;
}
.vsms-auth-left::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    bottom: -40px; left: -40px;
}
.vsms-auth-brand {
    align-self: flex-start;
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,.16));
}
.vsms-auth-left .vsms-auth-brand img { max-height: 80px; max-width: 280px; width: auto; height: auto; display: block; }
.vsms-auth-left h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; line-height: 1.25; position: relative; z-index: 1; }
.vsms-auth-left > p { font-size: 14px; opacity: .88; margin: 0 0 28px; line-height: 1.65; position: relative; z-index: 1; }
.vsms-auth-perks { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.vsms-auth-perks li { font-size: 13px; padding: 9px 0; opacity: .92; border-bottom: 1px solid rgba(255,255,255,.12); }
.vsms-auth-perks li:last-child { border-bottom: none; }

.vsms-auth-right {
    flex: 1;
    background: linear-gradient(135deg, #e8f5e9 0%, #f4f6f8 60%, #fff8e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

/* 3D Card */
.vsms-auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 42px 38px;
    width: 100%;
    max-width: 390px;
    box-shadow:
        0 2px 0 #c8e6c9,
        0 4px 0 #b2dfdb,
        0 6px 0 #a5d6a7,
        0 8px 0 #81c784,
        0 10px 20px rgba(0,0,0,.18),
        0 20px 40px rgba(0,0,0,.10);
    transform: perspective(800px) rotateX(1deg);
    transition: transform .3s, box-shadow .3s;
    position: relative;
}
.vsms-auth-card:hover {
    transform: perspective(800px) rotateX(0deg) translateY(-3px);
    box-shadow:
        0 2px 0 #c8e6c9,
        0 4px 0 #b2dfdb,
        0 6px 0 #a5d6a7,
        0 8px 0 #81c784,
        0 14px 28px rgba(0,0,0,.20),
        0 28px 50px rgba(0,0,0,.12);
}
.vsms-auth-card h3 { font-size: 21px; font-weight: 700; color: #1c2b1c; margin: 0 0 4px; }
.vsms-auth-sub { font-size: 13px; color: #999; margin: 0 0 24px; }
.vsms-auth-sub a { color: #27ae60; font-weight: 600; text-decoration: none; }
.vsms-auth-sub a:hover { text-decoration: underline; }

/* 3D inset inputs */
.vsms-auth-field { margin-bottom: 16px; }
.vsms-auth-field label { display: block; font-size: 11px; font-weight: 700; color: #555; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.vsms-auth-field input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde3e8;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f5f7fa;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.07), inset 0 1px 2px rgba(0,0,0,.05);
    line-height: 1.4;
}
.vsms-auth-field input:focus {
    border-color: #27ae60;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04), 0 0 0 3px rgba(39,174,96,.15);
}
.vsms-auth-field input::placeholder { color: #b0bac5; }

.vsms-auth-forgot-row { text-align: right; margin: -8px 0 18px; }
.vsms-auth-forgot-row a { font-size: 12px; color: #999; text-decoration: none; }
.vsms-auth-forgot-row a:hover { color: #27ae60; }

/* 3D Button */
.vsms-auth-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: linear-gradient(180deg, #2ecc71 0%, #27ae60 50%, #1e8449 100%);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 4px;
    position: relative;
    box-shadow:
        0 4px 0 #145a32,
        0 6px 12px rgba(39,174,96,.4);
    transform: translateY(0);
    transition: transform .1s, box-shadow .1s;
    letter-spacing: .3px;
}
.vsms-auth-btn:hover {
    background: linear-gradient(180deg, #3ddc84 0%, #2ecc71 50%, #27ae60 100%);
    box-shadow: 0 5px 0 #145a32, 0 8px 16px rgba(39,174,96,.45);
    transform: translateY(-1px);
}
.vsms-auth-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #145a32, 0 2px 6px rgba(39,174,96,.3);
}

@media (max-width: 820px) {
    .vsms-auth-wrap { flex-direction: column; min-height: unset; }
    .vsms-auth-left { width: 100%; padding: 32px 20px; }
    .vsms-auth-right { padding: 28px 16px; }
    .vsms-auth-card { padding: 28px 20px; transform: none; }
    .vsms-auth-card:hover { transform: none; }
}

/* ══ SINGLE SEMINAR PAGE ═════════════════════════════════════════════════════════ */
.vsms-single-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 30px; max-width: 1100px; margin: 30px auto; padding: 0 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.vsms-single-hero img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.vsms-single-title { font-size: 26px; font-weight: 700; color: #2c3e50; margin: 0 0 14px; }
.vsms-single-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.vsms-single-meta span { background: #f5f5f5; padding: 5px 12px; border-radius: 20px; font-size: 13px; color: #555; }
.vsms-single-description { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 24px; }
.vsms-single-apply { margin-bottom: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.vsms-single-media-frame { border: 1px solid #dfe7e3; border-radius: 8px; padding: 14px; margin: 0 0 28px; background: #fff; box-shadow: 0 8px 22px rgba(23, 139, 67, .06); }
.vsms-single-media-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.vsms-single-media-head h3 { font-size: 16px; font-weight: 700; color: #2c3e50; margin: 0; }
.vsms-single-media-head span { flex-shrink: 0; font-size: 12px; font-weight: 700; color: #178B43; background: #eafaf1; border-radius: 999px; padding: 4px 10px; }
.vsms-single-gallery h3 { font-size: 16px; font-weight: 700; color: #2c3e50; margin-bottom: 12px; }
.vsms-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.vsms-gallery-item img, .vsms-gallery-item video { width: 100%; height: 140px; object-fit: cover; border-radius: 4px; border: 1px solid #e0e0e0; }

.vsms-sidebar-box { background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px; margin-bottom: 16px; }
.vsms-sidebar-box h4 { font-size: 14px; font-weight: 700; color: #2c3e50; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.vsms-sidebar-box p { display: flex; justify-content: space-between; font-size: 13px; color: #555; margin: 0 0 10px; gap: 8px; }
.vsms-sidebar-box p strong { color: #333; flex-shrink: 0; }
.vsms-back-link { display: inline-block; font-size: 13px; color: #e74c3c; text-decoration: none; font-weight: 600; }
.vsms-back-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .vsms-single-wrap { grid-template-columns: 1fr; }
    .vsms-single-sidebar { order: -1; }
}

/* ══ SEMINARS PAGE ═══════════════════════════════════════════════════════════ */
.vsms-seminars-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

.vsms-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 0; padding: 14px 16px; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px 8px 0 0; }
.vsms-filter-inputs { display: flex; flex: 1; gap: 10px; flex-wrap: wrap; }
.vsms-filter-inputs input, .vsms-filter-inputs select { flex: 1; min-width: 140px; padding: 9px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; }
.vsms-filter-inputs input:focus, .vsms-filter-inputs select:focus { outline: none; border-color: #178B43; box-shadow: 0 0 0 2px rgba(23,139,67,.12); }
.vsms-filter-btns { display: flex; gap: 8px; }

/* Tabs */
.vsms-tabs { display: flex; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 16px; background: #fff; border-left: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; }
.vsms-tab { padding: 11px 22px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 13px; font-weight: 600; color: #888; cursor: pointer; transition: color .2s, border-color .2s; }
.vsms-tab:hover { color: #178B43; }
.vsms-tab.active { color: #178B43; border-bottom-color: #178B43; }

.vsms-map-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
#vsms-map { height: 540px; border-radius: 8px; border: 1px solid #e0e0e0; position: sticky; top: 80px; z-index: 1; }

/* Scrollable card list */
.vsms-grid { display: flex; flex-direction: column; gap: 10px; height: 540px; overflow-y: auto; padding-right: 4px; }
.vsms-grid::-webkit-scrollbar { width: 5px; }
.vsms-grid::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 4px; }
.vsms-grid::-webkit-scrollbar-thumb { background: #c8d0c8; border-radius: 4px; }

/* Seminar card */
.vsms-seminar-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s, transform .15s;
    min-height: 120px;
    flex-shrink: 0;
}
.vsms-seminar-card:hover { border-color: #178B43; box-shadow: 0 4px 16px rgba(23,139,67,.14); transform: translateY(-1px); }
.vsms-seminar-card.vsms-card-active { border-color: #178B43; box-shadow: 0 4px 20px rgba(23,139,67,.2); }
.vsms-seminar-card.vsms-card-past { opacity: .82; }
.vsms-seminar-card.vsms-card-past:hover { border-color: #aaa; box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: none; }

.vsms-card-img { width: 120px; min-width: 120px; height: 120px; object-fit: cover; display: block; }
.vsms-card-no-img { width: 120px; min-width: 120px; height: 120px; background: linear-gradient(135deg, #f0f4f0, #e8ece8); display: flex; align-items: center; justify-content: center; font-size: 36px; color: #bbb; flex-shrink: 0; }

.vsms-card-body { padding: 12px 16px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.vsms-card-top { display: flex; flex-direction: column; gap: 3px; }

/* Badges */
.vsms-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 5px; align-self: flex-start; }
.vsms-badge-upcoming { background: #e8f5e9; color: #178B43; }
.vsms-badge-past { background: #f0f0f0; color: #888; }

.vsms-card-title { margin: 0 0 3px; font-size: 15px; font-weight: 700; color: #1a1a1a; line-height: 1.3; }
.vsms-card-title a { color: inherit; text-decoration: none; }
.vsms-card-title a:hover { color: #178B43; }
.vsms-card-meta { margin: 0; font-size: 12px; color: #777; line-height: 1.5; }

.vsms-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; gap: 6px; }
.vsms-card-date { font-size: 12px; color: #555; font-weight: 600; }
.vsms-card-fee { font-size: 12px; font-weight: 700; color: #178B43; background: #e8f5e9; padding: 2px 9px; border-radius: 10px; }

.vsms-card-footer { margin-top: 0; }
.vsms-apply-btn { display: inline-block; padding: 7px 18px; background: #178B43; color: #fff; border: none; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .2s; box-shadow: 0 2px 0 #0f6b32; }
.vsms-apply-btn:hover { background: #0f6b32; color: #fff; }
.vsms-apply-btn:disabled { background: #aaa; cursor: not-allowed; box-shadow: none; }
.vsms-applied-badge { display: inline-block; padding: 5px 14px; background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; border-radius: 6px; font-size: 12px; font-weight: 600; }
.vsms-past-badge { display: inline-block; padding: 5px 14px; background: #f5f5f5; color: #999; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 12px; font-weight: 600; }

.vsms-no-results { text-align: center; padding: 48px 20px; color: #aaa; }
.vsms-no-results span { font-size: 40px; display: block; margin-bottom: 10px; }
.vsms-no-results p { font-size: 14px; margin: 0; }
.vsms-loading-text { padding: 20px; color: #888; font-size: 13px; text-align: center; }

.vsms-event-register-modal { max-width: 720px; width: min(720px, 94vw); }
.vsms-event-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.vsms-event-modal-head h3 { margin: 0; }
.vsms-event-modal-head p { margin: 6px 0 0; color: #777; font-size: 13px; }
.vsms-event-modal-close { border: none; background: #f3f6f4; color: #456; width: 36px; height: 36px; border-radius: 999px; font-size: 24px; cursor: pointer; }
.vsms-event-modal-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 18px; }
.vsms-event-summary, .vsms-event-pricing { border: 1px solid #e3ebe5; border-radius: 10px; padding: 16px; background: #fbfdfb; }
.vsms-event-summary-row { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 13px; color: #666; }
.vsms-event-summary-row:last-child { margin-bottom: 0; }
.vsms-event-summary-row strong { color: #1e2d24; text-align: right; }
.vsms-event-pricing label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #2c3e50; }
.vsms-qty-control { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.vsms-qty-btn { width: 40px; height: 40px; border: none; border-radius: 8px; background: #178B43; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
#vsms-event-quantity { width: 88px; text-align: center; padding: 9px 10px; border: 1px solid #ccd8cf; border-radius: 8px; font-size: 15px; font-weight: 700; }
.vsms-event-price-box { padding: 14px; border-radius: 10px; background: #eef8f1; }
.vsms-event-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

/* Leaflet popup */
.vsms-popup strong { display: block; font-size: 13px; color: #1a1a1a; margin-bottom: 4px; }
.vsms-popup p { margin: 2px 0; font-size: 12px; color: #555; }
.vsms-popup a { color: #178B43; font-size: 12px; font-weight: 600; }

@media (max-width: 768px) {
    .vsms-map-results { grid-template-columns: 1fr; }
    #vsms-map { height: 280px; position: static; }
    .vsms-grid { max-height: none; }
    .vsms-card-img, .vsms-card-no-img { width: 80px; min-width: 80px; height: 80px; }
    .vsms-event-modal-grid { grid-template-columns: 1fr; }
    .vsms-event-modal-actions { justify-content: stretch; flex-direction: column; }
}


/* ── Polaroid Gallery ─────────────────────────────────────────────────────── */
.vsms-bento-gallery { margin-bottom: 28px; }
.vsms-bento-gallery h3 { font-size: 16px; font-weight: 700; color: #2c3e50; margin: 0 0 12px; }

/* Grid layout matching reference: big portrait left, 2 small top-right, 1 wide bottom-right */
.vsms-bento-grid {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    grid-template-rows: 130px 130px;
    gap: 20px;
    padding: 30px 16px 16px;
    align-items: start;
}

/* Polaroid base */
.vsms-bento-item {
    position: relative;
    background: #fff;
    padding: 6px 6px 28px;
    border: 1px solid #d0e8d8;
    border-radius: 2px;
    box-shadow: 3px 4px 12px rgba(0,0,0,.18), 0 1px 3px rgba(0,0,0,.1);
    cursor: pointer;
    overflow: visible;
    transition: transform .2s, box-shadow .2s;
    z-index: 1;
}
/* Pin */
.vsms-bento-item::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 38% 35%, #ff7f7f, #c0392b);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(192,57,43,.55), inset 0 1px 2px rgba(255,255,255,.35);
    z-index: 3;
}
.vsms-bento-item:hover {
    transform: scale(1.05) translateY(-3px) rotate(0deg) !important;
    box-shadow: 6px 10px 24px rgba(0,0,0,.22);
    z-index: 10;
}

/* Item 1: tall portrait spanning both rows */
.vsms-bento-item-1 {
    grid-column: 1;
    grid-row: 1 / 3;
    transform: rotate(-2.5deg);
    align-self: stretch;
}
.vsms-bento-item-1 .vsms-bento-img-wrap { height: calc(100% - 28px); min-height: 220px; }

/* Items 2 & 3: small squares top-right */
.vsms-bento-item-2 {
    grid-column: 2;
    grid-row: 1;
    transform: rotate(1.5deg);
}
.vsms-bento-item-3 {
    grid-column: 3;
    grid-row: 1;
    transform: rotate(-1deg);
}
.vsms-bento-item-2 .vsms-bento-img-wrap,
.vsms-bento-item-3 .vsms-bento-img-wrap { height: 90px; }

/* Item 4: wide landscape spanning 2 cols bottom-right */
.vsms-bento-item-4 {
    grid-column: 2 / 4;
    grid-row: 2;
    transform: rotate(1deg);
}
.vsms-bento-item-4 .vsms-bento-img-wrap { height: 90px; }

/* Items 5 & 6: fallback positions */
.vsms-bento-item-5 {
    grid-column: 2;
    grid-row: 2;
    transform: rotate(-1.5deg);
}
.vsms-bento-item-6 {
    grid-column: 3;
    grid-row: 2;
    transform: rotate(1deg);
}
.vsms-bento-item-5 .vsms-bento-img-wrap,
.vsms-bento-item-6 .vsms-bento-img-wrap { height: 90px; }

/* For 1-3 items: simpler flex layout */
.vsms-bento-count-1,
.vsms-bento-count-2,
.vsms-bento-count-3 {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    grid-template-columns: unset;
    grid-template-rows: unset;
}
.vsms-bento-count-1 .vsms-bento-item,
.vsms-bento-count-2 .vsms-bento-item,
.vsms-bento-count-3 .vsms-bento-item {
    grid-column: unset !important;
    grid-row: unset !important;
}
.vsms-bento-count-1 .vsms-bento-item { width: 200px; }
.vsms-bento-count-1 .vsms-bento-img-wrap { height: 180px; }
.vsms-bento-count-2 .vsms-bento-item,
.vsms-bento-count-3 .vsms-bento-item { width: 160px; }
.vsms-bento-count-2 .vsms-bento-img-wrap,
.vsms-bento-count-3 .vsms-bento-img-wrap { height: 130px; }
.vsms-bento-count-3 .vsms-bento-item-1 .vsms-bento-img-wrap { height: 180px; width: 150px; }

.vsms-bento-img-wrap {
    overflow: hidden;
    width: 100%;
    background: #e8f5e9;
}
.vsms-bento-img-wrap img,
.vsms-bento-img-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.vsms-bento-item:hover .vsms-bento-img-wrap img,
.vsms-bento-item:hover .vsms-bento-img-wrap video { transform: scale(1.06); }

.vsms-bento-play {
    position: absolute;
    inset: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.6);
    pointer-events: none;
}
.vsms-bento-more {
    position: absolute;
    inset: 6px 6px 28px;
    background: rgba(23,139,67,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.vsms-lightbox-open { overflow: hidden; }
.vsms-lightbox { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; background: rgba(8, 13, 20, .92); padding: 54px 72px; }
.vsms-lightbox-media { max-width: min(1100px, 100%); max-height: calc(100vh - 120px); display: flex; align-items: center; justify-content: center; }
.vsms-lightbox-media img, .vsms-lightbox-media video { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.35); background: #000; }
.vsms-lightbox-close, .vsms-lightbox-prev, .vsms-lightbox-next { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.vsms-lightbox-close:hover, .vsms-lightbox-prev:hover, .vsms-lightbox-next:hover { background: rgba(255,255,255,.24); transform: scale(1.04); }
.vsms-lightbox-close { top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; font-size: 28px; line-height: 1; }
.vsms-lightbox-prev, .vsms-lightbox-next { top: 50%; width: 46px; height: 58px; border-radius: 8px; transform: translateY(-50%); font-size: 34px; line-height: 1; }
.vsms-lightbox-prev:hover, .vsms-lightbox-next:hover { transform: translateY(-50%) scale(1.04); }
.vsms-lightbox-prev { left: 18px; }
.vsms-lightbox-next { right: 18px; }
.vsms-lightbox-count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }

@media (max-width: 768px) {
    .vsms-bento-grid {
        grid-template-columns: 130px 1fr 1fr;
        grid-template-rows: 100px 100px;
        gap: 14px;
        padding: 24px 8px 8px;
    }
    .vsms-bento-item-1 .vsms-bento-img-wrap { min-height: 160px; }
    .vsms-bento-item-2 .vsms-bento-img-wrap,
    .vsms-bento-item-3 .vsms-bento-img-wrap,
    .vsms-bento-item-4 .vsms-bento-img-wrap,
    .vsms-bento-item-5 .vsms-bento-img-wrap,
    .vsms-bento-item-6 .vsms-bento-img-wrap { height: 68px; }
    .vsms-lightbox { padding: 52px 12px; }
    .vsms-lightbox-prev, .vsms-lightbox-next { width: 38px; height: 48px; font-size: 28px; }
    .vsms-lightbox-prev { left: 8px; }
    .vsms-lightbox-next { right: 8px; }
}

/* ── OTP Verification ─────────────────────────────────────────────────────── */
.vsms-otp-wrap {
    text-align: center;
    padding: 8px 0 16px;
}
.vsms-otp-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.vsms-otp-wrap h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #1a1a1a;
}
.vsms-otp-wrap p {
    margin: 0 0 20px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}
.vsms-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 4px;
}
.vsms-otp-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    color: #178B43;
    background: #f9fafb;
}
.vsms-otp-digit:focus {
    border-color: #178B43;
    box-shadow: 0 0 0 3px rgba(23,139,67,.15);
    background: #fff;
}
		
