.tcm-customer-shell,
.tcm-auth-page {
    --tcm-bg: transparent;
    --tcm-card: rgba(17, 25, 40, 0.88);
    --tcm-card-strong: rgba(11, 17, 28, 0.96);
    --tcm-border: rgba(255, 255, 255, 0.08);
    --tcm-text: #f8fbff;
    --tcm-muted: #b9c6e3;
    --tcm-soft: #7f8db0;
    --tcm-primary: #7c5cff;
    --tcm-primary-soft: rgba(124, 92, 255, 0.16);
    --tcm-shadow: 0 20px 60px rgba(3, 8, 20, 0.45);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tcm-customer-shell *,
.tcm-auth-page *,
.tcm-auth-shell * {
    box-sizing: border-box;
}

.tcm-customer-mobilebar {
    display: none;
}

.tcm-customer-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    width: min(1540px, 100%);
    max-width: 1540px;
    margin-inline: auto;
    min-height: 100vh;
    padding: 24px;
    color: var(--tcm-text);
}

.tcm-customer-sidebar {
    background: var(--tcm-card);
    backdrop-filter: blur(18px);
    border-radius: 30px;
    padding: 28px 22px;
    box-shadow: var(--tcm-shadow);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tcm-customer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tcm-customer-brand__logo {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7551ff 0%, #4318ff 100%);
    color: #fff;
    font-weight: 700;
}

.tcm-customer-brand strong,
.tcm-customer-sidebar__footer a,
.tcm-customer-nav a {
    color: var(--tcm-text);
}

.tcm-customer-brand span,
.tcm-customer-sidebar__footer {
    color: var(--tcm-muted);
    font-size: 14px;
}

.tcm-customer-nav {
    display: grid;
    gap: 10px;
}

.tcm-customer-nav a {
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    color: var(--tcm-muted);
}

.tcm-customer-nav a.is-active,
.tcm-customer-nav a:hover {
    background: var(--tcm-primary-soft);
    color: var(--tcm-primary);
}

.tcm-customer-sidebar__footer {
    margin-top: auto;
    display: grid;
    gap: 18px;
}

.tcm-customer-logout {
    text-decoration: none;
    font-weight: 700;
}

.tcm-customer-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tcm-customer-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tcm-customer-topbar p {
    margin: 0 0 6px;
    color: #707eae;
    font-size: 14px;
}

.tcm-customer-topbar h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tcm-customer-topbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--tcm-card);
    backdrop-filter: blur(18px);
    border-radius: 30px;
    padding: 10px 14px;
    box-shadow: var(--tcm-shadow);
}

.tcm-customer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.tcm-customer-search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--tcm-soft);
    box-shadow: none;
}

.tcm-customer-avatar {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7551ff 0%, #4318ff 100%);
    color: #fff;
    font-weight: 700;
}

.tcm-customer-grid {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.tcm-customer-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.tcm-customer-flash {
    padding: 14px 18px;
    border-radius: 16px;
    font-weight: 700;
}

.tcm-customer-flash--success {
    color: #dffcf5;
    background: rgba(5, 205, 153, 0.14);
    border: 1px solid rgba(5, 205, 153, 0.24);
}

.tcm-customer-flash--error {
    color: #ffd7d3;
    background: rgba(238, 93, 80, 0.14);
    border: 1px solid rgba(238, 93, 80, 0.24);
}

.tcm-customer-grid--top {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
}

.tcm-customer-grid--bottom {
    grid-template-columns: 1fr 1.2fr 0.8fr;
}

.tcm-customer-card {
    background: var(--tcm-card);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--tcm-shadow);
    border: 1px solid var(--tcm-border);
    min-width: 0;
}

.tcm-profile-card {
    overflow: hidden;
    position: relative;
}

.tcm-profile-card__cover {
    height: 130px;
    margin: -24px -24px 52px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 20% 30%, rgba(118, 81, 255, 0.85), transparent 35%),
        radial-gradient(circle at 70% 10%, rgba(67, 24, 255, 0.9), transparent 28%),
        radial-gradient(circle at 65% 80%, rgba(8, 24, 204, 0.9), transparent 26%),
        linear-gradient(135deg, #0d1db8 0%, #070b4f 55%, #020317 100%);
}

.tcm-profile-card__cover.has-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tcm-profile-card__avatar {
    position: absolute;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 5px solid #fff;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    box-shadow: var(--tcm-shadow);
}

.tcm-profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tcm-profile-card__avatar--fallback {
    color: var(--tcm-primary);
    font-size: 28px;
    font-weight: 700;
}

.tcm-profile-card__content {
    text-align: center;
}

.tcm-profile-card__content h2 {
    margin: 0;
    font-size: 22px;
}

.tcm-profile-card__content p {
    color: var(--tcm-muted);
}

