html, body {
}

.ghost {
    opacity: 0.5;
}

.training-goal {
    background: var(--mud-palette-success);
    color: var(--mud-palette-success-text);
    display: inline-block;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.aed {
    display: inline-block;
    width: 1em;
    height: 1em;
    /* makes it inherit text color */
    background-color: currentColor;
    /* SVG mask */
    -webkit-mask: url('/_content/NPT.Base.Shared/icons/aed.svg') no-repeat center / contain;
    mask: url('/_content/NPT.Base.Shared/icons/aed.svg') no-repeat center / contain;
    /* keeps it aligned with text */
    vertical-align: -0.125em;
}


/* Overrides */
.two-col .mud-input-control.mud-input-outlined-with-label {
    margin-top: 0;
}

.mud-button-label {
    padding-top: 6px;
    padding-bottom: 6px;
}

.text-center {
    text-align: center;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42Nzg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rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.no-select {
    -webkit-user-select: none; /* Safari/Chrome */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Old IE/Edge */
    user-select: none; /* Standard (covers most modern browsers) */
}

.mud-theme-transparent.dialog-app-bar {
    background: white !important;
}

.filter-chip.mud-chip {
    background: white;
    border: solid rgb(231, 232, 236) 2px;
    font-weight: bold;
    color: black !important;
    background: white !important;
}

/* Animations */
@keyframes pulse-attention {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,0,0,0.35);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0,0,0,0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0,0,0,0);
    }
}

/* Apply to any element */
.pulse {
    animation: pulse-attention 1.5s infinite;
}

.pulse-radar {
    position: relative;
    z-index: 1;
}

.pulse-radar::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    border: 2px solid var(--mud-palette-primary);
    opacity: 0;
    animation: radar-pulse 1.8s infinite;
}

