/* Hub screens — the five bottom-nav tabs and the cards on the grouped ones.
   Home and Profile are content screens; Academics, Finance and Care open a
   launchpad of cards that each lead to one of the grouped sections. */

.hub-screen .dashboard-container {
    padding-bottom: 96px;
}

.hub-cards {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.hub-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e6e9f5;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hub-card:active {
    transform: scale(0.985);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.hub-card-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(71, 16, 235, 0.1);
    color: #4710EB;
    font-size: 18px;
}

.hub-card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.hub-card-label {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
}

.hub-card-blurb {
    font-size: 12px;
    line-height: 1.4;
    color: #6b7280;
}

.hub-card-chevron {
    flex: 0 0 auto;
    color: #c3c8d6;
    font-size: 14px;
}

/* The premium-locked card keeps its badge readable inside the card layout */
.hub-card.premium-locked-btn {
    position: relative;
}
