/* ─── My Dashboard ─── */
/* Extends profile.css (hero, .profile-section base) with card-grid styles. */

/* Hero stats strip */
.dashboard-stats {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 900px;
}

.dashboard-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
}

.dashboard-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
    flex-shrink: 0;
}

.dashboard-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dashboard-stat-label {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.75;
    font-weight: 600;
}

.dashboard-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Section title */
.dashboard-section-title {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dashboard-section-title i {
    color: #64748b;
    font-size: 16px;
}

/* Cards grid */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 24px 26px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.2s, transform 0.15s;
}

.dashboard-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.dashboard-card-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.dashboard-card-disabled:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dashboard-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.dashboard-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 19px;
    flex-shrink: 0;
}

.dashboard-card-head h3 {
    margin: 0;
    font-size: 17px;
    color: #1e293b;
    font-weight: 700;
}

.dashboard-card-sub {
    margin: 4px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.dashboard-card-status {
    flex: 1;
}

.dashboard-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
}

.dashboard-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border-color: #3b82f6;
}
.dashboard-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.dashboard-btn-outline {
    background: white;
    color: #1e293b;
    border-color: #cbd5e1;
}
.dashboard-btn-outline:hover {
    border-color: #3b82f6;
    color: #1d4ed8;
    background: #eff6ff;
}

/* Status pills + meta */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.status-signed {
    background: #d1fae5;
    color: #065f46;
}
.status-pending {
    background: #fef3c7;
    color: #92400e;
}
.status-loading {
    background: #dbeafe;
    color: #1e40af;
}

.status-meta {
    display: block;
    font-size: 12.5px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats { grid-template-columns: 1fr; max-width: none; }
    .dashboard-cards { grid-template-columns: 1fr; }
    .dashboard-card { padding: 20px 18px; }
}
