/* ============================================
   Dashboard - Hub Page Styles
   ============================================ */

.main-content { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 24px 24px 48.125px; min-height: 100vh; }

.dashboard { width: 100%; max-width: 1080px; flex: 1; display: flex; flex-direction: column; min-height: 0; }

/* Header */
.dashboard__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.dashboard__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* Grid */
.dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    align-content: start;
}
@media (min-width: 900px) {
    .dashboard__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* Menu Card */
.menu-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    min-width: 0;
    transition: transform 0.24s cubic-bezier(0.2,0,0,1), box-shadow 0.24s cubic-bezier(0.2,0,0,1), border-color 0.24s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Icon */
.menu-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.coretax-icon { background: #E8F0FE; }
.pos-icon { background: #fdecea; }
.matcher-icon { background: #d1fae5; }

/* Text */
.menu-text { position: relative; z-index: 1; }
.menu-title {
    font-size: 1rem; font-weight: 700; color: var(--ink);
    margin-bottom: 4px; line-height: 1.3;
    overflow-wrap: break-word;
}
.menu-desc {
    font-size: 0.82rem; color: var(--muted); line-height: 1.5;
    overflow-wrap: break-word;
}

/* Blob decoration */
.menu-blob {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 120px; height: 120px;
    border-radius: 50%;
    opacity: 0.35;
    z-index: 0;
    transition: opacity 0.24s ease;
    pointer-events: none;
}
.menu-card:hover .menu-blob { opacity: 0.5; }

.coretax-blob { background: #90CAF9; }
.pos-blob { background: #fecdd3; }
.matcher-blob { background: #a7f3d0; }

/* Animation — block sendiri di bawah menu, selalu di atas footer */
.dashboard__animation {
    flex-shrink: 0;
    margin-top: 16px;
    display: flex;
    justify-content: center;
}
.dashboard__animation-lottie {
    height: 190px;
    width: auto;
    max-width: 100%;
    aspect-ratio: 16 / 9;
}
.dashboard__animation-lottie svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Footer */
.footer {
    position: fixed; bottom: 0; left: 0; right: 0; height: 48px;
    background: rgba(255,255,255,0.86); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-top: 1px solid rgba(230,234,240,0.82);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 600; color: var(--muted); z-index: 90;
}