.tcm-profile-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.tcm-profile-card__meta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tcm-profile-card__stats strong,
.tcm-summary-tile strong {
    display: block;
    color: var(--tcm-text);
    font-size: 24px;
}

.tcm-storage-card {
    text-align: center;
}

.tcm-storage-card__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    color: var(--tcm-primary);
    font-size: 40px;
}

.tcm-storage-card__bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin: 18px 0 10px;
}

.tcm-storage-card__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tcm-primary);
}

.tcm-storage-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--tcm-soft);
    font-size: 14px;
}

.tcm-qr-card {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}

.tcm-qr-card__code {
    min-height: 250px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    place-items: center;
}

.tcm-qr-image {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
}

.tcm-course-list,
.tcm-history-list {
    display: grid;
    gap: 14px;
}

.tcm-course-item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tcm-course-item__media {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(67, 24, 255, 0.95), rgba(118, 81, 255, 0.65)),
        linear-gradient(135deg, #0d1db8, #070b4f);
}

.tcm-course-item__content {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.tcm-course-item__content span,
.tcm-history-row small {
    color: var(--tcm-muted);
    font-size: 14px;
}

.tcm-meal-plan__featured {
    display: grid;
    gap: 16px;
}

.tcm-meal-plan__image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.tcm-summary-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.tcm-summary-tile {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tcm-summary-tile span {
    color: var(--tcm-soft);
    font-size: 14px;
}

.tcm-history-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tcm-history-row:last-child {
    border-bottom: 0;
}

.tcm-feedback-view {
    background: #0b1437;
    padding: 40px;
}

.tcm-feedback-view__header h2 {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tcm-feedback-form {
    display: grid;
    gap: 22px;
    max-width: 840px;
}

.tcm-feedback-form__field {
    display: grid;
    gap: 12px;
}

.tcm-feedback-form__label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tcm-feedback-form__label em {
    color: #7551ff;
    font-style: normal;
}

.tcm-feedback-form input,
.tcm-feedback-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #fff;
    padding: 14px 18px;
    box-shadow: none;
    resize: vertical;
}

.tcm-feedback-form textarea {
    min-height: 315px;
    padding-top: 18px;
}

.tcm-feedback-form input::placeholder,
.tcm-feedback-form textarea::placeholder {
    color: #a3aed0;
    opacity: 1;
}

.tcm-feedback-form input:focus,
.tcm-feedback-form textarea:focus {
    border-color: rgba(117, 81, 255, 0.7);
    outline: none;
}

.tcm-feedback-history {
    margin-top: 42px;
    display: grid;
    gap: 20px;
}

.tcm-feedback-history__header h3 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.tcm-feedback-list {
    display: grid;
    gap: 16px;
}

.tcm-feedback-empty {
    padding: 22px 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #a3aed0;
}

.tcm-feedback-item {
    display: grid;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tcm-feedback-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.tcm-feedback-item__meta {
    display: grid;
    gap: 6px;
}

.tcm-feedback-item__meta strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
}

.tcm-feedback-item__meta span {
    color: #a3aed0;
    font-size: 13px;
}

.tcm-feedback-item__status {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tcm-feedback-item__status.is-open {
    background: rgba(117, 81, 255, 0.16);
    color: #7551ff;
}

.tcm-feedback-item__status.is-answered {
    background: rgba(5, 205, 153, 0.16);
    color: #05cd99;
}

.tcm-feedback-item__message {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
    white-space: pre-line;
}

.tcm-feedback-item__reply {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tcm-feedback-item__reply strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.tcm-feedback-item__reply p {
    margin: 0;
    color: #a3aed0;
    line-height: 1.7;
}

@media (max-width: 1180px) {
    .tcm-feedback-view {
        padding: 30px;
    }

    .tcm-feedback-form textarea {
        min-height: 250px;
    }
}

.tcm-schedule-groups,
.tcm-schedule-list {
    display: grid;
    gap: 18px;
}

.tcm-schedule-group {
    display: grid;
    gap: 14px;
}

.tcm-schedule-group h3 {
    margin: 0;
    font-size: 22px;
}

.tcm-schedule-picker {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.tcm-schedule-picker label {
    color: var(--tcm-muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tcm-schedule-picker input[type="date"] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--tcm-text);
    padding: 0 48px 0 16px;
    overflow: hidden;
}

.tcm-schedule-picker input[type="date"]::-webkit-calendar-picker-indicator {
    margin: 0;
}

.tcm-schedule-picker small {
    color: var(--tcm-muted);
}

.tcm-schedule-day {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tcm-schedule-day[hidden],
.tcm-schedule-empty-date[hidden] {
    display: none !important;
}

.tcm-schedule-day__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tcm-schedule-slots {
    display: grid;
    gap: 12px;
}

.tcm-schedule-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tcm-schedule-slot > div {
    display: grid;
    gap: 4px;
}

.tcm-schedule-slot.is-booked {
    border-color: rgba(124, 92, 255, 0.4);
    background: rgba(124, 92, 255, 0.12);
}

.tcm-schedule-slot.is-full {
    opacity: 0.72;
}

.tcm-schedule-slot__state {
    color: var(--tcm-primary);
    font-weight: 700;
}

.tcm-schedule-slot > .tcm-schedule-slot__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.tcm-btn--danger {
    color: #ffb4ad;
    background: rgba(238, 93, 80, 0.12);
}

.tcm-schedule-empty-date {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    color: var(--tcm-muted);
}

.tcm-wod-card {
    display: grid;
    gap: 18px;
}

.tcm-wod-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tcm-wod-card__meta strong {
    color: var(--tcm-text);
    font-size: 24px;
    line-height: 1.2;
}

.tcm-wod-card__content {
    color: var(--tcm-muted);
    line-height: 1.8;
    font-size: 16px;
}

.tcm-public-schedule {
    display: grid;
    gap: 28px;
    font-family: inherit;
    color: #fff;
}

.tcm-public-schedule__intro {
    display: grid;
    gap: 12px;
}

.tcm-public-schedule__eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffd812;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tcm-public-schedule__intro h2 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #fff;
}

.tcm-public-schedule__empty {
    padding: 24px;
    border-radius: 24px;
    background: #000;
    color: rgba(255, 255, 255, 0.72);
}

.tcm-public-schedule__grid {
    display: grid;
    grid-template-columns: repeat(var(--tcm-schedule-columns, 7), minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.tcm-public-schedule__day {
    display: grid;
    gap: 10px;
}

.tcm-public-schedule__day-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffd812;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid #000;
}

.tcm-public-schedule__entries {
    display: grid;
    gap: 10px;
}

.tcm-public-schedule__entry {
    min-height: 132px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 18px 14px;
    border-radius: 16px;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.28);
    text-align: center;
}

.tcm-public-schedule__entry--trx {
    border-color: rgba(255, 216, 18, 0.25);
}

.tcm-public-schedule__entry.is-full {
    opacity: 0.38;
}

.tcm-public-schedule__time {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.3;
}

.tcm-public-schedule__entry h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
}

.tcm-public-schedule__type {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.tcm-public-schedule__state {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.tcm-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.tcm-auth-shell {
    width: min(1280px, 100%);
    max-width: 1280px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.tcm-auth-card,
.tcm-auth-visual {
    background: var(--tcm-card);
    border-radius: 30px;
    box-shadow: var(--tcm-shadow);
    overflow: hidden;
    border: 1px solid var(--tcm-border);
    backdrop-filter: blur(18px);
}

.tcm-auth-card {
    padding: 40px;
}

.tcm-auth-card__content {
    max-width: 410px;
}

.tcm-auth-back a,
.tcm-auth-kicker,
.tcm-auth-card p {
    color: var(--tcm-muted);
}

.tcm-auth-back {
    margin-bottom: 40px;
}

.tcm-auth-back a {
    text-decoration: none;
    font-weight: 600;
}

.tcm-auth-card h1,
.tcm-auth-visual h2 {
    margin: 0 0 14px;
    color: var(--tcm-text);
    font-size: 42px;
    line-height: 1.08;
}

.tcm-auth-switcher {
    display: inline-flex;
    gap: 10px;
    margin-top: 20px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tcm-auth-switcher a {
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--tcm-muted);
    font-weight: 700;
}

.tcm-auth-switcher a.is-active {
    background: rgba(124, 92, 255, 0.16);
    color: #fff;
}

.tcm-auth-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.tcm-auth-form label {
    display: grid;
    gap: 8px;
    color: var(--tcm-text);
    font-weight: 600;
}

.tcm-auth-form input[type="text"],
.tcm-auth-form input[type="password"],
.tcm-auth-form input[type="tel"],
.tcm-auth-form select {
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0 16px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    color: var(--tcm-text);
}

.tcm-auth-form select {
    appearance: none;
}

.tcm-auth-input-prefix {
    position: relative;
}

.tcm-auth-input-prefix__symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tcm-muted);
    font-weight: 700;
    pointer-events: none;
}

.tcm-auth-input-prefix input {
    padding-left: 34px !important;
}

.tcm-auth-help {
    margin-top: 2px;
    color: var(--tcm-soft);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.tcm-password-field {
    position: relative;
}

.tcm-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--tcm-primary);
    font-weight: 700;
    cursor: pointer;
}

.tcm-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 500 !important;
    color: var(--tcm-muted) !important;
}

.tcm-auth-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tcm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
}

.tcm-btn--primary {
    background: var(--tcm-primary);
    color: #fff;
}

.tcm-btn--ghost {
    background: var(--tcm-primary-soft);
    color: var(--tcm-primary);
}

.tcm-btn--full {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.tcm-auth-error {
    padding: 12px 14px;
    background: rgba(238, 93, 80, 0.12);
    border: 1px solid rgba(238, 93, 80, 0.4);
    color: #ffb4ad;
    border-radius: 14px;
    margin-top: 18px;
}

.tcm-auth-flash {
    margin-top: 18px;
}

.tcm-auth-visual {
    padding: 40px;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.35), transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(67, 24, 255, 0.28), transparent 28%),
        radial-gradient(circle at 60% 70%, rgba(13, 29, 184, 0.25), transparent 25%),
        linear-gradient(135deg, rgba(12, 17, 30, 0.82) 0%, rgba(10, 14, 23, 0.96) 100%);
}

.tcm-auth-visual--has-image {
    background-color: #0f172a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tcm-customer-shell a,
.tcm-auth-page a {
    color: #d5cbff;
}

.tcm-customer-shell p,
.tcm-auth-page p,
.tcm-customer-shell span,
.tcm-auth-page span,
.tcm-customer-shell small {
    color: var(--tcm-muted);
}

@media (max-width: 1180px) {
    .tcm-customer-shell,
    .tcm-auth-shell {
        grid-template-columns: 1fr;
    }

    .tcm-customer-sidebar {
        order: 2;
    }

    .tcm-customer-grid--top,
    .tcm-customer-grid--bottom,
    .tcm-qr-card,
    .tcm-summary-tiles {
        grid-template-columns: 1fr;
    }

    .tcm-public-schedule__grid {
        grid-template-columns: repeat(var(--tcm-schedule-columns-md, 4), minmax(0, 1fr));
    }
}

@media (max-width: 1480px) {
    .tcm-customer-grid--top,
    .tcm-customer-grid--bottom {
        grid-template-columns: 1fr;
    }

    .tcm-public-schedule__grid {
        grid-template-columns: repeat(var(--tcm-schedule-columns-lg, 5), minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tcm-customer-shell,
    .tcm-auth-page {
        padding: 14px;
    }

    .tcm-feedback-view {
        padding: 22px;
    }

    .tcm-feedback-view__header h2 {
        margin-bottom: 22px;
        font-size: 28px;
    }

    .tcm-feedback-item__head {
        display: grid;
        gap: 10px;
    }

    .tcm-feedback-item__status {
        justify-self: start;
    }

    .tcm-feedback-form textarea {
        min-height: 220px;
    }

    .tcm-customer-shell {
        position: relative;
    }

    .tcm-customer-mobilebar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 18px;
        border-radius: 22px;
        background: var(--tcm-card);
        backdrop-filter: blur(18px);
        border: 1px solid var(--tcm-border);
        box-shadow: var(--tcm-shadow);
    }

    .tcm-customer-mobilebar p {
        margin: 0 0 4px;
        font-size: 12px;
    }

    .tcm-customer-mobilebar strong {
        color: var(--tcm-text);
        font-size: 18px;
    }

    .tcm-mobile-menu-toggle {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        border: 1px solid var(--tcm-border);
        background: rgba(255, 255, 255, 0.06);
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 0 12px;
        cursor: pointer;
    }

    .tcm-mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: var(--tcm-text);
    }

    .tcm-customer-sidebar {
        order: 0;
        position: absolute;
        top: 76px;
        left: 14px;
        right: 14px;
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .tcm-customer-shell.is-sidebar-open .tcm-customer-sidebar {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .tcm-customer-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .tcm-customer-topbar__actions {
        justify-content: space-between;
    }

    .tcm-customer-search {
        min-width: 0;
        flex: 1;
    }

    .tcm-profile-card__stats {
        grid-template-columns: 1fr;
    }

    .tcm-public-schedule__grid {
        grid-template-columns: 1fr;
    }

    .tcm-public-schedule__day-header {
        min-height: 64px;
        font-size: 18px;
    }

    .tcm-public-schedule__entry {
        min-height: 120px;
    }

    .tcm-auth-card,
    .tcm-auth-visual,
    .tcm-customer-card,
    .tcm-customer-sidebar,
    .tcm-customer-mobilebar {
        border-radius: 22px;
    }

    .tcm-auth-card {
        padding: 24px;
    }

    .tcm-auth-card h1,
    .tcm-auth-visual h2,
    .tcm-customer-topbar h1 {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    .tcm-public-schedule__grid {
        grid-template-columns: repeat(var(--tcm-schedule-columns-sm, 3), minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    .tcm-public-schedule__grid {
        grid-template-columns: 1fr;
    }
}