@keyframes radar-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.25);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Custom Search Bar */
.custom-search-bar {
    display: flex;
    width: 100%;
    gap: 16px;
    font-size: 20px;
    background: white;
    border: solid rgb(231, 232, 236) 2px;
    padding: 2px;
    border-radius: 15px;
}

    .custom-search-bar > div:first-child {
        text-align: center;
        flex-shrink: 0;
        line-height: 60px;
        padding-left: 14px;
        color: rgb(105, 127, 149);
    }

    .custom-search-bar > div:last-child {
        flex: 1;
    }

    .custom-search-bar input {
        background: transparent;
        line-height: 60px;
        width: 100%;
        padding-right: 15px;
    }

    .custom-search-bar input {
        outline: none;
        border: none;
        box-shadow: none;
    }

    .custom-search-bar:focus-within {
        border-color: var(--mud-palette-primary, #007BFF);
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
        background: #f8fbff;
    }

:root {
    --custom-border: solid rgb(231, 232, 236) 2px;
}

.custom-border {
    border: var(--custom-border);
}

/* Custom text field */
.custom-text-field, .custom-height-field {
    display: flex;
    width: 100%;
    gap: 16px;
    font-size: 20px;
    border: var(--custom-border);
    padding: 2px;
    background: white;
    border-radius: 15px;
}

    .custom-text-field-wrapper p.mud-typography.mud-typography-subtitle2 {
        color: #475566 !important;
    }

.custom-text-field > div:first-child,
.custom-height-field > div:first-child {
    text-align: center;
    flex-shrink: 0;
    line-height: 50px;
    padding-left: 14px;
    color: rgb(105, 127, 149);
}

.custom-text-field > div:last-child {
    flex: 1;
}


.custom-height-field input, .custom-text-field input, .custom-text-field textarea {
    background: transparent;
    width: 100%;
    padding-right: 15px;
    outline: none;
    border: none;
    box-shadow: none;
}

.custom-text-field input, .custom-height-field input, {
    line-height: 50px;
}

.custom-text-field textarea {
    line-height: 40px;
}

.custom-text-field:focus-within, .custom-height-field:focus-within, {
    border-color: var(--mud-palette-primary, #007BFF);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
    background: #f8fbff;
}

.custom-text-field.readonly {
    /*background: #f4f6f8;*/
    /*border-color: transparent;*/
    cursor: default;
}

.custom-text-field.readonly input {
    color: #7d8aa0;
    cursor: default;
}

.custom-text-field.readonly:focus-within {
    /*border-color: transparent;
    box-shadow: none;*/
    background: #f4f6f8;
}

/* Custom height field */
.custom-height-field {
    display: flex;
    align-items: center;
}

    /* input wrapper */
    .custom-height-field > div:first-child {
        flex: 1;
    }

    /* unit label */
    .custom-height-field > div:last-child {
        text-align: right;
        flex-shrink: 0;
        padding-right: 14px;
        line-height: 50px;
        color: rgb(105, 127, 149);
    }


/* Custom dropdown */
.custom-select-field {
    background: white;border-radius: 15px;
}

/* bottom bar main */
nav.bottom {
    padding-left: 32px;
    padding-right: 32px;
    background: white;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -8px 10px -4px rgba(0, 0, 0, 0.1);
}

    nav.bottom div.indicator {
        position: absolute;
        top: 0px;
        height: 20px;
        transition: left 0.2s ease;
        left: calc( ((100% - 64px) / var(--tab-count) * var(--active-index)) + 32px);
        width: 40px;
        width: calc( ((100% - 64px) / var(--tab-count)) );
    }

        nav.bottom div.indicator > div {
            height: 6px;
            top: -0px;
            width: 40px;
            margin: 0 auto;
            position: relative;
            background: var(--mud-palette-primary);
            border-radius: 0 0 8px 8px;
            /*box-shadow: 0 0 6px var(--mud-palette-primary);*/
        }

    nav.bottom ul {
        background: white;
        display: flex;
        justify-content: space-between; /* Or use space-around / space-evenly */
        text-align: center;
    }

        nav.bottom ul li {
            flex: 1;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center
        }

            nav.bottom ul li a.active {
                color: var(--mud-palette-primary);
                font-weight: bold;
                padding-top: 20px;
                padding-bottom: 20px;
                /* Very subtle text glow */
                /*text-shadow: 0 0 1px currentColor;
                transition: text-shadow 0.4s ease;*/
            }

            nav.bottom ul li a {
                color: var(--mud-palette-text-disabled);
                font-weight: bold;
                padding-top: 24px;
                padding-bottom: 24px;
                line-height: 28px;
            }

                nav.bottom ul li a i {
                    font-size: 30px
                }




.badge-wrapper {
    position: relative
}

.badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--mud-palette-gray-default);
    height: 15px;
    width: 15px;
    border-radius: 15px;
    box-shadow: 0 0 16px 0px var(--mud-palette-gray-default);
}
.badge.small {
    height: 10px;
    width: 10px;
}
.badge.top {
    bottom: auto;
    top: 10px;
}

    .badge.inactive {
        display: none;
    }

    .badge.active {
        background: var(--mud-palette-success-text);
        box-shadow: 0 0 16px 0px var(--mud-palette-success-text);
    }
    .badge.red {
        background: var(--mud-palette-error-text);
        box-shadow: 0 0 16px 0px var(--mud-palette-error-text);
    }


/* Selectable card - REGISTRATION */


.registration-selectable-card {
    border: solid 2px #ddd;
    border-radius: 10px;
    cursor: pointer;
    background: white;
}

    .registration-selectable-card.selected {
        border: solid 2px var(--mud-palette-primary);
    }

    .registration-selectable-card > div.registration-selectable-card-two-col {
        display: flex;
        gap: 10px;
    }

    .registration-selectable-card .left {
        width: 90px; /* fixed width */
        flex-shrink: 0; /* don�t collapse */
    }

    .registration-selectable-card .right {
        flex: 1; /* take remaining space */
        position: relative;
    }

    .registration-selectable-card .selection-indicator {
        position: absolute;
        top: 0;
        right: 0;
    }


/* Mud alert info icon */
.mud-alert-text-info .mud-icon-root.mud-svg-icon.mud-icon-size-medium {
    color: var(--mud-palette-primary);
}


/* Big Profile picture */
.profile-picture-wrapper {
    display: flex;
    justify-content: center;
    text-align: center;
}

    .profile-picture-wrapper button.mud-button {
        font-weight: bold;
        text-transform: capitalize
    }

    .profile-picture-wrapper img {
        display: block;
        border: 4px white solid;
        height: 150px;
        width: 150px;
        object-position: center;
        border-radius: 75px;
        box-shadow: var(--mud-elevation-2);
        margin: 0 auto;
    }

    .profile-picture-wrapper.small img {
        height: 100px;
        width: 100px;
        object-position: center;
        border-radius: 50px;
    }


