/* ==========================================================================
   APPS DASHBOARD
   ========================================================================== */
.dashboard-grid-container { max-width: 1200px; margin: 0 auto; animation: fadeIn 0.25s ease-out; }
.dashboard-banner { margin-bottom: 30px; }
.dashboard-banner h1 { font-size: 30px; font-weight: 700; margin-bottom: 6px; }
.dashboard-banner p { color: var(--ink-2); font-size: 15px; }

.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

.app-card {
    border-radius: 12px;
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: var(--transition-fast);
}

/* Icon tile: brand colour fill with a deep-blue glyph (an approved brand pairing) */
.app-icon {
    width: 46px; height: 46px; border-radius: 10px;
    background: var(--accent-color, var(--nml-electric));
    color: var(--nml-deep);
    display: flex; justify-content: center; align-items: center;
    font-size: 19px; flex: none;
}
.app-meta { flex: 1; min-width: 0; }
.app-meta h3 { font-size: 15px; margin-bottom: 3px; font-weight: 600; padding-right: 60px; }
.app-meta p { font-size: 12px; color: var(--ink-3); }

.badge {
    position: absolute; top: 12px; right: 12px;
    font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 3px 8px; border-radius: 50px;
    background: var(--surface-3); color: var(--ink-3);
}
.badge.active { background: var(--accent-soft); color: var(--ink); }

.app-card.active-card { cursor: pointer; }
.app-card.active-card:hover { border-color: var(--link-line); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.app-card.disabled { opacity: 0.6; }
.app-card.disabled .app-icon { filter: saturate(0.25); }

.pulse-accent { animation: softPulse 3s infinite; }
@keyframes softPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 233, 250, 0); }
    50% { box-shadow: 0 0 0 5px rgba(0, 233, 250, 0.25); }
}
