/* ==========================================================================
   My Deals — assets/css/my-deals.css
   Uses ONLY tokens already defined in assets/css/app.css (:root).
   ========================================================================== */

.vp-mydeals-page { padding-bottom: 40px; }

.vp-md-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0 4px;
}
.vp-md-title {
    flex: 1;
    font-family: var(--vp-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--vp-text);
    margin: 0;
}

/* ── States (loading / error / empty) ──────────────────────────────── */
.vp-md-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--vp-text-dim);
}
.vp-md-state__text {
    font-size: 14px;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}
.vp-md-retry {
    margin-top: 14px;
    background: transparent;
    border: 1px solid var(--vp-line-strong);
    color: var(--vp-text);
    font-family: var(--vp-font-body);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    cursor: pointer;
}
.vp-md-retry:hover { background: var(--vp-surface); }

/* ── Deal list ──────────────────────────────────────────────────────── */
.vp-md-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
}
.vp-md-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--vp-surface);
    border: 1px solid var(--vp-line);
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s var(--vp-ease);
}
.vp-md-card:hover { border-color: var(--vp-line-strong); }
.vp-md-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--vp-line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vp-text);
    flex-shrink: 0;
}
.vp-md-card__body { flex: 1; min-width: 0; }
.vp-md-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--vp-text);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vp-md-card__stage {
    font-size: 12px;
    color: var(--vp-text-dim);
    margin: 2px 0 0;
}
.vp-md-card__amount {
    font-family: var(--vp-font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--vp-text);
    flex-shrink: 0;
    white-space: nowrap;
}
.vp-md-card__chevron { color: var(--vp-text-dim); flex-shrink: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .vp-md-card { transition: none; }
}

@media (max-width: 560px) {
    .vp-md-title { font-size: 19px; }
}
