#view-dashboard { padding: 120px 40px 80px; }

.dash-wrap { max-width: 1050px; margin: 0 auto; }

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}
.dash-head h1 {
    font-size: 40px;
    font-weight: 200;
    color: #f2ebf0;
}
.dash-head .welcome { color: #8f8089; font-size: 15px; }
.dash-head .welcome span { color: #e878b4; }

.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}
.dash-card {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.015);
    padding: 34px 32px;
}
.dash-card.accent {
    border-color: #e91e8c;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(160, 25, 100, 0.14), transparent 75%),
        rgba(255, 255, 255, 0.015);
}
.dash-card h4 {
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9c8d96;
    margin-bottom: 18px;
}
.dash-card .big {
    font-size: 30px;
    font-weight: 300;
    color: #f5eef3;
    margin-bottom: 8px;
}
.dash-card .sub { font-size: 13.5px; color: #8f8089; }
.dash-card .ok { color: #e878b4; }

.status-dot {
    display: inline-block;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #e91e8c;
    margin-right: 10px;
    box-shadow: 0 0 8px rgba(233, 30, 140, 0.8);
}

.dash-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.dash-actions .btn-outline { width: auto; padding: 15px 46px; }

.dash-list { list-style: none; }
.dash-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #cfc3cb;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-list li:last-child { border-bottom: none; }
.dash-list .t { color: #7a6d75; font-size: 12.5px; }
.dash-list .access-ok { color: #e878b4; }
.dash-list .locked { color: #5f5259; }

.status-dot.expired {
    background: #ff4d4d;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.6);
}
.expired-text { color: #ff4d4d; }

#view-dashboard.enter .dash-head,
#view-dashboard.enter .dash-grid,
#view-dashboard.enter .dash-actions {
    animation: dashIn .6s ease both;
}
#view-dashboard.enter .dash-grid:nth-of-type(2) { animation-delay: .12s; }
#view-dashboard.enter .dash-grid:nth-of-type(3) { animation-delay: .24s; }
#view-dashboard.enter .dash-grid:nth-of-type(4) { animation-delay: .36s; }
#view-dashboard.enter .dash-actions { animation-delay: .48s; }
@keyframes dashIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

#view-dashboard.leave .dash-wrap {
    animation: dashOut .45s ease both;
}
@keyframes dashOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-14px); }
}

#dl-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}
#dl-modal.on { display: flex; }
#dl-modal.shown { opacity: 1; }

.dl-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 4, 6, 0.85);
    backdrop-filter: blur(6px);
}

.dl-box {
    position: relative;
    width: 460px;
    max-width: calc(100% - 40px);
    background: #13101a;
    border: 1px solid rgba(233, 30, 140, 0.25);
    padding: 50px 42px 44px;
    z-index: 1;
    box-shadow: 0 0 60px rgba(233, 30, 140, 0.08), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dl-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #7a6d75;
    font-size: 24px;
    cursor: pointer;
    transition: color .2s;
    line-height: 1;
    padding: 4px;
}
.dl-close:hover { color: #e91e8c; }

.dl-title {
    font-size: 24px;
    font-weight: 200;
    color: #f2ebf0;
    text-align: center;
    margin-bottom: 10px;
}

.dl-sub {
    font-size: 13px;
    color: #8f8089;
    text-align: center;
    margin-bottom: 36px;
}

.dl-box .field { margin-bottom: 28px; }

.dl-box #dl-key {
    font-family: "Consolas", "Courier New", monospace;
    letter-spacing: 2px;
    font-size: 15px;
}

.dl-status-text {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #9c8d96;
    text-align: center;
    margin-bottom: 18px;
    min-height: 16px;
}
.dl-status-text .dl-ok { color: #e878b4; }
