:root{   

 --sjb-main-bgColor: rgb(0, 0, 0);

 --sjb-bgColor:rgb(20, 20, 20);

 --sjb-titleColor: white;

 --sjb-buttonBg: limegreen;

 --sjb-limeGreen: limegreen;



 --sjb-short-text: 2em;

 --sjb-medium-text: 1em;

 --sjb-long-text: 1em;

 

}

/* nav bar */

.navBg{

    background-color:var(--sjb-main-bgColor) ;

}

.removeOutline{

    outline: none !important;



}



/* body */

body{

    height: 100%;

    background-color: var(--sjb-main-bgColor) !important;

}

body{

    min-height: 100vh;

}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

#app,
#mainContainer {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.navbar .container-fluid {
    min-width: 0;
}

.navbar-brand {
    max-width: calc(100% - 56px);
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-brand img {
        width: 40px;
    }
}

.dashboard-main-container {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: 100%;
}

.bgColor{

    background-color: var(--sjb-bgColor)!important;

}

.titleColor{

    color:var(--sjb-titleColor)

}

.noDeco{

    text-decoration: none;

}

.buttonBg{

    background-color: var(--sjb-buttonBg);

}

.bgLimeGreen{

    background-color: var(--sjb-limeGreen)!important;

    

}

.ex-short{

    font-size: var(--sjb-short-text);

}

.ex-medium{

    font-size: var(--sjb-medium-text);

}

.ex-long{

    font-size: var(--sjb-long-text);

    margin-top: 10px;

}

.sjbAlignCenter{

    align-content: center;

}

/* dashboard */

