/* Helpers */
.clickable {
    cursor: pointer;
}

.ghost {
    opacity: 0.4;
}

/* Card Headers */
.mud-card-header h1 {
    color: var(--mud-palette-primary)
}

/* you are studying */
.you-are-studying-card {
    height: calc(100dvh - 120px); /* preferred modern */
    display: flex;
    flex-direction: column;
}

    .you-are-studying-card div.drawer-content {
        position: relative;
        padding-top: 00px;
        overflow-y: hidden;
    }

    .you-are-studying-card div.readout {
        position: absolute;
        top: calc(50vw - 15px);
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .you-are-studying-card div.readout h1 {
            font-size: 80px;
            color: var(--mud-palette-primary)
        }

    .you-are-studying-card .progress-wheel {
        width: calc(100vw - 30px);
        height: calc(100vw - 30px);
    }


/* drawers */
.drawer-content {
    height: 500px;
    overflow-y: auto;
}

/* App Bar (Top)*/
.mud-toolbar.mud-toolbar-gutters.mud-toolbar-appbar {
    padding-left: 6px;
    padding-right: 6px;
}

/* General */
.fab-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 1000;
}

.secondary-fab {
    border: 2px solid #034078;
    margin-top: 10px;
    background: #eee;
}

    .secondary-fab:hover {
        border: 2px solid #022A50;
        margin-top: 10px;
        background: #e3e3e3;
    }

/* Landing page */

landing-hero {
    text-align: center;
    padding: 4rem 1rem 2rem 1rem;
}

    landing-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 0.4rem;
    }

    landing-hero p {
        font-size: 1.25rem;
    }

landing-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem 2rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

    landing-menu > item {
        background: white;
        color: var(--mud-palette-primary);
        border: 1px solid #E5E7EB;
        border-radius: 12px;
        padding: 2rem;
        text-align: center;
        transition: all 0.2s ease;
        cursor: pointer;
    }

        landing-menu > item.settings {
            background: transparent;
            border: 1px solid transparent;
        }

        landing-menu > item > i {
            font-size: 50px;
        }

        landing-menu > item:hover {
            transform: scale(1.02);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        landing-menu > item h2 {
            margin: 0 0 0.5rem;
        }

        landing-menu > item p {
            color: #6B7280;
            font-size: 1rem;
            margin: 0;
        }

/* Exams Page */
.mud-timeline-item:last-child {
    margin-bottom: 82px; /* Leave space for fab buttons*/
}

.exam-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1rem 1.5rem 1.4rem 1.5rem;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

    .exam-card:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .exam-card > h2 {
        margin-top: 0;
    }

    .exam-card > p:last-child {
        margin-bottom: 0;
    }

.subject-icon{font-size: 50px;color: #aaa}