/* helpers */

.two-col {
    display: flex;
    gap: 1rem; /* space between columns */
    align-items: flex-start; /* or stretch/center */
}

    .two-col > div {
        flex: 1 1 0; /* equal columns */
        min-width: 0; /* prevents overflow from long content */
    }

        .two-col > div.toggle-right {
            flex: 0 0 auto; /* stop 50% expansion */
            margin-left: auto;
        }
.two-col > div.square {
    flex: 0 0 120px; /* fixed width (pick your size) */
    aspect-ratio: 1 / 1; /* keeps it square */
}



/* Profile */
.avatar-wrap {
    position: relative;
    width: 120px;
    margin: 0 auto;
}

.avatar {
    width: 120px;
    height: 120px;
    border: 3px solid white;
    box-shadow: var(--mud-elevation-4);
}

.avatar-edit {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: white;
    box-shadow: var(--mud-elevation-2);
}

.coach-code-card {
    background: var(--mud-palette-primary);
    color: white;
    border-radius: 16px;
}

.code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 2px;
}

.code-gap {
    width: 18px;
}

.share-btn {
    background: #fff !important;
    color: var(--mud-palette-primary) !important;
    border-radius: 12px;
}

.copy-btn {
    background: transparent;
    border-radius: 12px;
    width: 52px;
    height: 52px;
}

.list {
    padding: 8px;
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 12px;
}

    .list-row + .list-row {
        margin-top: 6px;
    }

.list-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(0,0,0,.86);
}

.list-right {
    opacity: .75;
    display: flex;
    align-items: center;
}

    .list-right.ok {
        color: var(--mud-palette-success-text);
        opacity: 1;
    }

    .list-right.chev {
        opacity: .45;
    }

.list-divider {
    height: 1px;
    margin: 10px 8px;
    background: rgba(0,0,0,.08);
    border-radius: 1px;
}

.clickable {
    cursor: pointer;
    /*text-decoration: none;
    width: 100%;
    border: 0;*/
    /*background: transparent;*/
    /*text-align: left;*/
}

    .clickable:hover {
        /*background: rgba(0,0,0,.04);*/
    }

.danger .list-left {
    color: var(--mud-palette-error-text);
}

.danger:hover {
    background: rgba(244, 67, 54, .08);
}


/* Session Confirmations */

.confirm-session-wrap {
    width: 100%;
}

.confirm-all-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #2f6df6;
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 16px;
    box-shadow: 0 4px 12px rgba(47, 109, 246, 0.22);
    cursor: pointer;
    margin-bottom: 16px;
}

    .confirm-all-btn .check {
        margin-right: 8px;
        font-size: 13px;
    }

.session-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 2px 14px rgba(24, 39, 75, 0.08);
    border: 1px solid #f1f3f7;
}

.session-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.session-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.person-meta {
    min-width: 0;
}

.name {
    font-size: 18px;
    font-weight: 700;
    color: #1a2233;
    line-height: 1.1;
    margin-bottom: 4px;
}

.type {
    font-size: 14px;
    color: #8c97ad;
    font-weight: 500;
}

.session-card > .session-header > .session-card-badge {
    flex-shrink: 0;
    background: #eef4ff;
    color: #7f95c7;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.session-details {
    display: flex;
    gap: 36px;
    margin-bottom: 22px;
}

.detail-block {
    min-width: 90px;
}

.detail-label {
    font-size: 11px;
    font-weight: 700;
    color: #b2bbcc;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 24px;
    font-weight: 800;
    color: #33415c;
    line-height: 1.1;
}

.session-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

    .action-btn.secondary {
        background: #fff;
        color: #8b95a7;
        border-color: #edf1f6;
    }

        .action-btn.secondary:hover {
            background: #f8fafc;
        }

    .action-btn.primary {
        background: #edf4ff;
        color: #2f6df6;
    }

        .action-btn.primary:hover {
            background: #dfeaff;
        }