.dashboard-page {
    background:
        radial-gradient(circle at top left, rgba(151, 255, 0, 0.14), transparent 30rem),
        linear-gradient(180deg, #03070a 0%, #081018 54%, #030405 100%);
    box-sizing: border-box;
    border-radius: 22px;
    color: #f7f9fb;
    margin: 0 auto;
    max-width: min(980px, 100%);
    min-height: 70vh;
    overflow-x: hidden;
    overscroll-behavior-x: none;
    padding: 1rem;
    width: 100%;
}

.dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.dashboard-header {
    padding: 0.75rem 0.25rem 0.25rem;
}

.dashboard-eyebrow,
.dashboard-section-title {
    color: #b7ff18;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-section-heading {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.dashboard-section-link {
    color: #d7ff65;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-section-link:hover,
.dashboard-section-link:focus {
    color: #ffffff;
}

.dashboard-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0.2rem 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dashboard-subtitle {
    color: #b8c2ca;
    margin: 0;
    overflow-wrap: anywhere;
}

.dashboard-card {
    background: linear-gradient(145deg, rgba(14, 24, 32, 0.96), rgba(7, 12, 18, 0.96));
    border: 1px solid rgba(183, 255, 24, 0.18);
    border-radius: 18px;
    box-sizing: border-box;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 1rem;
    width: 100%;
}

.dashboard-card > *,
.dashboard-progress-heading > *,
.dashboard-section-heading > *,
.dashboard-streak-card > *,
.dashboard-workout-content {
    min-width: 0;
}

.dashboard-card-muted {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-status-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    min-width: 0;
}

.dashboard-top-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    min-width: 0;
}

.dashboard-energy-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.dashboard-energy-card,
.dashboard-chapter-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-energy-secondary-action,
.dashboard-tracking-cancel,
.dashboard-tracking-submit,
.dashboard-tracking-undo {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    min-height: 42px;
    padding: 0.62rem 1rem;
}

.dashboard-energy-secondary-action,
.dashboard-tracking-cancel,
.dashboard-tracking-undo {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(183, 255, 24, 0.28);
    color: #e7edf2;
}

.dashboard-energy-secondary-action:hover,
.dashboard-energy-secondary-action:focus-visible,
.dashboard-tracking-cancel:hover,
.dashboard-tracking-cancel:focus-visible,
.dashboard-tracking-undo:hover,
.dashboard-tracking-undo:focus-visible {
    background: rgba(183, 255, 24, 0.1);
    border-color: rgba(183, 255, 24, 0.72);
    color: #ffffff;
    outline: 3px solid rgba(183, 255, 24, 0.18);
    outline-offset: 2px;
}

.dashboard-tracking-confirmation,
.dashboard-tracking-notice,
.dashboard-tracking-settings {
    background: rgba(7, 15, 21, 0.88);
    border: 1px solid rgba(174, 204, 221, 0.18);
    border-radius: 16px;
    padding: 1rem;
}

.dashboard-tracking-confirmation:focus {
    border-color: rgba(183, 255, 24, 0.68);
    outline: 3px solid rgba(183, 255, 24, 0.14);
}

.dashboard-tracking-confirmation p {
    color: #b8c2ca;
    font-size: 0.84rem;
    margin: 0.65rem 0 0;
}

.dashboard-tracking-confirmation .dashboard-tracking-warning {
    color: #ffd98e;
}

.dashboard-tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.dashboard-tracking-actions form {
    margin: 0;
}

.dashboard-tracking-submit {
    background: #b7ff18;
    border: 1px solid #b7ff18;
    color: #071015;
}

.dashboard-tracking-submit:hover,
.dashboard-tracking-submit:focus-visible {
    background: #d0ff65;
    border-color: #d0ff65;
    outline: 3px solid rgba(183, 255, 24, 0.22);
    outline-offset: 2px;
}

.dashboard-tracking-notice {
    border-color: rgba(183, 255, 24, 0.28);
    color: #dce4e9;
    font-size: 0.82rem;
}

.dashboard-tracking-notice strong,
.dashboard-tracking-notice span {
    display: block;
}

.dashboard-tracking-notice strong {
    color: #b7ff18;
    margin-bottom: 0.2rem;
}

.dashboard-tracking-notice span {
    color: #8f9ba5;
    margin-top: 0.35rem;
}

.dashboard-tracking-settings {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.dashboard-tracking-settings strong,
.dashboard-tracking-settings span {
    display: block;
}

.dashboard-tracking-settings strong {
    color: #e7edf2;
    font-size: 0.82rem;
}

.dashboard-tracking-settings span {
    color: #8f9ba5;
    font-size: 0.74rem;
}

.dashboard-tracking-compact-note {
    color: #b7ff18;
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 0.2rem;
}

.dashboard-energy-net {
    color: #e7edf2;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: right;
}

.dashboard-energy-deficit {
    color: #b7ff18;
}

.dashboard-energy-surplus {
    color: #ff7b7b;
}

.dashboard-energy-balance-track {
    background: linear-gradient(90deg, rgba(183, 255, 24, 0.28), rgba(255, 255, 255, 0.08) 50%, rgba(255, 83, 83, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 16px;
    margin-bottom: 1.85rem;
    margin-top: 2.45rem !important;
    position: relative;
}

.dashboard-energy-balance-track.energy-goal-loss,
.dashboard-energy-balance-track.energy-goal-neutral {
    background: linear-gradient(90deg, rgba(183, 255, 24, 0.28), rgba(255, 255, 255, 0.08) 50%, rgba(255, 83, 83, 0.28));
}

.dashboard-energy-balance-track.energy-goal-gain {
    background: linear-gradient(90deg, rgba(255, 83, 83, 0.28), rgba(255, 255, 255, 0.08) 50%, rgba(183, 255, 24, 0.28));
}

.dashboard-energy-zero-line {
    background: rgba(255, 255, 255, 0.78);
    bottom: -5px;
    left: 50%;
    position: absolute;
    top: -5px;
    width: 2px;
}

.dashboard-energy-tick {
    bottom: -8px;
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
    width: 1px;
}

.dashboard-energy-tick::before {
    background: rgba(255, 255, 255, 0.5);
    content: "";
    display: block;
    height: 24px;
    width: 1px;
}

.dashboard-energy-tick-zero::before {
    background: rgba(255, 255, 255, 0.88);
    width: 2px;
}

.dashboard-energy-tick span {
    color: #b8c2ca;
    font-size: 0.64rem;
    font-weight: 800;
    left: 50%;
    letter-spacing: 0.02em;
    position: absolute;
    top: 27px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.dashboard-energy-marker {
    background: #ffffff;
    border: 3px solid #b7ff18;
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(183, 255, 24, 0.7);
    height: 26px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
}

.dashboard-energy-marker-label {
    background: rgba(4, 10, 14, 0.92);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.18);
    color: #f7f9fb;
    font-size: 0.76rem;
    font-weight: 900;
    left: 50%;
    line-height: 1;
    padding: 0.42rem 0.62rem;
    position: absolute;
    top: -2.2rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

.dashboard-energy-balance {
    color: #f7f9fb;
}

.dashboard-energy-axis {
    color: #8f9ba5;
    display: flex;
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: space-between;
    text-transform: uppercase;
}

.dashboard-energy-stats,
.dashboard-chapter-summary {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-energy-stats > div,
.dashboard-chapter-summary > div:not(.chapter-stat-card) {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem;
}

.dashboard-energy-stats span {
    color: #8f9ba5;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-energy-stats strong {
    color: #f7f9fb;
    display: block;
    font-size: 1rem;
}

.dashboard-chapter-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-chapter-summary .chapter-stat-card {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.055), transparent 42%),
        linear-gradient(160deg, rgba(22, 35, 44, 0.96), rgba(6, 12, 18, 0.98));
    border: 1px solid rgba(174, 204, 221, 0.18);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 16px 34px rgba(0, 0, 0, 0.24);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    justify-content: space-between;
    padding: 1rem 1rem 1.25rem;
    text-align: center;
}

.dashboard-chapter-summary .chapter-stat-card:hover {
    border-color: rgba(183, 255, 24, 0.18);
}

.chapter-stat-label {
    align-items: center;
    align-self: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #b7ff18;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 0.36rem;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 0;
    text-transform: uppercase;
}

.chapter-stat-label span {
    font-size: 0.78rem;
}

.chapter-stat-value {
    background: transparent;
    border: 0;
    color: #f7f9fb;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-top: auto;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.chapter-stat-value span {
    color: #8f9ba5;
    display: block;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0.16rem;
}

.dashboard-energy-forms {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.dashboard-energy-form {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(183, 255, 24, 0.12);
    border-radius: 12px;
    padding: 0.75rem;
}

.dashboard-energy-input-row,
.dashboard-energy-settings-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 0.4rem;
}

.dashboard-energy-settings-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
}

.dashboard-energy-profile-grid {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    margin-top: 0.55rem;
}

.dashboard-energy-setting-field {
    display: grid;
    gap: 0.35rem;
}

.dashboard-energy-readonly-value {
    background: rgba(183, 255, 24, 0.06);
    border: 1px solid rgba(183, 255, 24, 0.18);
    border-radius: 10px;
    color: #dfff77;
    font-weight: 900;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
}

.dashboard-energy-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #ffffff;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.dashboard-energy-form select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #ffffff;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    width: 100%;
}

.dashboard-energy-form select option {
    background: #071018;
    color: #ffffff;
}

.dashboard-energy-form button {
    background: #b7ff18;
    border: 0;
    border-radius: 10px;
    color: #101700;
    font-weight: 900;
    padding: 0.55rem 0.75rem;
}

.dashboard-energy-estimate-status {
    color: #b7ff18;
    font-size: 0.78rem;
    font-weight: 900;
}

.dashboard-energy-missing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dashboard-energy-missing-list span {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.32);
    border-radius: 999px;
    color: #d8f8ff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.22rem 0.5rem;
}

.dashboard-energy-profile-link {
    color: #d7ff65;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    margin-top: 0.65rem;
    text-decoration: none;
}

.dashboard-energy-profile-link:hover,
.dashboard-energy-profile-link:focus {
    color: #ffffff;
}

.dashboard-burn-explainer {
    display: grid;
    gap: 0.7rem;
}

.dashboard-burn-toggle {
    align-items: center;
    background:
        radial-gradient(circle at left, rgba(183, 255, 24, 0.12), transparent 18rem),
        rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(183, 255, 24, 0.24);
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(183, 255, 24, 0.08);
    color: #f7f9fb;
    display: flex;
    font-weight: 900;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.8rem 0.9rem;
    text-align: left;
    width: 100%;
}

.dashboard-burn-toggle:hover,
.dashboard-burn-toggle:focus {
    border-color: rgba(183, 255, 24, 0.48);
    box-shadow: 0 0 26px rgba(183, 255, 24, 0.14);
    outline: 0;
}

.dashboard-burn-toggle-main,
.dashboard-burn-toggle-state {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
}

.dashboard-burn-toggle-icon,
.dashboard-burn-toggle-chevron {
    color: #b7ff18;
    text-shadow: 0 0 12px rgba(183, 255, 24, 0.45);
}

.dashboard-burn-toggle-state {
    color: #b8c2ca;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.dashboard-burn-toggle-helper {
    color: #8f9ba5;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.12rem;
    text-transform: none;
}

.dashboard-burn-panel {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(183, 255, 24, 0.12);
    border-radius: 14px;
    padding: 0.75rem;
}

.dashboard-burn-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-burn-info-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem;
}

