/* =====================================================
   VOOOMIE GROUP — Portfolio Manager Styles v1.0
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700&family=DM+Sans:wght@400;500&display=swap');

/* --- Wrap --- */
.vp-wrap { font-family: 'DM Sans', sans-serif; padding: 0; }

/* --- Filter Bar --- */
.vp-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.vp-filter {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid #d0d0d0;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.vp-filter:hover {
    border-color: #1D9E75;
    color: #1D9E75;
}
.vp-filter.active {
    background: #1D9E75;
    border-color: #1D9E75;
    color: #fff;
}

/* --- Grid --- */
.vp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* --- Card --- */
.vp-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vp-card:hover {
    border-color: #1D9E75;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(29, 158, 117, 0.12);
}
.vp-card.vp-hidden { display: none; }

/* --- Card Visual --- */
.vp-card-visual {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vp-visual-icon { display: flex; align-items: center; justify-content: center; }
.vp-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.03em;
}
.vp-result-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.10);
    color: #1a1a1a;
}

/* --- Card Body --- */
.vp-card-body { padding: 16px 18px 18px; }
.vp-industry {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 5px;
}
.vp-title {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #1a1a1a;
}
.vp-challenge {
    font-size: 13px;
    color: #777;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* --- Metrics Preview on Card --- */
.vp-metrics-preview { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.vp-metric-row { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #333; }
.vp-dot { width: 6px; height: 6px; border-radius: 50%; background: #1D9E75; flex-shrink: 0; }

/* --- Card Footer --- */
.vp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-bottom: 12px;
}
.vp-timeline { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #999; }
.vp-tool-tag {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 12px;
    background: #f5f5f5;
    color: #777;
    font-weight: 500;
}

/* --- View Button --- */
.vp-view-btn {
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1D9E75;
    background: transparent;
    border: 1px solid #1D9E75;
    border-radius: 8px;
    padding: 8px 0;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    display: block;
    text-align: center;
}
.vp-view-btn:hover { background: #1D9E75; color: #fff; }

/* --- Empty State --- */
.vp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 14px;
    border: 1px dashed #ddd;
    border-radius: 14px;
}

/* =====================================================
   MODAL OVERLAY
   ===================================================== */
.vp-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.vp-overlay.vp-open { display: flex; }

.vp-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    overflow: hidden;
    position: relative;
    margin: auto;
    animation: vp-slide-up 0.25s ease;
}

@keyframes vp-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Modal Visual Header --- */
.vp-modal-visual {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.vp-close-btn {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(0,0,0,0.12);
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.15s;
}
.vp-close-btn:hover { background: rgba(0,0,0,0.22); }

/* --- Modal Body --- */
.vp-modal-body { padding: 22px 24px 24px; }
.vp-m-industry {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}
.vp-m-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 18px;
}

/* --- Modal Metrics --- */
.vp-m-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.vp-mm {
    background: #f7faf9;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
}
.vp-mm-num {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1D9E75;
    display: block;
}
.vp-mm-lbl {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
    line-height: 1.35;
    display: block;
}

/* --- Modal Sections --- */
.vp-m-section { margin-bottom: 16px; }
.vp-m-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1D9E75;
    margin-bottom: 6px;
}
.vp-m-text { font-size: 14px; color: #555; line-height: 1.65; }

/* --- Deliverables --- */
.vp-m-del {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #333;
    margin-bottom: 7px;
    line-height: 1.5;
}
.vp-m-del-icon {
    flex-shrink: 0;
    width: 16px; height: 16px;
    background: #1D9E75;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.vp-m-del-icon svg { display: block; }

/* --- Client Quote --- */
.vp-m-quote {
    font-size: 13.5px;
    color: #555;
    font-style: italic;
    line-height: 1.65;
    border-left: 3px solid #1D9E75;
    padding-left: 14px;
    margin: 0;
}

/* --- Modal Footer --- */
.vp-m-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
    gap: 12px;
}
.vp-m-meta p {
    font-size: 12.5px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}
.vp-m-cta {
    background: #1D9E75;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s;
    display: inline-block;
    white-space: nowrap;
}
.vp-m-cta:hover { background: #0F6E56; color: #fff; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .vp-grid { grid-template-columns: 1fr; }
    .vp-m-metrics { grid-template-columns: repeat(3, 1fr); }
    .vp-modal { border-radius: 12px; }
    .vp-m-title { font-size: 16px; }
}