.dashboard-burn-example {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 12px;
    color: #d8f8ff;
    font-size: 0.86rem;
    margin-top: 0.7rem;
    padding: 0.7rem 0.75rem;
}

.dashboard-burn-profile-form {
    background: transparent;
    border: 0;
    padding: 0;
}

.dashboard-burn-bodyweight-card {
    align-items: center;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 0.8rem;
    padding: 0.8rem;
}

.profile-setup-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 9rem);
    padding: 1rem 0;
}

.profile-setup-card {
    background:
        radial-gradient(circle at top left, rgba(183, 255, 24, 0.16), transparent 24rem),
        linear-gradient(145deg, rgba(14, 26, 32, 0.98), rgba(4, 8, 12, 0.98));
    border: 1px solid rgba(183, 255, 24, 0.34);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48), 0 0 34px rgba(183, 255, 24, 0.1);
    color: #f7f9fb;
    max-width: 820px;
    padding: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
}

.profile-setup-title {
    color: #b7ff18;
    font-size: clamp(2rem, 7vw, 3.3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    margin: 0.25rem 0 0.55rem;
    text-shadow: 0 0 18px rgba(183, 255, 24, 0.45);
}

.profile-setup-subtitle {
    color: #bdd1dd;
    margin: 0;
    max-width: 620px;
}

.profile-setup-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.profile-setup-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-setup-field {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: grid;
    gap: 0.45rem;
    padding: 0.85rem;
}

.profile-setup-field-wide {
    grid-column: 1 / -1;
}

.profile-setup-height-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-setup-height-row label {
    display: grid;
    gap: 0.3rem;
}

.profile-setup-height-row span {
    color: #8f9ba5;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-setup-field input,
.profile-setup-field select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #ffffff;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.profile-setup-field select option {
    background: #071018;
    color: #ffffff;
}

.profile-setup-field input:focus,
.profile-setup-field select:focus {
    border-color: rgba(183, 255, 24, 0.72);
    box-shadow: 0 0 0 0.16rem rgba(183, 255, 24, 0.14);
    outline: 0;
}

.profile-setup-info {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.24);
    border-radius: 14px;
    color: #d8f8ff;
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
}

.profile-setup-submit {
    align-items: center;
    background: #b7ff18;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(183, 255, 24, 0.28);
    color: #101700;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    justify-self: start;
    min-height: 46px;
    padding: 0 1.5rem;
}

.profile-setup-submit:hover,
.profile-setup-submit:focus {
    background: #d7ff65;
}

.dashboard-walking-quest {
    background: rgba(183, 255, 24, 0.06);
    border: 1px solid rgba(183, 255, 24, 0.16);
    border-radius: 12px;
    display: grid;
    gap: 0.62rem;
    margin-top: 0.72rem;
    padding: 0.72rem;
}

.dashboard-steps-quest-card {
    background:
        radial-gradient(circle at top left, rgba(183, 255, 24, 0.12), transparent 18rem),
        rgba(0, 0, 0, 0.2);
    border-color: rgba(183, 255, 24, 0.28);
    box-shadow: 0 0 24px rgba(183, 255, 24, 0.08);
}

.dashboard-steps-quest-header {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.dashboard-steps-quest-icon {
    align-items: center;
    background: rgba(183, 255, 24, 0.1);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.14);
    color: #b7ff18;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.dashboard-steps-quest-saved {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 12px;
    color: #d8f8ff;
    font-size: 0.86rem;
    margin-top: 0.72rem;
    padding: 0.7rem 0.75rem;
}

.dashboard-steps-quest-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-steps-quest-grid div {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem;
}

.dashboard-steps-quest-grid span {
    color: #8f9ba5;
    display: block;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-steps-quest-grid strong {
    color: #f7f9fb;
    display: block;
    font-size: 0.92rem;
    margin-top: 0.2rem;
}

.dashboard-walking-quest-head,
.dashboard-walking-quest-progress-label {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.dashboard-walking-quest span {
    color: #8f9ba5;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-walking-quest strong {
    color: #f7f9fb;
    font-size: 0.82rem;
    text-align: right;
}

.dashboard-walking-quest-grid {
    display: grid;
    gap: 0.52rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-walking-quest-grid div {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.55rem;
}

.dashboard-walking-quest-grid strong {
    color: #dfff77;
    display: block;
    margin-top: 0.2rem;
    text-align: left;
}

.dashboard-walking-quest-progress {
    display: grid;
    gap: 0.45rem;
}

.dashboard-energy-link {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(0, 214, 255, 0.72);
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(0, 214, 255, 0.18), inset 0 0 14px rgba(0, 214, 255, 0.08);
    color: #f7fbff;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    padding: 0.72rem 1rem;
    text-decoration: none;
    width: fit-content;
}

.dashboard-energy-link:hover,
.dashboard-energy-link:focus {
    border-color: rgba(0, 214, 255, 0.94);
    color: #ffffff;
    text-decoration: none;
}

.dashboard-energy-link-compact {
    padding: 0.58rem 0.9rem;
}

@media (max-width: 575.98px) {
    .dashboard-walking-quest-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-pound-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.dashboard-pound-dot {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    height: 16px;
    width: 16px;
}

.dashboard-pound-dot-complete {
    background: #b7ff18;
    border-color: rgba(183, 255, 24, 0.9);
    box-shadow: 0 0 12px rgba(183, 255, 24, 0.48);
}

.dashboard-checkpoint-row {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.dashboard-chapter-empty {
    color: #b8c2ca;
    font-weight: 700;
}

@media (min-width: 820px) {
    .dashboard-energy-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .dashboard-energy-forms {
        grid-template-columns: 0.85fr 1.15fr;
    }
}

@media (max-width: 520px) {
    .dashboard-energy-settings-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-energy-profile-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-energy-settings-grid button {
        width: 100%;
    }

    .dashboard-steps-quest-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-burn-toggle {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-burn-toggle-state {
        justify-content: space-between;
        width: 100%;
    }

    .dashboard-burn-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-burn-bodyweight-card {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-setup-grid,
    .profile-setup-height-row {
        grid-template-columns: 1fr;
    }

    .profile-setup-submit {
        justify-self: stretch;
    }
}

.dashboard-status-card {
    display: flex;
    flex-direction: column;
    min-height: 84px;
}

.dashboard-status-label {
    color: #8d9aa4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-status-value {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 0.2rem;
    overflow-wrap: anywhere;
}

.dashboard-status-meta-row {
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 0.2rem 0.75rem;
    margin-top: 0.15rem;
}

.dashboard-accent {
    color: #b7ff18;
}

.dashboard-status-action {
    align-self: flex-start;
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 10px;
    color: #d7ff65;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1.1;
    margin-top: 0.7rem;
    min-height: 32px;
    padding: 0.48rem 0.72rem;
    text-decoration: none;
    width: fit-content;
}

.dashboard-status-action:hover,
.dashboard-status-action:focus {
    border-color: rgba(183, 255, 24, 0.75);
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.14);
    color: #ffffff;
}

.dashboard-streak-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto 1fr;
}

.dashboard-streak-flame {
    align-items: center;
    background: radial-gradient(circle, rgba(183, 255, 24, 0.28), rgba(183, 255, 24, 0.05));
    border: 2px solid rgba(183, 255, 24, 0.8);
    border-radius: 999px;
    box-shadow: 0 0 26px rgba(183, 255, 24, 0.24);
    color: #b7ff18;
    display: flex;
    font-size: 2.2rem;
    height: 82px;
    justify-content: center;
    width: 82px;
}

.dashboard-streak-number {
    color: #b7ff18;
    font-size: clamp(2.6rem, 14vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.9;
}

.dashboard-streak-unit {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
}

.dashboard-progress-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-progress-heading > div:first-child {
    flex: 1 1 12rem;
}

.dashboard-progress-percent {
    color: #b7ff18;
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: 900;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.dashboard-progress-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 0.75rem;
    overflow: hidden;
}

.dashboard-progress-fill {
    background: linear-gradient(90deg, #8ee600, #c6ff28);
    border-radius: inherit;
    box-shadow: 0 0 16px rgba(183, 255, 24, 0.42);
    height: 100%;
}

.dashboard-metric-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.dashboard-metric {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem;
}

.dashboard-workout-card {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.dashboard-workout-media {
    aspect-ratio: 16 / 10;
    background: radial-gradient(circle at center, rgba(183, 255, 24, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(183, 255, 24, 0.16);
    border-radius: 16px;
    min-height: 150px;
    overflow: hidden;
}

.dashboard-workout-media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.dashboard-workout-placeholder {
    align-items: center;
    color: #b7ff18;
    display: flex;
    font-size: clamp(3rem, 20vw, 5rem);
    font-weight: 900;
    height: 100%;
    justify-content: center;
    min-height: inherit;
    text-shadow: 0 0 22px rgba(183, 255, 24, 0.45);
}

.dashboard-workout-content {
    display: flex;
    flex-direction: column;
}

.dashboard-workout-title {
    color: #ffffff;
    font-size: clamp(1.45rem, 7vw, 2.1rem);
    font-weight: 850;
    letter-spacing: 0;
    margin: 0.35rem 0;
    overflow-wrap: anywhere;
}

.dashboard-workout-copy {
    color: #b8c2ca;
    margin-bottom: 0.7rem;
}

.dashboard-workout-meta {
    color: #8d9aa4;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 0.45rem 0.75rem;
    margin-bottom: 1rem;
}

.dashboard-workout-meta > span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0.75rem;
}

.dashboard-workout-streak-pill {
    align-items: center;
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(183, 255, 24, 0.12);
    color: #b7ff18;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 0.28rem;
    line-height: 1.1;
    padding-bottom: 0.24rem;
    padding-inline: 0.72rem 0.84rem;
    padding-top: 0.24rem;
}

.dashboard-workout-streak-pill strong {
    color: #ffffff;
    font-weight: 950;
}

.dashboard-workout-streak-fire {
    color: #ff8a45;
    filter: drop-shadow(0 0 5px rgba(255, 132, 49, 0.8));
    line-height: 1;
}

.dashboard-start-button {
    align-self: flex-start;
    align-items: center;
    background: linear-gradient(135deg, #b7ff18, #7fd600);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(183, 255, 24, 0.25);
    color: #061006;
    display: inline-flex;
    font-weight: 850;
    gap: 0.45rem;
    justify-content: center;
    line-height: 1;
    min-height: 46px;
    padding: 0 2rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

.dashboard-start-button span {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    transform: translateY(-1px);
}

.dashboard-start-button:hover,
.dashboard-start-button:focus {
    color: #061006;
    filter: brightness(1.05);
}

.dashboard-horizontal-list {
    contain: inline-size;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.85rem;
    margin-inline: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior: contain;
    overscroll-behavior-inline: contain;
    padding: 0.15rem 0.35rem 0.55rem;
    scroll-behavior: smooth;
    scroll-padding-inline: 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(183, 255, 24, 0.55) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.dashboard-horizontal-list::-webkit-scrollbar {
    height: 0.45rem;
}

.dashboard-horizontal-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.dashboard-horizontal-list::-webkit-scrollbar-thumb {
    background: rgba(183, 255, 24, 0.55);
    border-radius: 999px;
}

.dashboard-horizontal-card {
    align-items: center;
    background: linear-gradient(180deg, rgba(18, 29, 38, 0.96), rgba(7, 12, 18, 0.98));
    border: 1px solid rgba(183, 255, 24, 0.14);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex: 0 0 clamp(128px, 38vw, 156px);
    flex-direction: column;
    justify-content: center;
    min-height: 154px;
    padding: 0.85rem 0.7rem;
    scroll-snap-align: start;
    text-align: center;
}

.dashboard-action-card {
    background:
        radial-gradient(circle at 50% 50%, rgba(183, 255, 24, 0.18), transparent 5.6rem),
        linear-gradient(180deg, rgba(19, 33, 42, 0.98), rgba(6, 10, 16, 0.98));
    border-color: rgba(183, 255, 24, 0.22);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: #ffffff;
    flex-basis: clamp(132px, 38vw, 170px);
    min-height: clamp(126px, 36vw, 158px);
    padding: 0.45rem;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-action-card:hover,
.dashboard-action-card:focus {
    border-color: rgba(183, 255, 24, 0.7);
    box-shadow: 0 0 24px rgba(183, 255, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: translateY(-1px);
}

.dashboard-action-icon-frame {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(183, 255, 24, 0.2);
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.dashboard-action-title {
    display: none;
}

.dashboard-action-icon {
    border-radius: 12px;
    display: block;
    height: 100%;
    max-height: 142px;
    max-width: 158px;
    object-fit: contain;
    width: 100%;
}

.dashboard-trophy-card {
    flex-basis: clamp(132px, 38vw, 170px);
    min-height: clamp(178px, 48vw, 206px);
    padding: 0.85rem 0.65rem;
}

.dashboard-trophy-icon-frame {
    align-items: center;
    background:
        radial-gradient(circle, rgba(183, 255, 24, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 18px;
    box-shadow: 0 0 22px rgba(183, 255, 24, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    height: clamp(92px, 27vw, 118px);
    justify-content: center;
    margin-bottom: 0.7rem;
    overflow: hidden;
    width: clamp(92px, 27vw, 118px);
}

.dashboard-trophy-title {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.dashboard-trophy-subtitle {
    color: #8d9aa4;
    font-size: 0.68rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.dashboard-trophy-empty {
    color: #8d9aa4;
    flex: 0 0 auto;
    font-weight: 700;
    padding: 0.45rem 0.35rem;
}

.dashboard-trophy-icon {
    border-radius: 12px;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

@media (min-width: 768px) {
    .dashboard-page {
        padding: 1.5rem;
    }

    .dashboard-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-top-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .dashboard-workout-card {
        align-items: center;
        grid-template-columns: minmax(190px, 0.42fr) minmax(0, 0.58fr);
    }
}

@media (max-width: 767px) {
    .dashboard-page {
        margin-left: 0;
        margin-right: auto;
        max-width: calc(100vw - 8rem);
        width: calc(100vw - 8rem);
    }
}

@media (max-width: 480px) {
    .dashboard-page {
        max-width: calc(100vw - 1.5rem);
        width: calc(100vw - 1.5rem);
    }

    .dashboard-title {
        font-size: 1.85rem;
    }

    .dashboard-card {
        padding: 0.9rem;
    }

    .dashboard-progress-heading {
        align-items: flex-start;
    }

    .dashboard-progress-heading > div:first-child {
        flex-basis: 100%;
    }
}

/* calorie counter */
.calorie-page {
    background:
        radial-gradient(circle at top left, rgba(151, 255, 0, 0.16), transparent 28rem),
        radial-gradient(circle at bottom right, rgba(183, 255, 24, 0.08), transparent 24rem),
        linear-gradient(180deg, #03070a 0%, #081018 54%, #030405 100%);
    border-radius: 22px;
    box-sizing: border-box;
    color: #f7f9fb;
    margin: 0 auto;
    max-width: min(1080px, 100%);
    min-height: 70vh;
    overflow-x: hidden;
    padding: 1rem;
    width: 100%;
}

.calorie-page-compact {
    max-width: min(760px, 100%);
}

.calorie-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.calorie-header {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.75rem 0.25rem 0.25rem;
}

.calorie-kicker,
.calorie-section-title {
    color: #b7ff18;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.calorie-title {
    color: #ffffff;
    font-size: clamp(1.9rem, 8vw, 3rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0.2rem 0;
    overflow-wrap: anywhere;
}

.calorie-subtitle,
.calorie-section-copy,
.calorie-stat-detail,
.calorie-entry-meta,
.calorie-entry-description,
.calorie-empty-copy {
    color: #b8c2ca;
}

.calorie-subtitle,
.calorie-section-copy {
    margin: 0;
}

.calorie-timezone-note {
    color: #8d9aa4;
    font-size: 0.86rem;
    font-weight: 700;
    margin: 0.35rem 0 0;
}

.calorie-card {
    background:
        linear-gradient(145deg, rgba(14, 24, 32, 0.96), rgba(7, 12, 18, 0.96));
    border: 1px solid rgba(183, 255, 24, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 1rem;
}

.calorie-summary-card {
    border-color: rgba(183, 255, 24, 0.28);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 28px rgba(183, 255, 24, 0.06);
}

.calorie-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.calorie-stat-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.calorie-summary-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.calorie-stat-item {
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr;
    min-width: 0;
    padding: 0.8rem;
}

.calorie-stat-icon {
    align-items: center;
    background: radial-gradient(circle, rgba(183, 255, 24, 0.26), rgba(183, 255, 24, 0.05));
    border: 1px solid rgba(183, 255, 24, 0.72);
    border-radius: 999px;
    box-shadow: 0 0 20px rgba(183, 255, 24, 0.16);
    color: #d7ff65;
    display: flex;
    font-size: 0.66rem;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    width: 48px;
}

.calorie-stat-action-row {
    align-items: flex-start;
    display: flex;
    gap: 0.65rem;
    justify-content: space-between;
    min-width: 0;
}

.calorie-stat-label,
.calorie-label {
    color: #8d9aa4;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.calorie-stat-value {
    color: #ffffff;
    font-size: clamp(1.28rem, 7vw, 1.8rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.calorie-stat-action {
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 999px;
    color: #d7ff65;
    font-size: 0.72rem;
    font-weight: 900;
    flex: 0 0 auto;
    margin-top: 0;
    padding: 0.28rem 0.65rem;
}

.calorie-stat-action:hover,
.calorie-stat-action:focus {
    border-color: rgba(183, 255, 24, 0.75);
    color: #ffffff;
}

.calorie-progress-wrap {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 0.85rem;
}

.calorie-progress-meta {
    color: #b8c2ca;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 800;
    gap: 0.4rem 1rem;
    justify-content: space-between;
    margin-bottom: 0.55rem;
}

.calorie-progress-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 0.78rem;
    overflow: hidden;
}

.calorie-progress-bar {
    background: linear-gradient(90deg, #8ee600, #c6ff28);
    border-radius: inherit;
    box-shadow: 0 0 16px rgba(183, 255, 24, 0.42);
    height: 100%;
}

.calorie-progress-over {
    background: linear-gradient(90deg, #b7ff18, #ff5d5d);
}

.calorie-progress-card {
    background:
        radial-gradient(circle at top right, rgba(183, 255, 24, 0.14), transparent 12rem),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(183, 255, 24, 0.18);
    border-radius: 14px;
    display: grid;
    gap: 0.9rem;
    min-width: 0;
    padding: 0.9rem;
}

.calorie-progress-main {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-width: 0;
}

.calorie-progress-value {
    color: #ffffff;
    font-size: clamp(1.35rem, 6vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.calorie-progress-percent-block {
    flex: 0 0 auto;
    text-align: right;
}

.calorie-progress-percent {
    color: #d7ff65;
    font-size: clamp(1.7rem, 7vw, 2.35rem);
    font-weight: 950;
    line-height: 0.95;
    text-shadow: 0 0 18px rgba(183, 255, 24, 0.24);
}

.calorie-progress-footer {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calorie-progress-small-value {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.calorie-macro-summary {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
    margin-top: 0.75rem;
}

.calorie-macro-heading {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1rem;
}

.calorie-macro-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.85rem;
}

.macro-progress-card {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-width: 0;
}

.calorie-macro-primary {
    background: radial-gradient(circle at top left, rgba(183, 255, 24, 0.18), rgba(255, 255, 255, 0.04));
    border-color: rgba(183, 255, 24, 0.3);
    box-shadow: 0 0 22px rgba(183, 255, 24, 0.08);
}

.calorie-macro-value {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.1;
}

.calorie-macro-primary .calorie-macro-value {
    color: #d7ff65;
}

.macro-ring {
    --progress: 0%;
    align-items: center;
    background:
        conic-gradient(#b7ff18 var(--progress), rgba(255, 255, 255, 0.13) 0);
    border-radius: 999px;
    box-shadow: 0 0 22px rgba(183, 255, 24, 0.14);
    display: flex;
    flex: 0 0 auto;
    height: 74px;
    justify-content: center;
    width: 74px;
}

.macro-ring-over {
    background:
        conic-gradient(#ff5d5d var(--progress), rgba(255, 255, 255, 0.13) 0);
    box-shadow: 0 0 22px rgba(255, 93, 93, 0.14);
}

.macro-ring-core {
    align-items: center;
    background: #071018;
    border-radius: inherit;
    display: flex;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.macro-ring-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 950;
    line-height: 1;
}

.calorie-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.calorie-form {
    display: grid;
    gap: 0.9rem;
}

.calorie-entry-form,
.calorie-edit-form {
    grid-template-columns: 1fr;
}

.calorie-entry-main-grid,
.calorie-entry-macro-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.calorie-entry-submit-row {
    display: flex;
}

.calorie-form-control {
    background: rgba(1, 7, 10, 0.88);
    border: 1px solid rgba(183, 255, 24, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #ffffff;
    display: block;
    margin-top: 0.35rem;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.calorie-form-control:focus {
    border-color: rgba(183, 255, 24, 0.82);
    box-shadow: 0 0 0 0.2rem rgba(183, 255, 24, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    outline: none;
}

.calorie-form-control::placeholder {
    color: #6f7b84;
}

.calorie-form-control option {
    background: #071018;
    color: #ffffff;
}

.calorie-btn {
    align-items: center;
    background: linear-gradient(135deg, #b7ff18, #7fd600);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(183, 255, 24, 0.25);
    color: #061006;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
    padding: 0.68rem 1.05rem;
    text-decoration: none;
    width: fit-content;
}

.calorie-btn:hover,
.calorie-btn:focus {
    color: #061006;
    filter: brightness(1.05);
}

.calorie-btn-secondary {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(183, 255, 24, 0.28);
    box-shadow: none;
    color: #d7ff65;
}

.calorie-btn-secondary:hover,
.calorie-btn-secondary:focus {
    color: #ffffff;
}

.calorie-modal-content {
    background:
        radial-gradient(circle at top left, rgba(183, 255, 24, 0.14), transparent 16rem),
        linear-gradient(145deg, rgba(14, 24, 32, 0.98), rgba(7, 12, 18, 0.98));
    border: 1px solid rgba(183, 255, 24, 0.26);
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.62), 0 0 28px rgba(183, 255, 24, 0.08);
    color: #f7f9fb;
    overflow: hidden;
}

.calorie-modal-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.1rem 1.1rem 0.35rem;
}

.calorie-modal-body {
    padding: 0.75rem 1.1rem 1rem;
}

.calorie-modal-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.calorie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    padding: 0 1.1rem 1.1rem;
}

.calorie-modal-close {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #d7ff65;
    font-size: 1.3rem;
    font-weight: 700;
    height: 36px;
    line-height: 1;
    width: 36px;
}

.calorie-modal-close:hover,
.calorie-modal-close:focus {
    color: #ffffff;
}

.calorie-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.calorie-entry-list {
    display: grid;
    gap: 0.75rem;
}

.calorie-entry-row {
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
    padding: 0.85rem;
}

.calorie-entry-calories {
    color: #b7ff18;
    font-size: 1.25rem;
    font-weight: 900;
}

.calorie-entry-meta {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 0.35rem 0.75rem;
    margin: 0.15rem 0;
}

.calorie-entry-meta span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 0.75rem;
}

.calorie-entry-macros {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.calorie-macro-chip {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    color: #d9e2e8;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.25rem 0.55rem;
}

.calorie-macro-chip-primary {
    background: rgba(183, 255, 24, 0.1);
    border-color: rgba(183, 255, 24, 0.28);
    color: #d7ff65;
}

.calorie-entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calorie-link-btn {
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.25);
    border-radius: 10px;
    color: #d7ff65;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 900;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
}

.calorie-link-btn:hover,
.calorie-link-btn:focus {
    color: #ffffff;
}

.calorie-link-danger,
.calorie-danger-text {
    color: #ff8787;
}

.calorie-link-danger {
    background: rgba(255, 93, 93, 0.08);
    border-color: rgba(255, 93, 93, 0.28);
}

.calorie-accent-text {
    color: #d7ff65;
}

.calorie-empty-state {
    background:
        radial-gradient(circle at center, rgba(183, 255, 24, 0.1), transparent 12rem),
        rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(183, 255, 24, 0.22);
    border-radius: 14px;
    padding: 1.2rem;
}

.calorie-empty-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
}

.calorie-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-color: rgba(183, 255, 24, 0.55) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.calorie-history-table {
    border-collapse: collapse;
    color: #f7f9fb;
    min-width: 800px;
    width: 100%;
}

.calorie-history-table th,
.calorie-history-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 0.65rem;
    text-align: left;
    vertical-align: middle;
}

.calorie-history-table th {
    color: #8d9aa4;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.calorie-history-table tbody tr:hover {
    background: rgba(183, 255, 24, 0.045);
}

.calorie-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.calorie-history-subtext {
    color: #8d9aa4;
    font-size: 0.74rem;
    font-weight: 800;
    margin-top: 0.15rem;
}

/* body weight tracker */
.body-weight-form-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.body-weight-hidden {
    display: none !important;
}

.body-weight-form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.body-weight-date-card {
    min-width: 0;
}

.body-weight-date-display {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 850;
    margin: 0;
    min-width: 0;
}

.body-weight-date-row {
    align-items: center;
    background: rgba(1, 7, 10, 0.88);
    border: 1px solid rgba(183, 255, 24, 0.22);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    justify-content: space-between;
    margin-top: 0.35rem;
    min-height: 44px;
    padding: 0.35rem 0.5rem 0.35rem 0.75rem;
}

.body-weight-date-details {
    margin-top: 0;
}

.body-weight-date-details > summary {
    cursor: pointer;
    list-style: none;
}

.body-weight-date-details > summary::-webkit-details-marker {
    display: none;
}

.body-weight-date-action {
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.25);
    border-radius: 10px;
    color: #d7ff65;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1.1;
    min-height: 30px;
    padding: 0.42rem 0.68rem;
}

.body-weight-date-action:hover,
.body-weight-date-action:focus {
    border-color: rgba(183, 255, 24, 0.75);
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.14);
    color: #ffffff;
}

.body-weight-date-details[open] .body-weight-selected-date-label {
    display: block;
    margin-top: 0.75rem;
}

.body-weight-logged-panel,
.body-weight-locked-panel {
    align-items: flex-start;
    background:
        radial-gradient(circle at top left, rgba(183, 255, 24, 0.12), transparent 14rem),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(183, 255, 24, 0.22);
    border-radius: 14px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto 1fr;
    padding: 1rem;
}

.body-weight-locked-panel {
    border-color: rgba(255, 255, 255, 0.12);
}

.body-weight-success-icon {
    align-items: center;
    background: radial-gradient(circle, rgba(183, 255, 24, 0.24), rgba(183, 255, 24, 0.06));
    border: 1px solid rgba(183, 255, 24, 0.6);
    border-radius: 999px;
    color: #d7ff65;
    display: flex;
    font-size: 1rem;
    font-weight: 950;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.body-weight-lock-icon {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    color: #b8c2ca;
}

.body-weight-success-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 950;
}

.body-weight-success-value {
    color: #d7ff65;
    font-size: 0.92rem;
    font-weight: 900;
    margin-top: 0.15rem;
}

.body-weight-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    grid-column: 1 / -1;
}

.body-weight-change-pill,
.body-weight-locked-badge,
.body-weight-history-action {
    background: rgba(183, 255, 24, 0.09);
    border: 1px solid rgba(183, 255, 24, 0.28);
    border-radius: 999px;
    color: #d7ff65;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.15;
    padding: 0.32rem 0.65rem;
}

.body-weight-history-action {
    cursor: pointer;
}

.body-weight-history-action:hover,
.body-weight-history-action:focus {
    border-color: rgba(183, 255, 24, 0.75);
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.14);
    color: #ffffff;
}

.body-weight-change-pill {
    flex: 0 0 auto;
    max-width: 170px;
    text-align: right;
}

.body-weight-change-up {
    background: rgba(255, 93, 93, 0.08);
    border-color: rgba(255, 93, 93, 0.26);
    color: #ff8787;
}

.body-weight-history-table {
    min-width: 760px;
}

.body-weight-goal-card {
    grid-column: 1 / -1;
}

.body-weight-goal-stats {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.body-weight-goal-stat-value {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.body-weight-goal-button {
    justify-self: start;
    width: fit-content;
}

.body-weight-goal-input-row {
    align-items: center;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.body-weight-picker-row {
    align-items: center;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.body-weight-calendar-button {
    background: rgba(183, 255, 24, 0.08);
    border: 1px solid rgba(183, 255, 24, 0.25);
    border-radius: 10px;
    color: #d7ff65;
    font-size: 0.72rem;
    font-weight: 950;
    min-height: 44px;
    padding: 0.45rem 0.7rem;
}

.body-weight-calendar-button:hover,
.body-weight-calendar-button:focus {
    border-color: rgba(183, 255, 24, 0.75);
    box-shadow: 0 0 18px rgba(183, 255, 24, 0.14);
    color: #ffffff;
}

.body-weight-goal-unit {
    color: #b8c2ca;
    font-size: 0.86rem;
    font-weight: 900;
    margin-top: 0.35rem;
}

.body-weight-goal-error {
    color: #ff8787;
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 0.45rem;
}

@media (min-width: 768px) {
    .calorie-page {
        padding: 1.5rem;
    }

    .calorie-header {
        align-items: center;
        flex-direction: row;
    }

    .calorie-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calorie-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calorie-progress-card {
        grid-column: 1 / -1;
    }

    .body-weight-form-grid {
        grid-template-columns: minmax(130px, 0.75fr) minmax(260px, 1.2fr) minmax(220px, 1fr);
    }

    .body-weight-goal-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .calorie-macro-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calorie-modal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calorie-form-grid {
        grid-template-columns: 1fr;
    }

    .calorie-entry-form {
        grid-template-columns: 1fr;
    }

    .calorie-entry-main-grid {
        align-items: end;
        grid-template-columns: minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(220px, 1.8fr);
    }

    .calorie-entry-macro-grid {
        align-items: end;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .calorie-edit-form {
        grid-template-columns: minmax(110px, 0.5fr) minmax(150px, 0.7fr) minmax(180px, 1fr);
    }

    .calorie-edit-form .calorie-button-row {
        grid-column: 1 / -1;
    }

    .calorie-entry-row {
        align-items: center;
        grid-template-columns: 1fr auto;
    }

    .calorie-entry-actions {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .calorie-stat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .calorie-summary-grid {
        grid-template-columns: minmax(170px, 0.85fr) minmax(200px, 1fr) minmax(420px, 2.5fr);
    }

    .calorie-summary-grid .calorie-progress-card {
        grid-column: auto;
    }

    .calorie-stat-item {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

}

/*carousel*/

.homepage-carousel {

    max-width: 980px;

    margin: 0 auto;

    overflow: hidden;

    background: #000;

}

.homepage-carousel .carousel-item {          

    height: 70vh;

    min-height: 520px;

    max-height: 700px;

    background:#000;

    color:white;

    position: relative;

    

    

}

.homepage-carousel .carousel-item::after {

    content: '';

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 45%;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));

    pointer-events: none;

    z-index: 1;

}

.homepage-carousel .slidecontainer{

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    padding-bottom: 50px;

    padding-left: 1.5rem;

    padding-right: 1.5rem;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);

    z-index: 2;



}

.homepage-carousel .overlay-image{

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    top:0;

    width: 100%;

    height: 100%;

    opacity: 1;


}

.homepage-carousel-img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

}

@media (max-width: 768px) {

    .homepage-carousel {

        max-width: 100%;

    }

    .homepage-carousel .carousel-item {

        height: 75vh;

        min-height: 560px;

        max-height: none;

    }

    .homepage-carousel .slidecontainer {

        padding-bottom: 4rem;

    }

}

@media (min-width: 992px) {

    .homepage-carousel .carousel-item {

        height: 680px;

    }

    .homepage-carousel-img {

        object-position: center top;

    }

}

@media (min-width: 769px) and (max-width: 991px) {

    .homepage-carousel .carousel-item {

        height: 640px;

        max-height: none;

    }

    .homepage-carousel-img {

        object-position: center top;

    }

}


.customization-page .btn-custom {
    background-color: var(--sjb-limeGreen);
    border-color: #39ff14;
    color: #000;
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.25rem;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.customization-page .btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    opacity: 0.7;
    pointer-events: none;
}

.customization-page .btn-custom:hover {
    background-color: #33e013;
    border-color: #c1eeb9;
}

.workout-links {
    margin-bottom: 20px;
}
.calorie-nutrient-setting {
    display: grid;
    gap: 0.45rem;
}

.calorie-nutrient-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wa-lime, #a6ff00);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.calorie-nutrient-toggle input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--wa-lime, #a6ff00);
}
.admin-body {
    min-height: 100vh;
    color: #f7fbff;
    background:
        radial-gradient(circle at top left, rgba(150, 255, 0, 0.16), transparent 34rem),
        radial-gradient(circle at top right, rgba(0, 213, 255, 0.12), transparent 32rem),
        #020504;
}

.admin-shell {
    padding: 0;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 1.25rem;
    background:
        linear-gradient(180deg, rgba(18, 37, 31, 0.96), rgba(4, 9, 12, 0.98)),
        #05090b;
    border-right: 1px solid rgba(166, 255, 0, 0.26);
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.38);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(166, 255, 0, 0.18);
}

.admin-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid rgba(166, 255, 0, 0.72);
    border-radius: 0.8rem;
    color: #a6ff00;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 0 18px rgba(166, 255, 0, 0.22);
}

.admin-brand-title {
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
}

.admin-brand-subtitle,
.admin-page-copy,
.admin-stat-copy {
    color: #b7c9d8;
}

.admin-brand-subtitle {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.admin-nav {
    display: grid;
    gap: 0.45rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.72rem 0.85rem;
    color: #e9f6ff;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-weight: 800;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: #a6ff00;
    background: rgba(166, 255, 0, 0.08);
    border-color: rgba(166, 255, 0, 0.42);
    box-shadow: inset 0 0 18px rgba(166, 255, 0, 0.08), 0 0 18px rgba(166, 255, 0, 0.1);
}

.admin-nav-link-secondary {
    color: #bfefff;
    border-color: rgba(0, 213, 255, 0.22);
}

.admin-nav-divider {
    height: 1px;
    margin: 0.7rem 0;
    background: linear-gradient(90deg, transparent, rgba(0, 213, 255, 0.35), transparent);
}

.admin-main {
    min-height: 100vh;
    padding: 2rem;
}

.admin-content {
    max-width: 1180px;
}

.admin-dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(20, 37, 31, 0.92), rgba(6, 14, 22, 0.94));
    border: 1px solid rgba(166, 255, 0, 0.32);
    border-radius: 1rem;
    box-shadow: 0 0 34px rgba(166, 255, 0, 0.1), 0 18px 46px rgba(0, 0, 0, 0.3);
}

.admin-kicker,
.admin-stat-label {
    color: #a6ff00;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-page-title {
    margin: 0.15rem 0 0.35rem;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 18px rgba(166, 255, 0, 0.2);
}

.admin-page-copy {
    margin: 0;
}

.admin-stat-card {
    height: 100%;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(18, 27, 34, 0.96), rgba(7, 12, 16, 0.96));
    border: 1px solid rgba(0, 213, 255, 0.22);
    border-radius: 1rem;
    box-shadow: inset 0 0 22px rgba(166, 255, 0, 0.04), 0 18px 36px rgba(0, 0, 0, 0.32);
}

.admin-stat-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 13rem;
    padding: 1.25rem;
}

.admin-stat-value {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.admin-stat-copy span {
    color: #fff;
    font-weight: 800;
}

.admin-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 0.65rem;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-btn:hover {
    transform: translateY(-1px);
}

.admin-btn-primary {
    color: #061008;
    background: linear-gradient(135deg, #a6ff00, #65d600);
    border: 1px solid rgba(166, 255, 0, 0.9);
    box-shadow: 0 0 18px rgba(166, 255, 0, 0.24);
}

.admin-btn-secondary {
    color: #e9f8ff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 213, 255, 0.36);
    box-shadow: 0 0 16px rgba(0, 213, 255, 0.1);
}

.admin-btn-primary:hover {
    color: #061008;
    box-shadow: 0 0 24px rgba(166, 255, 0, 0.34);
}

.admin-btn-secondary:hover {
    color: #fff;
    border-color: rgba(0, 213, 255, 0.72);
    box-shadow: 0 0 22px rgba(0, 213, 255, 0.18);
}

@media (max-width: 767.98px) {
    .admin-sidebar {
        position: relative;
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(166, 255, 0, 0.26);
    }

    .admin-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-nav-divider {
        grid-column: 1 / -1;
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-dashboard-hero {
        flex-direction: column;
    }

    .admin-dashboard-hero .admin-btn {
        width: 100%;
    }
}
