/* VERSION: v2.11.3 - Add width:100% to .slot container (5 Jan 2026) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

/* iOS-style system font stack with Poppins as primary */
body {
    font-family: Poppins, -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: #fff;
    min-height: 100dvh;
    -webkit-user-select: none;
    user-select: none;
    overflow-x: clip;
    transition: background .3s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

/* iOS spring animation timing */
:root {
    --ios-spring: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ios-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --glass-bg: rgba(26, 26, 26, 0.72);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-shadow: 0 2px 16px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1)
}

.splash {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s, visibility 0.6s;
    overflow: hidden
}

.splash::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 124, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: splash-pulse 2s ease-in-out infinite
}

.splash.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.splash-logo {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 3px;
    animation: splash-fadeIn 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1
}

.splash-booking {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--accent);
    margin-top: 8px;
    text-transform: uppercase;
    animation: splash-fadeIn 0.8s ease-out 0.4s both;
    position: relative;
    z-index: 1
}

.splash-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
    animation: splash-fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 1
}

@keyframes splash-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Pull to Refresh */
.pull-to-refresh {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .3s var(--ios-spring)
}

.pull-to-refresh.visible {
    opacity: 1
}

.pull-to-refresh.refreshing {
    opacity: 1
}

.ptr-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(var(--accent-rgb), 0.3);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: none
}

.pull-to-refresh.refreshing .ptr-spinner {
    animation: spin 0.8s linear infinite
}

.ptr-text {
    font-size: 13px;
    color: #71717a;
    font-weight: 500
}

@keyframes splash-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8
    }
}

@keyframes splash-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(74, 124, 232, 0.2);
    border-top-color: #4a7ce8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
    z-index: 1
}

.lock-screen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000
}

.lock-screen.hide {
    display: none
}

.lock-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), .15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px
}

.lock-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5
}

.lock-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 8px
}

.lock-sub {
    font-size: 14px;
    color: #71717a;
    margin-bottom: 32px
}

.lock-btn {
    background: var(--accent);
    color: #121212;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform .2s, opacity .2s
}

.lock-btn:active {
    transform: scale(.95);
    opacity: .8
}

.lock-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.lock-skip {
    margin-top: 24px;
    color: #52525b;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline
}

.lock-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 16px;
    text-align: center
}

/* Trainer Selection Screen */
.trainer-select-screen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    animation: fadeIn 0.5s ease-out
}

.trainer-select-screen.hide {
    display: none
}

.trainer-select-content {
    text-align: center;
    padding: 32px;
    width: 100%;
    max-width: 400px
}

.trainer-select-logo {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.trainer-select-sub {
    font-size: 18px;
    color: #71717a;
    margin-bottom: 40px;
    font-weight: 500
}

.trainer-select-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px
}

.trainer-select-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--surface-light);
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
}

.trainer-select-btn:hover {
    background: var(--surface);
    border-color: #3a3a3a;
    transform: scale(1.02)
}

.trainer-select-btn:active {
    transform: scale(0.98)
}

.trainer-select-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    flex-shrink: 0
}

.trainer-select-info {
    text-align: left;
    flex: 1
}

.trainer-select-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px
}

.trainer-select-role {
    font-size: 13px;
    color: #71717a
}

.trainer-select-hint {
    font-size: 12px;
    color: #52525b;
    margin-top: 16px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.app {
    max-width: 430px;
    margin: 0 auto;
    display: none
}

.app.show {
    display: block
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border)
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.header-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.header-logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px
}

.header-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 6px
}

#headerDayInfo {
    letter-spacing: 0.3px;
    text-transform: none;
    font-size: 14px;
    font-weight: 500;
    color: #888
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s
}

.header-icon-btn:active {
    transform: scale(0.95)
}

.header-icon-btn svg {
    stroke: #a1a1aa;
    fill: none;
    stroke-width: 2
}

.header-avatar-wrap {
    position: relative;
    flex-shrink: 0
}

.header-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #333;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 22px
}

.sync-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid #121212
}

.sync-dot.offline {
    background: #ef4444
}

.sync-dot.syncing {
    background: var(--accent);
    animation: pulse 1s infinite
}

.avatar-flag {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 14px;
    display: none
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s
}

.weather-widget:active {
    opacity: 1
}

.weather-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center
}

.weather-icon svg {
    width: 26px;
    height: 26px;
    stroke: #a1a1aa;
    fill: none;
    stroke-width: 1.5
}

.weather-temp {
    font-size: 16px;
    color: #a1a1aa;
    font-weight: 500
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative
}

.icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: #a1a1aa;
    fill: none;
    stroke-width: 1.8
}

.icon-btn-sm {
    width: 32px;
    height: 32px
}

.icon-btn-sm svg {
    width: 16px;
    height: 16px
}

.profile-compact {
    padding: 12px 20px 16px
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.avatar-mini {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--accent);
    flex-shrink: 0
}

.avatar-switch-mini {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    opacity: .6;
    transition: opacity .2s, transform .2s;
    margin-left: -8px;
    flex-shrink: 0
}

.avatar-switch-mini:hover {
    opacity: 1;
    transform: scale(1.1)
}

.profile-info {
    flex: 1;
    min-width: 0
}

.profile-info .name {
    font-size: 18px;
    margin: 0
}

.week-label {
    font-size: 13px;
    color: #71717a;
    margin-top: 2px
}

/* Week Overview */
.week-card {
    padding: 16px 16px 8px;
    margin: 0
}

.week-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px
}

#locationBadge {
    min-width: 110px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.loc-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s
}

.loc-icon:hover {
    background: var(--surface)
}

.loc-icon:hover svg {
    stroke: var(--accent)
}

.loc-icon svg {
    width: 22px;
    height: 22px;
    stroke: #555;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.loc-flat {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: opacity .2s
}

.loc-flat:hover {
    opacity: .7
}

.loc-flat-flag {
    font-size: 14px
}

.loc-flat-name {
    font-size: 14px;
    color: #666;
    font-weight: 500
}

.week-summary-inline {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    font-weight: 500
}

.day-unit-display {
    text-align: center;
    font-size: 14px;
    color: #666;
    padding: 8px 0 4px;
    font-weight: 500
}

.week-date-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

.arrow-text {
    font-size: 28px;
    color: #444;
    cursor: pointer;
    padding: 8px 12px;
    transition: color .2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none
}

.arrow-text:hover {
    color: #888
}

.arrow-text:active {
    color: var(--accent)
}

.week-date-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer
}

.sched-date-num {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    min-width: 60px;
    text-align: right
}

.sched-date-divider {
    width: 1px;
    height: 48px;
    background: #444
}

.sched-date-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 100px;
    text-align: left
}

.sched-date-weekday {
    font-size: 18px;
    font-weight: 500;
    color: #fff
}

.sched-date-month {
    font-size: 14px;
    color: #666
}

.revenue-summary {
    text-align: center;
    font-size: 14px;
    color: #71717a;
    padding: 12px 0
}

.revenue-summary span {
    color: var(--accent);
    font-weight: 600
}

.day-info {
    text-align: center;
    padding: 8px 0
}

.sched-count {
    font-size: 14px;
    color: #a1a1aa;
    font-weight: 500
}

/* Modern Progress Ring Chart */
.week-chart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 0;
    gap: 2px;
    cursor: pointer;
    touch-action: pan-x;
    user-select: none
}

.ring-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    transition: transform .2s
}

.ring-day:hover {
    transform: scale(1.08)
}

.ring-day.selected {
    transform: scale(1.1)
}

.ring-wrap {
    position: relative;
    width: 42px;
    height: 42px
}

.ring-arc {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s
}

.ring-arc::after {
    content: '';
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d0d0d
}

.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #888
}

.ring-day.empty .ring-center {
    color: #444
}

.ring-day.green .ring-center {
    color: #22c55e
}

.ring-day.lime .ring-center {
    color: #84cc16
}

.ring-day.yellow .ring-center {
    color: #eab308
}

.ring-day.orange .ring-center {
    color: #f97316
}

.ring-day.red .ring-center {
    color: #ef4444
}

.ring-day.deep-red .ring-center {
    color: #dc2626
}

.ring-day.selected .ring-arc {
    box-shadow: 0 0 14px rgba(var(--accent-rgb), .5)
}

.ring-day.selected .ring-center {
    color: var(--accent)
}

.ring-label {
    font-size: 10px;
    color: #555;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color .2s
}

.ring-day.today .ring-label {
    color: var(--accent);
    font-weight: 600
}

.ring-day.selected .ring-label {
    color: #fff;
    font-weight: 600
}

.ring-day.saturday .ring-label,
.ring-day.sunday .ring-label {
    color: var(--accent)
}

@keyframes ringPulse {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(var(--accent-rgb), .4)
    }

    50% {
        box-shadow: 0 0 12px rgba(var(--accent-rgb), .7)
    }
}

.ring-day.today .ring-arc {
    animation: ringPulse 2s ease-in-out infinite
}

.ring-day.disabled {
    opacity: 0.25;
    pointer-events: none
}

.ring-day.disabled .ring-label {
    color: #333 !important
}

.ring-day.disabled .ring-center {
    color: #333 !important
}

.stats-nav {
    font-size: 11px;
    color: #71717a;
    text-align: center;
    margin-top: 4px
}

.lesson-card {
    cursor: grab;
    transition: transform 0.15s, box-shadow 0.15s
}

.slot.drop-target {
    background: rgba(245, 166, 35, 0.15);
    border-radius: 12px
}

.lesson-card.dragging {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 100
}

.drop-indicator {
    position: absolute;
    left: 70px;
    right: 16px;
    height: 3px;
    background: #f5a623;
    border-radius: 2px;
    pointer-events: none;
    z-index: 99
}

.avatar.has-photo {
    border-color: var(--accent)
}

.avatar-init {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%
}

.avatar.has-photo .avatar-init {
    display: none
}

.avatar.has-photo .avatar-edit svg {
    width: 12px;
    height: 12px;
    stroke: #121212;
    stroke-width: 2.5
}

.name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px
}

.stats {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 14px;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08)
}

.stat {
    text-align: center;
    flex: 1
}

.stat-val {
    font-size: 22px;
    font-weight: 700
}

.stat-val.gold {
    color: var(--accent)
}

.stat-lbl {
    font-size: 11px;
    color: #71717a;
    margin-top: 2px
}






.section {
    padding: 20px
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px
}

.view-toggle-new {
    display: none;
    gap: 8px;
    margin-bottom: 12px
}

.view-btn-new {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    cursor: pointer;
    transition: all .2s
}

.view-btn-new svg {
    stroke: #71717a;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.view-btn-new.active {
    background: rgba(var(--accent-rgb), .15);
    border-color: rgba(var(--accent-rgb), .4);
    color: var(--accent)
}

.view-btn-new.active svg {
    stroke: var(--accent)
}

.view-btn-cal {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 12px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    cursor: pointer;
    transition: all .2s
}

.view-btn-cal svg {
    stroke: #71717a;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.view-btn-cal.active {
    background: rgba(var(--accent-rgb), .15);
    border-color: rgba(var(--accent-rgb), .4);
    color: var(--accent)
}

.view-btn-cal.active svg {
    stroke: var(--accent)
}

.cal-container {
    overflow: hidden;
    transition: max-height .3s ease, margin .3s ease, opacity .2s ease;
    max-height: 400px;
    margin-top: 12px;
    opacity: 1
}

.cal-container.collapsed {
    max-height: 0;
    margin-top: 0;
    opacity: 0
}

.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.cal-month {
    font-size: 14px;
    font-weight: 600
}

.cal-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer
}

.cal-btn svg {
    width: 16px;
    height: 16px;
    stroke: #a1a1aa
}

.cal {
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 8px 4px;
    margin-bottom: 10px;
    overflow: visible;
    box-shadow: none
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
    padding: 0 4px
}

.wd {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #52525b;
    padding: 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px
}

.wd.weekend {
    color: var(--accent)
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    overflow: visible;
    padding: 4px
}

.day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: all .15s ease-out;
    overflow: visible
}

.day:hover {
    background: rgba(255, 255, 255, .05)
}

.day:active {
    transform: scale(0.9)
}

.day.other {
    color: #3f3f46
}

.day.today {
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 700
}

.day.sel:not(.today) {
    background: rgba(var(--accent-rgb), .15);
    color: var(--accent)
}

.day.light::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 3px;
    background: #22c55e;
    border-radius: 2px
}

.day.has::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px
}

.day.busy::after {
    background: #f97316 !important
}

.day.intense::after {
    background: #ef4444 !important
}

.day.today.light::after,
.day.today.has::after,
.day.today.busy::after,
.day.today.intense::after {
    background: var(--bg)
}

.day.travel {
    border: 1.5px solid rgba(var(--accent-rgb), .6);
    background: rgba(var(--accent-rgb), .05)
}

.day-flag {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
    z-index: 2
}

.day.disabled {
    opacity: 0.2;
    pointer-events: none
}

.day-nav {
    position: sticky;
    top: 78px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    padding: 10px 0;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px
}

.day-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(118, 118, 128, 0.12);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s var(--ios-spring)
}

.day-nav-btn:active {
    transform: scale(0.9);
    background: rgba(var(--accent-rgb), .25)
}

.day-nav-btn:active svg {
    stroke: var(--accent)
}

.day-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: #8e8e93;
    transition: stroke .15s
}

.day-nav-center {
    flex: 1;
    text-align: center
}

.sched-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px
}

.sched-date-num {
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
    min-width: 60px;
    text-align: right
}

.sched-date-divider {
    width: 1px;
    height: 48px;
    background: #444
}

.sched-date-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 100px;
    text-align: left
}

.sched-date-weekday {
    font-size: 18px;
    font-weight: 500;
    color: #fff
}

.sched-date-month {
    font-size: 14px;
    color: #666
}

.sched-count {
    font-size: 14px;
    color: #a1a1aa;
    margin-top: 8px;
    font-weight: 500
}

.location-accent {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.9;
    transition: opacity .2s, transform .2s
}

.location-accent:hover {
    transform: scale(1.05)
}

.location-accent:active {
    opacity: 1
}

.location-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--surface);
    border-radius: 8px;
    margin-bottom: 4px;
    cursor: pointer;
    border: 1px solid transparent
}

.location-option:hover {
    background: #222
}

.location-option:active,
.location-option.selected {
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.5)
}

.flag-opt {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent
}

.flag-opt:hover {
    background: #2a2a2a
}

.flag-opt.selected {
    border-color: var(--accent);
    background: #2a2a2a
}

.location-emoji {
    font-size: 18px
}

.location-name {
    flex: 1;
    font-size: 13px
}

.location-check {
    color: var(--accent);
    font-size: 14px
}

.swipe-container {
    position: relative;
    touch-action: pan-y;
    overflow: visible;
    transition: opacity 0.15s ease
}

.swipe-container.swipe-left {
    animation: slideLeft 0.2s ease
}

.swipe-container.swipe-right {
    animation: slideRight 0.2s ease
}

@keyframes slideLeft {
    0% {
        opacity: 1;
        transform: translateX(0)
    }

    50% {
        opacity: 0.5;
        transform: translateX(-20px)
    }

    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

@keyframes slideRight {
    0% {
        opacity: 1;
        transform: translateX(0)
    }

    50% {
        opacity: 0.5;
        transform: translateX(20px)
    }

    100% {
        opacity: 1;
        transform: translateX(0)
    }
}

.slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity .15s
}

.slot {
    display: flex;
    gap: 10px;
    width: 100%
}

.slot-time {
    display: none
}

.slot-card {
    flex: 1;
    min-height: 56px;
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all .2s var(--ios-spring)
}

.slot-card:active {
    transform: scale(0.98)
}

.slot-card.booked {
    background: linear-gradient(145deg, rgba(var(--accent-rgb), .1) 0%, rgba(20, 20, 20, .95) 100%);
    border: none;
    border-left: 4px solid var(--accent);
    justify-content: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 76px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25)
}

.slot-card.booked-90 {
    background: linear-gradient(145deg, rgba(239, 68, 68, .12) 0%, rgba(20, 20, 20, .95) 100%);
    border-left: 4px solid #ef4444;
    min-height: 104px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.15)
}

.lesson-time-range {
    font-size: 12px;
    font-weight: 600;
    color: rgba(var(--accent-rgb), .8);
    letter-spacing: 0.5px
}

.slot-card.booked-90 .lesson-time-range {
    color: #ef4444
}

.lesson-main {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%
}

.lesson-content {
    flex: 1;
    min-width: 0;
    max-width: 100%
}

.slot-card.cont {
    opacity: .5;
    border-left: 4px solid var(--accent);
    background: rgba(var(--accent-rgb), .05)
}

.slot-empty {
    font-size: 14px;
    color: #71717a
}

.slot-pause {
    background: rgba(96, 165, 250, .08);
    border: 1px dashed rgba(96, 165, 250, .3);
    cursor: default
}

.slot-pause:hover {
    border-color: rgba(96, 165, 250, .4);
    transform: none
}

.slot-pause .slot-empty {
    color: #60a5fa
}

.slot-gap {
    background: rgba(113, 113, 122, .1) !important;
    border: 1px dashed rgba(113, 113, 122, .3) !important;
    min-height: 40px
}

.slot-gap-text {
    font-size: 12px;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 6px
}

.day-header-sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin: 8px 0;
    gap: 8px
}

.day-header-sticky .day-date {
    font-size: 15px;
    font-weight: 500;
    color: #666
}

.day-header-sticky .day-units {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    margin-left: auto
}

.day-header-sticky .day-location {
    color: var(--accent);
    font-size: 13px
}

.lesson-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    overflow: hidden;
    flex-shrink: 0;
    background-size: cover;
    background-position: center
}

.lesson-info {
    flex: 1;
    min-width: 0
}

.lesson-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    overflow: hidden
}

.lesson-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0
}

.lesson-meta {
    font-size: 14px;
    color: #71717a;
    margin-top: 3px
}

.lesson-dur {
    font-size: 16px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-weight: 600
}

.lesson-dur svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.lesson-dur.dur-90 {
    color: #ef4444;
    font-weight: 600;
    font-size: 16px
}

.lesson-dur.dur-90 svg {
    stroke: #ef4444;
    width: 20px;
    height: 20px
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

.nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translate3d(0, 0, 0);
    -webkit-transform: translateX(-50%) translate3d(0, 0, 0);
    width: 100%;
    max-width: 430px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    padding: 14px 12px calc(20px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 100;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px;
    border-radius: 16px;
    cursor: pointer;
    min-width: 60px;
    transition: transform .1s ease-out;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none
}

.nav-item:active {
    transform: scale(0.92)
}

.nav-item.active {
    background: transparent
}

.nav-item svg {
    width: 30px;
    height: 30px;
    stroke: #52525b;
    fill: none;
    stroke-width: 1.8;
    transition: stroke .15s, transform .15s ease-out
}

.nav-item.active svg {
    stroke: #a1a1aa;
    transform: scale(1.05)
}

.nav-item span {
    display: none
}

.nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    min-width: 18px;
    height: 18px;
    background: #ec4899;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    animation: pulse-badge 2s infinite
}

.nav-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), .5);
    margin-top: -20px;
    transition: transform .2s, box-shadow .2s
}

.nav-fab:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(var(--accent-rgb), .4)
}

.nav-fab svg {
    width: 28px;
    height: 28px;
    stroke: #121212;
    stroke-width: 2.5
}

.nav-toggle {
    width: 66px;
    height: 66px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #d9b432, #c9a227);
    cursor: pointer;
    transition: background .15s ease-out, box-shadow .15s ease-out;
    margin-top: -28px;
    box-shadow: 0 8px 28px rgba(var(--accent-rgb), .45), 0 2px 8px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    user-select: none;
    position: relative;
    z-index: 10
}

.nav-toggle svg {
    stroke: #0a0a0a;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    pointer-events: none
}

.nav-toggle:active {
    transform: scale(0.9)
}

.nav-toggle.tag-view {
    background: linear-gradient(145deg, #5a9cf5, #4a90f2);
    box-shadow: 0 8px 28px rgba(59, 130, 246, .45), 0 2px 8px rgba(0, 0, 0, .3), inset 0 2px 0 rgba(255, 255, 255, .25)
}

.nav-toggle.tag-view svg {
    stroke: #fff
}

.fab {
    display: none
}

.trainer-popup {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(10px);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .6);
    opacity: 0;
    transition: opacity .2s, transform .2s;
    z-index: 200
}

.trainer-popup.show {
    display: flex;
    opacity: 1;
    transform: translateY(8px)
}

.trainer-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 16px;
    border: 8px solid transparent;
    border-bottom-color: #1a1a1a
}

.trainer-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s
}

.trainer-option:hover {
    background: rgba(255, 255, 255, .08)
}

.trainer-option.active {
    background: rgba(var(--accent-rgb), .15)
}

.trainer-option-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background-size: cover;
    background-position: center
}

.trainer-option-name {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px
}

.trainer-option.active .trainer-option-name {
    color: var(--accent)
}

.trainer-option-check {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    display: none;
    align-items: center;
    justify-content: center
}

.trainer-option.active .trainer-option-check {
    display: flex
}

.trainer-option-check svg {
    width: 12px;
    height: 12px;
    stroke: #121212;
    stroke-width: 3
}

.page {
    display: none;
    padding-bottom: 100px
}

.page.active {
    display: block
}

.chat-page-content {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 140px)
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 0
}

.chat-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 14px
}

.chat-msg.own {
    flex-direction: row-reverse
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0
}

.chat-bubble {
    max-width: 75%;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface)
}

.chat-msg.own .chat-bubble {
    background: rgba(var(--accent-rgb), .15)
}

.chat-text {
    font-size: 14px;
    line-height: 1.4
}

.chat-time {
    font-size: 10px;
    color: #71717a;
    margin-top: 4px
}

.chat-input-bar {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    gap: 10px;
    background: #121212;
    flex-shrink: 0
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50px;
    font-size: 16px;
    color: #fff;
    font-family: inherit;
    -webkit-appearance: none
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent)
}

.chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0
}

.chat-send svg {
    width: 20px;
    height: 20px;
    stroke: #121212;
    stroke-width: 2
}

.search-box {
    position: relative;
    margin-bottom: 18px;
    display: flex;
    align-items: center
}

.search-box input {
    width: 100%;
    padding: 14px 90px 14px 46px;
    background: rgba(118, 118, 128, 0.12);
    border: none;
    border-radius: 14px;
    font-size: 15px;
    color: #fff;
    font-family: inherit;
    transition: all .2s var(--ios-spring)
}

.search-box input::placeholder {
    color: #636366
}

.search-box input:focus {
    outline: none;
    background: rgba(118, 118, 128, 0.18);
    box-shadow: 0 0 0 2px rgba(var(--accent-rgb), .3)
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: #636366
}

.search-clear {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(118, 118, 128, 0.2);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    z-index: 10
}

.search-clear svg {
    width: 14px;
    height: 14px;
    stroke: #a1a1aa;
    position: static;
    transform: none
}

.search-clear:hover {
    background: rgba(118, 118, 128, 0.3)
}

.search-clear:active {
    transform: translateY(-50%) scale(0.9)
}

.client-list {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.client-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 14px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .04);
    transition: all .2s var(--ios-spring)
}

.client-card:active {
    transform: scale(0.98);
    background: #1e1e1e
}

/* New Client List Styles */
#clientCount {
    font-size: 12px;
    color: #71717a;
    background: var(--surface);
    padding: 4px 10px;
    border-radius: 10px;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5
}

.filter-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px
}

.filter-chip {
    background: var(--surface);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    color: #a1a1aa;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s
}

.filter-chip:hover {
    border-color: #444
}

.filter-chip.active {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: var(--accent);
    color: var(--accent)
}

.alpha-section {
    margin-bottom: 4px
}

.alpha-header {
    padding: 14px 4px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px
}

.alpha-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #333, transparent 70%)
}

.alpha-clients {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.client-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    gap: 12px;
    cursor: pointer;
    transition: all .15s;
    border-radius: 12px
}

.client-row:hover {
    background: var(--surface)
}

.client-row:active {
    transform: scale(0.99);
    opacity: 0.9
}

.client-row .client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
    position: relative;
    color: #a1a1aa
}

.client-row.member .client-avatar {
    border: 2px solid var(--accent);
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent)
}

.client-row .avatar-star {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: #000;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #0a0a0a
}

.client-row .client-info {
    flex: 1;
    min-width: 0
}

.client-row .client-name {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.client-row .client-meta {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px;
    display: flex;
    gap: 6px;
    align-items: center
}

.client-row .client-meta .dot {
    width: 3px;
    height: 3px;
    background: #71717a;
    border-radius: 50%
}

.client-row .client-stats {
    text-align: right;
    flex-shrink: 0
}

.client-row .client-sessions {
    font-size: 16px;
    font-weight: 700;
    color: #fff
}

.client-row.member .client-sessions {
    color: var(--accent)
}

.client-row .client-sessions-label {
    font-size: 9px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.client-row .client-chevron {
    color: #71717a;
    font-size: 16px;
    margin-left: 4px
}

/* Legacy */
.client-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    overflow: hidden;
    flex-shrink: 0
}

.client-name {
    font-size: 14px;
    font-weight: 500
}

.client-stats-box {
    display: flex;
    gap: 12px;
    margin: 16px 0;
    padding: 14px;
    background: #242424;
    border-radius: 12px
}

.client-stats-box .stat-item {
    flex: 1;
    text-align: center
}

.client-stats-box .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent)
}

.client-stats-box .stat-label {
    font-size: 11px;
    color: #71717a;
    margin-top: 2px
}

.stats-card {
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 16px 0;
    margin-bottom: 8px;
    box-shadow: none;
    transition: none
}

.stats-label {
    font-size: 12px;
    color: #71717a;
    margin-bottom: 4px
}

.stats-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent)
}

.stats-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 12px
}

.stats-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 18px
}

.stats-toggle-btn {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    border: 1px solid #222;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    background: transparent
}

.stats-toggle-btn:hover {
    border-color: #333;
    color: #888
}

.stats-toggle-btn.active {
    background: #c9a227;
    color: #0a0a0a;
    border-color: #c9a227;
    font-weight: 600
}

.payment-filter-tabs {
    display: flex;
    gap: 2px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    justify-content: center
}

.payment-filter-tab {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #71717a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center
}

.payment-filter-tab.active {
    color: #c9a227;
    border-bottom-color: #c9a227
}

.payment-period-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    justify-content: center
}

.payment-period-pill {
    padding: 6px 14px;
    background: rgba(118, 118, 128, 0.12);
    border: none;
    color: #8e8e93;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit
}

.payment-period-pill.active {
    background: linear-gradient(145deg, #d4af37, #c9a227);
    color: #0a0a0a
}

.payment-search-wrapper {
    padding: 0 16px 16px;
    display: flex;
    justify-content: center
}

.payment-search-container {
    position: relative;
    width: 100%;
    max-width: 400px
}

.payment-search-input {
    width: 100%;
    padding: 10px 40px 10px 16px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s
}

.payment-search-input:focus {
    border-color: #c9a227;
    background: #242424
}

.payment-search-input::placeholder {
    color: #71717a
}

.payment-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #71717a;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    line-height: 1
}

.payment-search-clear:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #c9a227
}

.payment-search-clear:active {
    transform: translateY(-50%) scale(0.95)
}

.chart-card {
    padding: 16px 12px 12px;
    position: relative
}

.chart-total {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent)
}

.chart-svg {
    width: 100%;
    height: 140px;
    display: block
}

.chart-area {
    fill: url(#chartAreaGrad)
}

.chart-line {
    fill: none;
    stroke: url(#chartLineGrad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round
}

.chart-dot {
    fill: var(--accent);
    stroke: #121212;
    stroke-width: 2
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 8px 0
}

.chart-labels span {
    font-size: 10px;
    color: #52525b;
    flex: 1;
    text-align: center
}

.chart-labels span.saturday {
    color: var(--accent)
}

.chart-labels span.sunday {
    color: var(--accent)
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #242424;
    border-radius: 12px;
    margin-bottom: 10px
}

.breakdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    overflow: hidden;
    background-size: cover;
    background-position: center
}

.breakdown-info {
    flex: 1
}

.breakdown-name {
    font-size: 16px;
    font-weight: 600
}

.breakdown-count {
    font-size: 13px;
    color: #71717a
}

.breakdown-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent)
}

/* Stats Hero Section - Frameless Chart Design */
.stats-hero {
    background: transparent;
    margin-bottom: 16px;
    overflow: visible
}

.stats-hero-top {
    padding: 0 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.stats-hero-left {
    flex: 1
}

.stats-hero-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px
}

.stats-hero-value {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0
}

.stats-trend {
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.stats-trend.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444
}

.stats-chart-area {
    height: 130px;
    margin: 12px 0 0;
    overflow: visible
}

.stats-chart-area svg {
    width: 100%;
    height: 100%;
    overflow: visible
}

.stats-kpi-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    gap: 8px;
    background: transparent
}

.stats-kpi {
    flex: 1;
    text-align: center
}

.stats-kpi-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2px
}

.stats-kpi-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    margin-top: 0
}

/* Stats Trainers with Progress Bars - FREE FLOATING */
.stats-trainers {}

.stats-trainer-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #1a1a1a;
    background: transparent
}

.stats-trainer-bar:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.stats-trainer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-size: cover;
    background-position: center
}

.stats-trainer-info {
    flex: 1
}

.stats-trainer-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px
}

.stats-trainer-progress {
    height: 4px;
    background: #2a2a2a;
    border-radius: 2px;
    margin-top: 0;
    overflow: hidden
}

.stats-trainer-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s
}

.stats-trainer-amount {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    min-width: 75px;
    text-align: right
}

/* Stats Travel Card - Expandable Ausland */
.stats-travel-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 16px;
    cursor: default;
    transition: all 0.3s
}

.stats-travel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s
}

.stats-travel-header:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.15)
}

.stats-travel-title {
    font-size: 12px;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600
}

.stats-travel-total {
    font-size: 20px;
    font-weight: 800;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px
}

.stats-travel-arrow {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s
}

.stats-travel-card.expanded .stats-travel-arrow {
    transform: rotate(180deg)
}

.stats-travel-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.stats-travel-card.expanded .stats-travel-details {
    max-height: 500px
}

.stats-travel-item {
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 14px;
    gap: 8px;
    transition: all 0.2s;
    min-height: 90px;
    align-items: start
}

.stats-travel-item:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3)
}

.stats-travel-flag {
    font-size: 12px;
    opacity: 0.6;
    line-height: 1
}

.stats-travel-info {
    grid-row: 2;
    align-self: center
}

.stats-travel-name {
    font-size: 12px;
    font-weight: 600;
    color: #e5e5e5;
    line-height: 1.4;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.stats-travel-units {
    font-size: 10px;
    color: #666;
    margin-top: 4px;
    line-height: 1.3
}

.stats-travel-amount {
    font-size: 17px;
    font-weight: 900;
    color: #3b82f6;
    letter-spacing: -0.5px;
    grid-row: 3;
    align-self: end
}

/* Stats Collapsible Sections */
.stats-collapsible {
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.stats-collapsible:last-child {
    border-bottom: none
}

.stats-collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%
}

.stats-collapsible-header:active {
    opacity: 0.7
}

.stats-collapsible-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px
}

.stats-collapsible-value {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 8px
}

.stats-collapsible-value.income {
    color: #22c55e
}

.stats-collapsible-value.expense {
    color: #ef4444
}

.stats-collapsible-value.blue {
    color: #3b82f6
}

.stats-collapsible-arrow {
    color: #666;
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: 0
}

.stats-collapsible.open .stats-collapsible-arrow {
    transform: rotate(180deg)
}

.stats-collapsible-content {
    display: none;
    padding: 0 0 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding-top: 0
}

.stats-collapsible.open .stats-collapsible-content {
    display: block
}

/* Guest Trainer Accounting */
.stats-guest-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px
}

.stats-guest-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.stats-guest-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px
}

.stats-guest-section-total {
    font-size: 17px;
    font-weight: 700
}

.stats-guest-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px
}

.stats-guest-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #0a0a0a;
    background: linear-gradient(135deg, #c9a227, #a88620);
    background-size: cover;
    background-position: center
}

.stats-guest-name {
    flex: 1
}

.stats-guest-name h4 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 0
}

.stats-guest-name span {
    font-size: 11px;
    color: #666
}

.stats-guest-share {
    margin-left: auto;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px
}

.stats-guest-rows {}

.stats-guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
    padding: 12px 0;
    border-bottom: 1px solid #222
}

.stats-guest-row:last-child {
    border-bottom: none
}

.stats-guest-row .stats-guest-label {
    display: flex;
    align-items: center;
    gap: 8px
}

.stats-guest-row span:last-child {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: right
}

.stats-guest-row.highlight {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 6px
}

.stats-guest-row.highlight span:last-child {
    color: var(--accent);
    font-weight: 600
}

.stats-guest-row.profit span:last-child {
    color: #22c55e
}

.stats-guest-row.income span:last-child {
    color: #22c55e
}

.stats-guest-row.expense span:last-child {
    color: #ef4444
}

/* Camp Revenue */
.stats-camp-card {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    margin-bottom: 16px
}

.stats-camp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.stats-camp-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px
}

.stats-camp-total {
    font-size: 17px;
    font-weight: 700
}

.stats-camp-content {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px
}

.stats-camp-icon {
    font-size: 48px
}

.stats-camp-info {
    flex: 1
}

.stats-camp-amount {
    font-size: 32px;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 2px
}

.stats-camp-meta {
    font-size: 13px;
    color: #666
}

.stats-camp-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.stats-camp-participant {
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 14px;
    gap: 8px;
    transition: background 0.2s;
    min-height: 90px;
    align-items: start
}

.stats-camp-participant:active {
    background: #222
}

.stats-camp-participant-icon {
    font-size: 12px;
    opacity: 0.5;
    line-height: 1
}

.stats-camp-participant-name {
    font-size: 12px;
    font-weight: 600;
    color: #e5e5e5;
    line-height: 1.4;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-self: center
}

.stats-camp-participant-price {
    font-size: 17px;
    font-weight: 900;
    color: #22c55e;
    letter-spacing: -0.5px;
    align-self: end
}

.stats-camp-export-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    grid-column: 1/-1
}

.stats-camp-export-btn:active {
    transform: scale(0.98);
    opacity: 0.9
}

/* Legacy guest accounting class support (app.js uses old names) */
.guest-accounting-item {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px
}

.guest-accounting-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px
}

.guest-accounting-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #0a0a0a;
    background: linear-gradient(135deg, #c9a227, #a88620)
}

.guest-accounting-name {
    flex: 1;
    font-size: 19px;
    font-weight: 700;
    color: #fff
}

.guest-accounting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #888;
    padding: 12px 0;
    border-bottom: 1px solid #222
}

.guest-accounting-row:last-child {
    border-bottom: none
}

.guest-accounting-row span:first-child {
    display: flex;
    align-items: center;
    gap: 8px
}

.guest-accounting-value {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: right
}

.guest-accounting-row.profit .guest-accounting-value {
    color: #22c55e
}

/* Stats Export Button - Fixed Position */
.stats-export-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #c9a227, #a88620);
    border: none;
    border-radius: 12px;
    color: #0a0a0a;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
    z-index: 99;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 8px
}

.stats-export-btn:active {
    transform: scale(0.95);
    opacity: 0.8
}

.stats-export-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.settings-section {
    margin-bottom: 20px
}

.settings-section.collapsed .settings-card {
    display: none
}

.settings-section.collapsed .settings-add-btn {
    display: none
}

.settings-section.collapsed .trips-timeline-card {
    display: none
}

.settings-section.collapsed .trips-add-btn {
    display: none
}

.settings-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding: 8px 4px
}

.settings-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #333, transparent)
}

.settings-title .collapse-icon {
    font-size: 10px;
    color: #52525b;
    transition: transform .2s;
    margin-left: auto
}

.settings-section.collapsed .collapse-icon {
    transform: rotate(-90deg)
}

.settings-label {
    font-weight: 600;
    font-size: 15px
}

.settings-desc {
    font-size: 12px
}

.quick-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.quick-link-btn {
    flex: 1;
    min-width: 85px;
    background: var(--surface);
    border: 1px solid #333;
    border-radius: 14px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background .2s
}

.quick-link-btn:active {
    background: #252525
}

.quick-link-btn svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5
}

/* QR Modal Premium Design */
.qr-modal {
    max-width: 380px;
    text-align: center
}

.qr-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 24px
}

.qr-modal-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: left;
    margin: 0
}

.qr-modal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.qr-modal-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
    stroke: none
}

.qr-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s
}

.qr-close-btn:hover {
    background: rgba(255, 255, 255, 0.1)
}

.qr-close-btn svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    stroke-width: 2;
    fill: none
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px
}

.qr-code-frame {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--accent-rgb), 0.1)
}

.qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid var(--accent)
}

.qr-corner-tl {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0
}

.qr-corner-tr {
    top: -4px;
    right: -4px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 8px 0 0
}

.qr-corner-bl {
    bottom: -4px;
    left: -4px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 8px
}

.qr-corner-br {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0
}

.qr-code-inner {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center
}

.qr-code-inner img {
    width: 180px !important;
    height: 180px !important;
    display: block
}

.qr-url-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 24px
}

.qr-url-display svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0
}

.qr-url-display span {
    font-size: 12px;
    color: #888;
    word-break: break-all;
    text-align: left
}

.qr-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.qr-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all .2s ease
}

.qr-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12)
}

.qr-action-btn:active {
    transform: scale(0.97)
}

.qr-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.qr-action-btn:hover .qr-action-icon {
    background: rgba(255, 255, 255, 0.1)
}

.qr-action-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 1.8;
    fill: none
}

.qr-action-btn span {
    font-size: 13px;
    font-weight: 500;
    color: #fff
}

.qr-action-wa {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.2)
}

.qr-action-wa:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3)
}

.qr-action-wa .qr-action-icon {
    background: rgba(37, 211, 102, 0.15)
}

.qr-action-wa:hover .qr-action-icon {
    background: rgba(37, 211, 102, 0.25)
}

.qr-action-wa .qr-action-icon svg {
    fill: #25D366;
    stroke: none
}

.qr-action-wa span {
    color: #25D366
}

.qr-action-close {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.06)
}

.qr-action-close .qr-action-icon svg {
    stroke: #888
}

.qr-action-close span {
    color: #888
}

.quick-link-btn span {
    font-size: 13px;
    color: #a1a1aa;
    text-align: center;
    font-weight: 500
}

/* Anfragen Modal Premium Design */
.anfragen-modal {
    max-width: 420px;
    max-height: 85vh
}

.anfragen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px
}

.anfragen-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0
}

.anfragen-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.anfragen-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.anfragen-content {
    overflow-y: auto;
    max-height: calc(85vh - 100px)
}

.anfragen-input-section {
    margin-bottom: 20px
}

.anfragen-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.anfragen-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    transition: all .2s;
    line-height: 1.5
}

.anfragen-textarea::placeholder {
    color: #555
}

.anfragen-textarea:focus {
    outline: none;
    border-color: rgba(var(--accent-rgb), 0.4);
    background: rgba(255, 255, 255, 0.05)
}

.anfragen-parse-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.anfragen-parse-btn:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.1));
    border-color: rgba(var(--accent-rgb), 0.5)
}

.anfragen-parse-btn:active {
    transform: scale(0.98)
}

.anfragen-parse-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.anfragen-parsed {
    padding: 16px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    margin-bottom: 20px
}

.anfragen-parsed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.anfragen-parsed-header svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    stroke-width: 2;
    fill: none
}

.anfragen-parsed-header span {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e
}

.anfragen-parsed-content {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.6
}

.anfragen-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 12px 16px;
    background: #22c55e;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.anfragen-save-btn:hover {
    background: #16a34a
}

.anfragen-save-btn:active {
    transform: scale(0.98)
}

.anfragen-save-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.anfragen-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 20px 0
}

.anfragen-list-section {
    margin-bottom: 8px
}

.anfragen-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.anfragen-list-title {
    display: flex;
    align-items: center;
    gap: 10px
}

.anfragen-list-title svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    stroke-width: 2;
    fill: none
}

.anfragen-list-title span {
    font-size: 14px;
    font-weight: 600;
    color: #fff
}

.anfragen-count {
    font-size: 12px;
    font-weight: 500;
    color: #71717a;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 20px
}

.anfragen-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.anfragen-empty {
    color: #555;
    font-size: 13px;
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.08)
}

.anfragen-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    transition: all .2s
}

.anfragen-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(var(--accent-rgb), 0.2)
}

.anfragen-item:active {
    transform: scale(0.99)
}

.anfragen-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px
}

.anfragen-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff
}

.anfragen-item-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px
}

.anfragen-item-status.complete {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12)
}

.anfragen-item-status.partial {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12)
}

.anfragen-item-status.pending {
    color: #71717a;
    background: rgba(255, 255, 255, 0.06)
}

.anfragen-item-date {
    font-size: 12px;
    color: #71717a;
    margin-bottom: 10px
}

.anfragen-item-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.anfragen-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px
}

.anfragen-tag.complete {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1)
}

.anfragen-tag.pending {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1)
}

.anfragen-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s
}

.anfragen-clear-btn:hover {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.3)
}

.anfragen-clear-btn svg {
    width: 16px;
    height: 16px;
    stroke: #ef4444;
    stroke-width: 2;
    fill: none
}

/* Camp Übersicht Modal Premium Design */
.camp-modal {
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column
}

.camp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
    flex-shrink: 0
}

.camp-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0
}

.camp-header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.camp-header-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.camp-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding-bottom: 8px
}

.camp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px
}

.camp-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 10px;
    text-align: center
}

.camp-stat-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px
}

.camp-stat-value.gold {
    color: var(--accent)
}

.camp-stat-value.green {
    color: #22c55e
}

.camp-stat-value.blue {
    color: #3b82f6
}

.camp-stat-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.3px
}

.camp-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    margin-bottom: 16px
}

.camp-add-btn:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.1));
    border-color: rgba(var(--accent-rgb), 0.5)
}

.camp-add-btn:active {
    transform: scale(0.98)
}

.camp-add-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2.5;
    fill: none
}

.camp-trainer-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #a1a1aa
}

.camp-trainer-summary:empty {
    display: none
}

.camp-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px
}

.camp-tab {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #888;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.camp-tab:hover {
    background: rgba(255, 255, 255, 0.06)
}

.camp-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #121212
}

.camp-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.camp-empty {
    color: #555;
    font-size: 13px;
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.08)
}

.camp-footer {
    flex-shrink: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px
}

.camp-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s
}

.camp-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff
}

/* Share Availability Modal Premium Design */
.share-modal {
    max-width: 440px;
    max-height: 90vh;
    display: flex;
    flex-direction: column
}

.share-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
    flex-shrink: 0
}

.share-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0
}

.share-header-titles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.share-header-subtitle {
    font-size: 13px;
    color: #71717a;
    font-weight: 400
}

.share-header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center
}

.share-header-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.share-lang-switch {
    display: flex;
    gap: 4px;
    margin-right: 4px
}

.share-lang-btn {
    font-size: 18px;
    padding: 6px 10px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all .2s;
    opacity: 0.5
}

.share-lang-btn:hover {
    opacity: 0.8
}

.share-lang-btn.active {
    background: rgba(var(--accent-rgb), 0.2);
    opacity: 1
}

.share-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0
}

.share-intro {
    margin-bottom: 16px
}

.share-intro p {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.6
}

.share-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 12px;
    margin-bottom: 16px
}

.share-hint svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0
}

.share-hint span {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500
}

.share-calendar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px
}

.share-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.share-cal-nav {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s
}

.share-cal-nav:hover {
    background: rgba(255, 255, 255, 0.08)
}

.share-cal-nav svg {
    width: 18px;
    height: 18px;
    stroke: #888;
    stroke-width: 2;
    fill: none
}

.share-cal-title {
    font-weight: 600;
    font-size: 15px;
    color: #fff
}

.share-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    font-size: 11px;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.share-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px
}

.share-section {
    margin-bottom: 16px
}

.share-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.share-selected-days {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px
}

.share-no-selection {
    color: #444;
    font-size: 13px
}

.share-trainers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.share-units-info {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 10px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    display: none
}

.share-units-info.visible {
    display: block
}

.share-time-filter {
    display: flex;
    gap: 8px
}

.time-filter-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit
}

.time-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff
}

.time-filter-btn.active {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.3);
    color: var(--accent)
}

.share-link-box {
    padding: 16px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    margin-bottom: 16px
}

.share-link-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px
}

.share-link-header svg {
    width: 16px;
    height: 16px;
    stroke: #22c55e;
    stroke-width: 2;
    fill: none
}

.share-link-header span {
    font-size: 13px;
    font-weight: 600;
    color: #22c55e
}

.share-link-url {
    font-size: 12px;
    color: #a1a1aa;
    word-break: break-all;
    line-height: 1.5;
    margin: 0 0 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px
}

.share-link-validity {
    display: flex;
    align-items: center;
    gap: 6px
}

.share-link-validity svg {
    width: 14px;
    height: 14px;
    stroke: #71717a;
    stroke-width: 2;
    fill: none
}

.share-link-validity span {
    font-size: 11px;
    color: #71717a
}

.share-msg-box {
    padding: 16px;
    background: rgba(var(--accent-rgb), 0.06);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 16px;
    margin-bottom: 16px
}

.share-msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px
}

.share-msg-header svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.share-msg-header span {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent)
}

.share-msg-content {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px
}

.share-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px
}

.share-gen-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.share-gen-btn:hover {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.1));
    border-color: rgba(var(--accent-rgb), 0.5)
}

.share-gen-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.share-copy-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s
}

.share-copy-btn:hover {
    background: rgba(255, 255, 255, 0.08)
}

.share-copy-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none
}

.share-wa-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 14px;
    color: #25D366;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none
}

.share-wa-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4)
}

.share-wa-btn svg {
    width: 18px;
    height: 18px;
    stroke: #25D366;
    stroke-width: 2;
    fill: none
}

/* ====== INVOICE MODAL - Design 2: Numbers First ====== */
.invoice-modal {
    max-width: 420px;
    width: 92%;
    background: #161616;
    overflow: hidden
}

.invoice-modal .modal-header-tg {
    position: relative
}

.invoice-content {
    padding: 0
}

/* Hero Section - Big Amount */
.invoice-hero {
    padding: 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(201,162,39,0.08) 0%, transparent 100%)
}

.invoice-hero-name {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px
}

.invoice-hero-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    letter-spacing: -2px;
    line-height: 1
}

.invoice-hero-period {
    font-size: 12px;
    color: #555;
    margin-top: 10px
}

/* Language Toggle in Header */
.invoice-lang-toggle {
    display: flex;
    gap: 4px
}

.invoice-lang-btn {
    background: rgba(255,255,255,0.06);
    border: none;
    color: #555;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease
}

.invoice-lang-btn.active {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent)
}

.invoice-lang-btn:hover:not(.active) {
    color: #888
}

/* Breakdown Items */
.invoice-breakdown {
    padding: 0 24px 24px
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    margin-bottom: 8px
}

.invoice-item:last-child {
    margin-bottom: 0
}

.invoice-item-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.invoice-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.invoice-item-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent)
}

.invoice-item-info {
    min-width: 0
}

.invoice-item-label {
    font-size: 13px;
    color: #fff
}

.invoice-item-detail {
    font-size: 11px;
    color: #555
}

.invoice-item-amount {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    flex-shrink: 0
}

/* Bottom Actions - Edge to Edge */
.invoice-actions {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.06)
}

.invoice-action {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s ease;
    text-decoration: none
}

.invoice-action:first-child {
    border-right: 1px solid rgba(255,255,255,0.06)
}

.invoice-action:hover {
    color: #fff;
    background: rgba(255,255,255,0.02)
}

.invoice-action.wa {
    color: #25D366
}

.invoice-action.wa:hover {
    background: rgba(37, 211, 102, 0.06)
}

.invoice-action svg {
    width: 16px;
    height: 16px
}

/* Hide old elements */
.invoice-preview { display: contents }
.invoice-btn { display: none }
.invoice-btn-secondary { display: none }
.invoice-btn-whatsapp { display: none }

/* Schedule Items for Share Modal */
.schedule-item {
    padding: 14px;
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 8px
}

.schedule-item:last-child {
    margin-bottom: 0
}

.schedule-item .schedule-date {
    font-size: 14px;
    color: #fff;
    font-weight: 500
}

.schedule-item .schedule-time {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 13px;
    color: #71717a;
    margin-top: 2px
}

.schedule-footer {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-top: 16px
}

/* Share Modal V2 Sections */
.share-section-v2 {
    margin-bottom: 20px
}

.share-label-v2 {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
    font-weight: 500
}

.share-trainers-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.share-trainers-v2 .trainer-btn {
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease
}

.share-trainers-v2 .trainer-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12)
}

.share-trainers-v2 .trainer-btn.active {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.4);
    color: var(--accent)
}

.share-units-info-v2 {
    font-size: 11px;
    color: #52525b;
    margin-top: 8px
}

.share-time-filter-v2 {
    display: flex;
    gap: 6px
}

.time-filter-btn-v2 {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #a1a1aa;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease
}

.time-filter-btn-v2:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12)
}

.time-filter-btn-v2.active {
    background: rgba(var(--accent-rgb), 0.12);
    border-color: rgba(var(--accent-rgb), 0.4);
    color: var(--accent)
}

.share-customer-info {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px
}

.share-info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px
}

.share-info-title svg {
    width: 18px;
    height: 18px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none
}

.share-info-title span {
    font-size: 14px;
    font-weight: 600;
    color: #fff
}

.share-info-list {
    margin: 0;
    padding-left: 24px;
    list-style: none
}

.share-info-list li {
    position: relative;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 8px
}

.share-info-list li:last-child {
    margin-bottom: 0
}

.share-info-list li::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%
}

.settings-card {
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
    box-shadow: var(--card-shadow)
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    cursor: pointer
}

.settings-item:last-child {
    border: none
}

.settings-left {
    display: flex;
    align-items: center;
    gap: 12px
}

.settings-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #242424;
    display: flex;
    align-items: center;
    justify-content: center
}

.settings-icon svg {
    width: 18px;
    height: 18px;
    stroke: #888
}

.settings-label {
    font-size: 14px;
    font-weight: 500;
    display: block
}

.settings-desc {
    font-size: 13px;
    color: #52525b;
    display: block;
    margin-top: 2px
}

.settings-value {
    font-size: 15px;
    color: #71717a
}

.color-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.color-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all .2s
}

.color-btn.selected {
    border-color: #fff;
    transform: scale(1.1)
}

/* Guest Trainer Accordions */
.gt-accordion {
    background: var(--surface);
    border-radius: 12px;
    margin: 12px 0;
    overflow: hidden
}

.gt-accordion-header {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s
}

.gt-accordion-header:hover {
    background: rgba(255, 255, 255, 0.02)
}

.gt-accordion-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1
}

.gt-accordion-title {
    font-size: 13px;
    font-weight: 500
}

.gt-accordion-summary {
    font-size: 11px;
    color: #888;
    margin-right: 10px
}

.gt-accordion-chevron {
    color: #555;
    font-size: 10px;
    transition: transform 0.3s
}

.gt-accordion.open .gt-accordion-chevron {
    transform: rotate(180deg)
}

.gt-accordion-content {
    display: none;
    padding: 0 14px 14px
}

.gt-accordion.open .gt-accordion-content {
    display: block
}

/* Travel Accordion */
.travel-accordion {
    background: var(--surface);
    border-radius: 12px;
    margin: 12px 0;
    overflow: hidden
}

.travel-accordion-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s
}

.travel-accordion-header:hover {
    background: rgba(255, 255, 255, 0.02)
}

.travel-accordion-left {
    display: flex;
    align-items: center;
    gap: 8px
}

.travel-accordion-icon {
    font-size: 16px
}

.travel-accordion-title {
    font-size: 13px;
    font-weight: 500
}

.travel-accordion-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 12px;
    font-size: 11px;
    color: #888
}

.travel-tag {
    background: rgba(var(--accent-rgb), 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500
}

.travel-total {
    color: var(--accent);
    font-weight: 600
}

.travel-accordion-chevron {
    color: #666;
    font-size: 10px;
    transition: transform 0.3s
}

.travel-accordion.open .travel-accordion-chevron {
    transform: rotate(180deg)
}

.travel-accordion-content {
    display: none;
    padding: 0 16px 16px
}

.travel-accordion.open .travel-accordion-content {
    display: block
}

/* Travel Timeline */
.travel-timeline {
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px
}

.travel-timeline-line {
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: linear-gradient(to bottom, #a78bfa, #f97316);
    border-radius: 2px
}

.travel-timeline-item {
    position: relative;
    margin-bottom: 14px
}

.travel-timeline-item:last-child {
    margin-bottom: 0
}

.travel-timeline-dot {
    position: absolute;
    left: -18px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #1a1a1a
}

.travel-timeline-dot.arrival {
    background: #a78bfa
}

.travel-timeline-dot.departure {
    background: #f97316
}

.travel-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.travel-timeline-label {
    font-size: 11px;
    font-weight: 600
}

.travel-timeline-label.arrival {
    color: #a78bfa
}

.travel-timeline-label.departure {
    color: #f97316
}

.travel-date-input {
    background: #242424;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    width: 120px
}

.travel-timeline-row {
    display: flex;
    gap: 6px;
    align-items: center
}

.travel-type-mini {
    display: flex;
    gap: 4px
}

.travel-type-mini-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #242424;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s
}

.travel-type-mini-btn.selected {
    background: var(--accent);
    border-color: var(--accent)
}

.travel-flight-input {
    flex: 1;
    background: #242424;
    border: none;
    border-radius: 8px;
    padding: 8px 10px;
    color: #fff;
    font-size: 12px
}

.travel-flight-input::placeholder {
    color: #555
}

.flight-track-btn {
    background: #242424;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s
}

.flight-track-btn:hover {
    background: #333
}

.flight-track-btn:active {
    transform: scale(0.95)
}

.flight-track-btn.loading {
    animation: pulse 1s infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.5
    }
}

.flight-status-display {
    padding: 8px 0 0 0;
    font-size: 12px;
    color: #a1a1aa;
    display: none
}

.flight-status-display.show {
    display: block
}

.flight-status-display .flight-info {
    background: var(--surface);
    border-radius: 8px;
    padding: 10px;
    margin-top: 4px
}

.flight-status-display .flight-route {
    font-size: 11px;
    color: #666;
    margin-bottom: 6px
}

.flight-status-display .flight-times {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-top: 8px
}

.flight-status-display .flight-times span {
    color: #888
}

.flight-status-display .flight-times strong {
    color: #fff
}

/* Travel Costs Grid */
.travel-costs-grid {
    display: flex;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #333
}

.travel-cost-box {
    flex: 1;
    background: #242424;
    border-radius: 10px;
    padding: 10px;
    text-align: center
}

.travel-cost-box.highlight {
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.2)
}

.travel-cost-label {
    font-size: 9px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px
}

.travel-cost-input {
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    -moz-appearance: textfield
}

.travel-cost-input::-webkit-outer-spin-button,
.travel-cost-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.travel-cost-input.highlight {
    color: var(--accent)
}

.travel-cost-hint {
    font-size: 8px;
    color: #555;
    margin-top: 4px
}

/* Guest Arrival Banner */
.arrival-banner {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0.05) 100%);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px
}

.arrival-banner .icon {
    font-size: 16px
}

.arrival-banner .info {
    flex: 1
}

.arrival-banner .name {
    color: #a78bfa;
    font-weight: 600
}

.arrival-banner .flight {
    color: #a1a1aa;
    font-size: 14px;
    font-weight: 500
}

.arrival-banner .status {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600
}

.arrival-banner .status.delayed {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24
}

.arrival-banner.departure {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-color: rgba(249, 115, 22, 0.3)
}

.arrival-banner.departure .name {
    color: #f97316
}

.arrival-banner[onclick] {
    cursor: pointer
}

.arrival-banner[onclick]:active {
    transform: scale(0.98);
    opacity: 0.9
}

.flight-track-hint {
    font-size: 14px;
    opacity: 0.6
}

.flight-status-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600
}

.flight-status-badge.landed {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e
}

.flight-status-badge.active {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6
}

.flight-status-badge.delayed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444
}

.flight-status-badge.cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444
}

.guest-trainer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.guest-trainer-item:last-child {
    border: none
}

.guest-trainer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex: 1
}

.guest-trainer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff
}

.guest-trainer-info {
    flex: 1
}

.guest-trainer-name {
    font-size: 14px;
    font-weight: 600
}

.guest-trainer-prices {
    font-size: 11px;
    color: #71717a;
    margin-top: 2px
}

.guest-trainer-badge {
    font-size: 10px;
    background: rgba(139, 92, 246, .2);
    color: #a78bfa;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px
}

.guest-flight-badge {
    font-size: 11px;
    color: #60a5fa;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color .2s
}

.guest-flight-badge:hover {
    color: #93c5fd
}

.guest-toggle {
    width: 44px;
    height: 26px;
    background: #333;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: background .2s
}

.guest-toggle.active {
    background: #22c55e
}

.guest-toggle::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform .2s
}

.guest-toggle.active::after {
    transform: translateX(18px)
}

.guest-reactivate-btn {
    width: 44px;
    height: 26px;
    background: #22c55e;
    border-radius: 13px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center
}

.guest-reactivate-btn:hover {
    background: #16a34a;
    transform: scale(1.05)
}

.guest-reactivate-btn:active {
    transform: scale(0.95)
}

.guest-link-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #71717a;
    transition: background .2s, color .2s;
    margin-right: 8px
}

.guest-link-btn:hover {
    background: #333;
    color: var(--accent)
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center
}

.modal.open {
    display: flex;
    animation: modalFadeIn .25s var(--ios-spring)
}

@keyframes modalFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-sheet {
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, #1e1e1e 0%, #151515 100%);
    border-radius: 24px 24px 0 0;
    padding: 12px 22px calc(28px + env(safe-area-inset-bottom));
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp .3s var(--ios-spring)
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

.modal-handle {
    width: 40px;
    height: 5px;
    background: #3a3a3a;
    border-radius: 50px;
    margin: 4px auto 18px
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.modal-title {
    font-size: 18px;
    font-weight: 700
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s
}

.modal-close:hover {
    background: rgba(255, 255, 255, .08)
}

/* Booking Mode Toggle (Book Lesson / Block Time) */
.booking-mode-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding: 4px;
    background: rgba(255, 255, 255, .03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .06)
}

.mode-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94)
}

.mode-btn svg {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    opacity: 0.6;
    transition: opacity 0.2s
}

.mode-btn:hover {
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .04)
}

.mode-btn.active {
    background: rgba(201, 162, 39, .15);
    color: #c9a227;
    border: 1px solid rgba(201, 162, 39, .3)
}

.mode-btn.active svg {
    opacity: 1
}

.modal-close:active {
    transform: scale(0.95)
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #666;
    stroke-width: 2;
    fill: none
}

.modal-btn-delete {
    background: transparent
}

.modal-btn-delete:hover {
    background: rgba(248, 113, 113, .1)
}

.modal-btn-delete svg {
    stroke: #f87171
}

.modal-btn-duplicate {
    background: rgba(var(--accent-rgb), .1);
    border-color: rgba(var(--accent-rgb), .2)
}

.modal-btn-duplicate:hover {
    background: rgba(var(--accent-rgb), .2)
}

.modal-btn-duplicate svg {
    stroke: var(--accent)
}

.modal-btn-client {
    background: rgba(74, 222, 128, .1);
    border-color: rgba(74, 222, 128, .2)
}

.modal-btn-client:hover {
    background: rgba(74, 222, 128, .2)
}

.modal-btn-client svg {
    stroke: #4ade80
}

.modal-btn-share {
    background: rgba(var(--accent-rgb), .1);
    border-color: rgba(var(--accent-rgb), .2)
}

.modal-btn-share:hover {
    background: rgba(var(--accent-rgb), .2)
}

.modal-btn-share svg {
    stroke: var(--accent)
}

.form-group {
    margin-bottom: 16px;
    position: relative
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 6px
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    font-family: inherit;
    -webkit-appearance: none
}

.form-input:focus {
    outline: none;
    border-color: var(--accent)
}

.form-row {
    display: flex;
    gap: 12px
}

.form-row .form-group {
    flex: 1
}

.autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 10px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none
}

.autocomplete.show {
    display: block
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px
}

.autocomplete-item:hover {
    background: rgba(var(--accent-rgb), .15)
}

.dur-btns {
    display: flex;
    gap: 8px
}

.dur-btn {
    flex: 1;
    padding: 14px 10px;
    background: #242424;
    border: 2px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    cursor: pointer;
    text-align: center
}

.dur-btn.active {
    background: rgba(var(--accent-rgb), .15);
    border-color: var(--accent)
}

.dur-time {
    font-size: 16px;
    font-weight: 700
}

.dur-btn.active .dur-time {
    color: var(--accent)
}

.dur-price {
    font-size: 12px;
    color: #71717a;
    margin-top: 2px
}

.dur-btn.active .dur-price {
    color: var(--accent)
}

.btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 15;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none
}

.btn-primary {
    background: var(--accent);
    color: #121212
}

.btn-secondary {
    background: #242424;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .1)
}

.btn-danger {
    background: rgba(239, 68, 68, .15);
    color: #ef4444
}

.btn-whatsapp {
    background: #25D366;
    color: #fff
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    flex-shrink: 0
}

.hidden {
    display: none !important
}

.photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px
}

.photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .1);
    cursor: pointer;
    background-size: cover;
    background-position: center
}

.photo-preview.has-photo {
    border-color: var(--accent)
}

.photo-preview.has-photo svg {
    display: none
}

.photo-preview svg {
    width: 32px;
    height: 32px;
    stroke: #71717a
}

.photo-btn {
    font-size: 12px;
    color: var(--accent);
    cursor: pointer
}

.success-content {
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 10
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px
}

.success-icon svg {
    width: 36px;
    height: 36px;
    stroke: #22c55e;
    stroke-width: 2.5
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px
}

.success-sub {
    font-size: 14px;
    color: #71717a;
    margin-bottom: 20px
}

.success-details {
    background: #242424;
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    margin-bottom: 20px
}

.success-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.success-row:last-child {
    border: none
}

.success-row span:first-child {
    color: #71717a;
    font-size: 13px
}

.success-row span:last-child {
    font-weight: 600;
    font-size: 13px
}

.share-options {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center
}

.share-trainer {
    display: flex;
    gap: 4px
}

.trainer-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #242424;
    color: #71717a;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.trainer-btn.active {
    background: linear-gradient(135deg, #c9a227, #f0d78c);
    color: #121212;
    border-color: var(--accent)
}

.share-lang {
    display: flex;
    gap: 6px;
    padding: 4px
}

.lang-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #71717a;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s
}

.lang-btn:hover {
    color: #fff
}

.lang-btn.active {
    background: linear-gradient(135deg, #c9a227, #f0d78c);
    color: #121212;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.3)
}

.lang-btn .flag {
    font-size: 24px
}

/* OLD INVOICE STYLES REMOVED - Using styles at top of file */

.share-lessons {
    max-height: 220px;
    overflow-y: auto;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px
}

.share-lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all .2s
}

.share-lesson:last-child {
    margin-bottom: 0
}

.share-lesson.selected {
    background: rgba(255, 255, 255, 0.08)
}

.share-lesson:not(.selected) {
    opacity: 0.5
}

.share-lesson input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent)
}

.share-lesson-info {
    flex: 1
}

.share-lesson-date {
    font-size: 13px;
    font-weight: 600;
    color: #fff
}

.share-lesson-time {
    font-size: 12px;
    color: #71717a
}

.share-actions {
    display: flex;
    gap: 10px
}

.share-actions .btn {
    flex: 1
}

.client-history {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.history-title {
    font-size: 13px;
    font-weight: 600;
    color: #a1a1aa;
    margin: 0
}

.history-share-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer
}

.history-share-btn svg {
    width: 14px;
    height: 14px
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #1f1f23 0%, #18181b 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: transform .15s, background .15s;
    position: relative;
    z-index: 1
}

.history-item:hover {
    background: #2a2a2e
}

.history-item:active {
    transform: scale(.98);
    background: #333
}

.history-item.future {
    border-left: 3px solid #22c55e
}

.history-item.past {
    opacity: .5
}

.history-trainer {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0
}

.history-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.history-date {
    font-size: 13px;
    font-weight: 500;
    color: #fff
}

.history-time {
    font-size: 11px;
    color: #71717a
}

.history-dur {
    font-size: 11px;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 6px
}

.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(50px);
    background: var(--surface);
    border: 1px solid #22c55e;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: all .3s;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto
}

.toast svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e
}

.toast.warning {
    border-color: #f59e0b
}

.toast.warning svg {
    stroke: #f59e0b
}

.toast.error {
    border-color: #ef4444
}

.toast.error svg {
    stroke: #ef4444
}

.stats-page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px
}

.stats-page-nav button {
    background: none;
    border: none;
    color: #71717a;
    font-size: 24px;
    cursor: pointer;
    padding: 8px
}

.stats-page-nav button:active {
    color: var(--accent)
}

.stats-page-label {
    color: #a1a1aa;
    font-size: 14px;
    min-width: 180px;
    text-align: center;
    cursor: pointer
}

.member-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.member-toggle-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #a1a1aa
}

.member-toggle-label .member-badge {
    margin-left: 0
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #333;
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s
}

.toggle-switch.active {
    background: var(--accent)
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s
}

.toggle-switch.active::after {
    transform: translateX(20px)
}

.member-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #f5d742 0%, #c9a227 50%, #a68620 100%);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: #121212;
    font-family: system-ui;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), .5);
    flex-shrink: 0
}

.member-badge-small {
    width: 16px;
    height: 16px;
    font-size: 9px
}

.block-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

.block-badge svg {
    width: 16px;
    height: 16px;
    stroke: #71717a;
    stroke-width: 2;
    fill: none
}

.block-toggle {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.block-name-wrap {
    margin-top: 12px
}

.lesson-blocked {
    background: linear-gradient(135deg, rgba(20, 184, 166, .12) 0%, rgba(113, 113, 122, .04) 100%) !important;
    border-left: 4px solid #14b8a6 !important
}

.lesson-blocked.booked-90 {
    background: linear-gradient(135deg, rgba(20, 184, 166, .18) 0%, rgba(113, 113, 122, .04) 100%) !important
}

.lesson-blocked .lesson-avatar {
    background: rgba(20, 184, 166, .2);
    border: none
}

.lesson-blocked .lesson-avatar svg {
    stroke: #14b8a6 !important
}

.lesson-blocked .lesson-name {
    color: #5eead4
}

.lesson-blocked .lesson-meta {
    color: #14b8a6
}

.lesson-blocked .lesson-time-range {
    color: rgba(20, 184, 166, .8) !important
}

.lesson-blocked .lesson-dur {
    color: rgba(20, 184, 166, .7) !important
}

.lesson-blocked .lesson-dur svg {
    stroke: rgba(20, 184, 166, .7) !important
}

.lesson-blocked.dur-90 .lesson-dur {
    color: #14b8a6 !important
}

.lesson-blocked.dur-90 .lesson-dur svg {
    stroke: #14b8a6 !important
}

/* Blocked Slot Card - Professional Gray */
.lesson-blocked-slot {
    background: linear-gradient(135deg, rgba(113, 113, 122, .12) 0%, rgba(39, 39, 42, .08) 100%) !important;
    border-left: 4px solid #71717a !important
}

.lesson-blocked-slot.booked-90 {
    background: linear-gradient(135deg, rgba(113, 113, 122, .16) 0%, rgba(39, 39, 42, .08) 100%) !important
}

.lesson-blocked-slot .lesson-avatar {
    background: rgba(113, 113, 122, .2);
    border: none
}

.lesson-blocked-slot .lesson-avatar svg {
    stroke: #71717a !important
}

.lesson-blocked-slot .lesson-name {
    color: #a1a1aa
}

.lesson-blocked-slot .lesson-meta,
.lesson-blocked-slot .lesson-time-range,
.lesson-blocked-slot .lesson-dur {
    color: #71717a
}

.lesson-blocked-slot .lesson-dur svg {
    stroke: #71717a !important
}

.lesson-pause {
    background: linear-gradient(135deg, rgba(96, 165, 250, .15) 0%, rgba(113, 113, 122, .04) 100%) !important;
    border-left: 4px solid #60a5fa !important
}

.lesson-pause.booked-90 {
    background: linear-gradient(135deg, rgba(96, 165, 250, .2) 0%, rgba(113, 113, 122, .04) 100%) !important
}

.lesson-pause .lesson-avatar {
    background: rgba(96, 165, 250, .2);
    border: none
}

.lesson-pause .lesson-avatar svg {
    stroke: #60a5fa !important
}

.lesson-pause .lesson-name {
    color: #93c5fd
}

.lesson-pause .lesson-meta {
    color: #60a5fa
}

.lesson-pause .lesson-time-range {
    color: rgba(96, 165, 250, .8) !important
}

.lesson-pause .lesson-dur {
    color: rgba(96, 165, 250, .7) !important
}

.lesson-pause .lesson-dur svg {
    stroke: rgba(96, 165, 250, .7) !important
}

.client-avatar-wrap {
    position: relative;
    flex-shrink: 0
}

.client-avatar.is-member {
    border: 2px solid var(--accent);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), .4)
}

.member-crown {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f5d742 0%, #c9a227 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(var(--accent-rgb), .6);
    border: 2px solid #121212
}

.member-stars {
    position: absolute;
    inset: -4px;
    pointer-events: none
}

.member-stars::before,
.member-stars::after {
    content: '★';
    position: absolute;
    color: var(--accent);
    font-size: 10px;
    text-shadow: 0 0 4px rgba(var(--accent-rgb), .8)
}

.member-stars::before {
    top: -2px;
    left: 50%;
    transform: translateX(-50%)
}

.member-stars::after {
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%)
}

.member-stars-side::before,
.member-stars-side::after {
    content: '★';
    position: absolute;
    color: var(--accent);
    font-size: 8px;
    text-shadow: 0 0 4px rgba(var(--accent-rgb), .8)
}

.member-stars-side::before {
    left: -4px;
    top: 50%;
    transform: translateY(-50%)
}

.member-stars-side::after {
    right: -4px;
    top: 50%;
    transform: translateY(-50%)
}

/* Responsive / Tablet & Desktop Layout */
@media(min-width:768px) {
    .app {
        max-width: 600px
    }

    .nav {
        max-width: 600px
    }

    .modal-sheet {
        max-width: 500px
    }

    .slots {
        gap: 8px
    }

    .slot-card {
        min-height: 64px
    }

    .slot-card.booked-90 {
        min-height: 130px
    }

    .lesson-name {
        font-size: 18px;
        display: flex;
        align-items: center;
        gap: 4px;
        overflow: hidden
    }

    .lesson-meta {
        font-size: 14px
    }

    .section {
        padding: 24px
    }

    .header {
        padding: 16px 24px
    }

    .week-chart {
        gap: 8px;
        padding: 20px 8px
    }

    .ring-wrap {
        width: 52px;
        height: 52px
    }

    .ring-label {
        font-size: 11px
    }
}

@media(min-width:1024px) {
    body {
        background: var(--bg)
    }

    .app {
        max-width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: 280px 1fr;
        grid-template-rows: auto 1fr;
        height: 100vh;
        overflow: hidden
    }

    .header {
        grid-column: 1/-1;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        padding: 16px 32px
    }

    .nav {
        position: fixed;
        left: 0;
        top: 73px;
        bottom: 0;
        width: 280px;
        flex-direction: column;
        justify-content: flex-start;
        padding: 24px 16px;
        gap: 8px;
        border-top: none;
        border-right: 1px solid rgba(255, 255, 255, .1);
        background: #121212;
        transform: none;
        max-width: none
    }

    .nav-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 16px;
        min-width: auto;
        gap: 12px;
        border-radius: 12px
    }

    .nav-item span {
        font-size: 14px
    }

    .nav-fab {
        width: 100%;
        height: auto;
        border-radius: 12px;
        padding: 14px;
        margin: 16px 0 0 0;
        box-shadow: none
    }

    .nav-fab svg {
        margin-right: 8px
    }

    .nav-toggle {
        width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 16px 0 0 0;
        padding: 14px 16px;
        font-size: 14px
    }

    .page {
        margin-left: 280px;
        padding: 24px 32px 24px;
        overflow-y: auto;
        height: calc(100vh - 73px);
        padding-bottom: 40px
    }

    .page.active {
        display: block
    }

    .modal-sheet {
        max-width: 480px;
        border-radius: 20px;
        margin: auto;
        max-height: 85vh
    }

    .modal {
        align-items: center
    }

    .splash {
        background: #121212
    }

    .lock-screen {
        background: var(--bg)
    }

    .section {
        padding: 0
    }

    .profile-compact {
        padding: 16px 0
    }

    .week-chart {
        max-width: 600px
    }

    .slots {
        max-width: 700px
    }

    .client-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 12px
    }

    .stats-card {
        max-width: 400px
    }

    .chart-card {
        max-width: 600px
    }

    .breakdown-item {
        max-width: 500px
    }
}

@media(min-width:1400px) {
    .app {
        grid-template-columns: 320px 1fr
    }

    .nav {
        width: 320px
    }

    .page {
        margin-left: 320px;
        padding: 32px 48px
    }

    .client-list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr))
    }
}

/* ====== REDESIGNED MODAL STYLES ====== */

/* Modal Header v2 */
.modal-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px
}

.modal-header-v2 .header-left {
    display: block
}

.modal-header-v2 .header-left h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px
}

.modal-header-v2 .header-left .subtitle {
    font-size: 13px;
    color: #71717a
}

.modal-header-v2 .header-actions {
    display: flex;
    gap: 6px
}

.modal-header-v2 .header-actions button {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.modal-header-v2 .header-actions button:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff
}

.modal-header-v2 .header-actions button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.modal-header-v2 .header-actions .close-btn {
    background: rgba(255, 255, 255, .06)
}

/* Telegram-Style Modal Header (2026) */
.modal-header-tg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 16px;
    gap: 16px;
    border-bottom: 1px solid #252525;
    margin-bottom: 0
}

.modal-header-tg .title-section {
    flex: 1;
    min-width: 0
}

.modal-header-tg .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.modal-header-tg .modal-subtitle {
    font-size: 13px;
    color: #71717a;
    margin-top: 2px
}

.modal-header-tg .header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0
}

.modal-header-tg .icon-btn {
    background: #252525;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    position: relative
}

.modal-header-tg .icon-btn:hover {
    background: #3f3f46;
    transform: scale(1.05)
}

.modal-header-tg .icon-btn:active {
    transform: scale(0.95)
}

.modal-header-tg .icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: #a1a1aa;
    stroke-width: 2.5;
    fill: none
}

.modal-header-tg .icon-btn.save-btn {
    background: #c9a227
}

.modal-header-tg .icon-btn.save-btn:hover {
    background: #d4ad2f
}

.modal-header-tg .icon-btn.save-btn svg {
    stroke: #0a0a0a
}

.modal-header-tg .icon-btn.delete-btn {
    background: #ef4444
}

.modal-header-tg .icon-btn.delete-btn:hover {
    background: #dc2626
}

.modal-header-tg .icon-btn.delete-btn svg {
    stroke: #fff
}

/* Client Hero Section */
.client-hero {
    background: #242424;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px
}

.client-hero-centered {
    flex-direction: column;
    text-align: center;
    padding: 24px
}

.client-hero .client-avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c9a227, #8b6914);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), .3);
    background-size: cover;
    background-position: center
}

.client-hero-centered .client-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    font-size: 28px;
    margin-bottom: 12px;
    cursor: pointer
}

.client-hero .client-details {
    flex: 1;
    min-width: 0;
    position: relative
}

.client-hero .client-name-input {
    background: transparent;
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    width: 100%;
    padding: 0;
    margin-bottom: 4px
}

.client-hero-centered .client-name-input {
    text-align: center;
    font-size: 20px
}

.client-hero .client-name-input:focus {
    outline: none
}

.client-hero .client-meta {
    font-size: 13px;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 8px
}

.client-hero-centered .client-meta {
    justify-content: center
}

.client-hero .client-meta .member-badge-text {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px
}

.client-hero .client-edit-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: var(--surface);
    color: #71717a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.client-hero .client-edit-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor
}

/* Datetime Row */
.datetime-row-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px
}

.input-group-v2 {
    background: #242424;
    border-radius: 12px;
    padding: 12px 14px
}

.input-group-v2 label {
    font-size: 10px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: block;
    margin-bottom: 4px
}

.input-group-v2 input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    padding: 0
}

.input-group-v2 input:focus {
    outline: none
}

/* Duration Buttons v2 */
.duration-section-v2 {
    margin-bottom: 16px
}

.section-label-v2 {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px
}

.duration-btns-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.dur-btn-v2 {
    background: #242424;
    border: 2px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all .2s
}

.dur-btn-v2:hover {
    border-color: rgba(255, 255, 255, .15)
}

.dur-btn-v2.active {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), .15)
}

.dur-btn-v2 .dur-time-v2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px
}

.dur-btn-v2 .dur-price-v2 {
    font-size: 14px;
    color: #a1a1aa
}

.dur-btn-v2.active .dur-price-v2 {
    color: var(--accent)
}

.dur-btn-v2 .travel-icon {
    color: #60a5fa;
    margin-left: 4px
}

/* Travel Section */
.travel-section-v2 {
    background: linear-gradient(135deg, rgba(96, 165, 250, .08), rgba(96, 165, 250, .03));
    border: 1px solid rgba(96, 165, 250, .15);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px
}

.travel-section-v2 .travel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px
}

.travel-section-v2 .travel-flag {
    font-size: 20px
}

.travel-section-v2 .travel-label {
    font-size: 13px;
    font-weight: 500;
    color: #60a5fa
}

.travel-section-v2 .travel-input {
    flex: 1;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    width: 100%
}

.travel-section-v2 .travel-input:focus {
    outline: none;
    border-color: #60a5fa
}

.travel-section-v2 .travel-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px
}

.travel-section-v2 .travel-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: var(--surface);
    color: #a1a1aa;
    font-size: 12px;
    cursor: pointer;
    transition: all .15s
}

.travel-section-v2 .travel-btn:hover {
    background: #242424;
    color: #fff
}

/* Advanced Section (collapsible) */
.advanced-section-v2 {
    border: 1px dashed rgba(255, 255, 255, .08);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden
}

.advanced-section-v2 .advanced-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background .15s
}

.advanced-section-v2 .advanced-header:hover {
    background: rgba(255, 255, 255, .02)
}

.advanced-section-v2 .advanced-title {
    font-size: 13px;
    color: #a1a1aa
}

.advanced-section-v2 .advanced-chevron {
    color: #71717a;
    transition: transform .2s
}

.advanced-section-v2 .advanced-chevron svg {
    width: 16px;
    height: 16px;
    stroke: currentColor
}

.advanced-section-v2.open .advanced-chevron {
    transform: rotate(180deg)
}

.advanced-section-v2 .advanced-content {
    display: none;
    padding: 0 16px 16px
}

.advanced-section-v2.open .advanced-content {
    display: block
}

.toggle-row-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.toggle-row-v2:last-child {
    border-bottom: none
}

.toggle-row-v2 .toggle-label-v2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px
}

.toggle-row-v2 .toggle-label-v2 .icon {
    font-size: 16px
}

.toggle-switch-v2 {
    width: 46px;
    height: 28px;
    border-radius: 14px;
    background: #333;
    position: relative;
    cursor: pointer;
    transition: background .2s
}

.toggle-switch-v2::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    background: #71717a;
    top: 3px;
    left: 3px;
    transition: all .2s
}

.toggle-switch-v2.active {
    background: var(--accent)
}

.toggle-switch-v2.active::after {
    left: 21px;
    background: #fff
}

/* Notes Section v2 */
.notes-section-v2 {
    margin-bottom: 16px
}

.notes-input-v2 {
    width: 100%;
    background: #242424;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    resize: none;
    transition: border-color .15s;
    font-family: inherit
}

.notes-input-v2::placeholder {
    color: #71717a
}

.notes-input-v2:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .1)
}

/* Submit Button v2 */
.submit-btn-v2 {
    width: 100%;
    padding: 18px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(135deg, #c9a227, #a8891f);
    color: #0a0a0a;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(var(--accent-rgb), .25);
    transition: all .2s
}

.submit-btn-v2:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb), .35)
}

.submit-btn-v2:active {
    transform: translateY(0)
}

/* Delete Link */
.delete-link-v2 {
    display: block;
    text-align: center;
    color: #ef4444;
    font-size: 14px;
    padding: 14px;
    margin-top: 8px;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s;
    border: none;
    background: none;
    width: 100%
}

.delete-link-v2:hover {
    opacity: 1
}

/* Stats Box v2 */
.stats-box-v2 {
    background: #242424;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px
}

.stats-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    text-align: center
}

.stats-grid-v2 .stat-value {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent)
}

.stats-grid-v2 .stat-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    margin-top: 2px
}

/* Member Toggle v2 */
.member-toggle-v2 {
    background: #242424;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.member-toggle-v2 .toggle-label-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px
}

.member-toggle-v2 .toggle-label-v2 .icon {
    color: var(--accent)
}

/* Copy Link Button */
.copy-link-btn {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(var(--accent-rgb), .15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.copy-link-btn:hover {
    background: rgba(var(--accent-rgb), .3)
}

.copy-link-btn:active {
    transform: scale(0.95)
}

.copy-link-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2
}

/* Language Options */
.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    background: var(--surface);
    border: 2px solid #2a2a2a;
    border-radius: 14px;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit
}

.lang-option:hover {
    border-color: #444;
    background: #222
}

.lang-option.active {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), .08)
}

.lang-flag {
    font-size: 26px
}

.lang-name {
    flex: 1;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    color: #fff
}

.lang-check {
    font-size: 18px;
    color: var(--accent);
    opacity: 0;
    transition: opacity .2s
}

.lang-option.active .lang-check {
    opacity: 1
}

/* ==================== TRIPS & LOCATIONS ==================== */

/* Trips Hero Section */
.trips-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2)
}

.trips-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.trips-hero-title {
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 8px
}

.trips-count {
    background: #3b82f6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px
}

.view-all-btn {
    font-size: 12px;
    color: #60a5fa;
    background: none;
    border: none;
    cursor: pointer
}

/* Trip Card */
.trip-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s
}

.trip-card:last-child {
    margin-bottom: 0
}

.trip-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--trip-color, #3b82f6)
}

.trip-card:hover {
    background: rgba(59, 130, 246, 0.1)
}

.trip-card.active {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3)
}

.trip-card.active::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #22c55e;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: none
}

.trip-card.past {
    opacity: 0.5
}

.trip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px
}

.trip-flag {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3))
}

.trip-info {
    flex: 1
}

.trip-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px
}

.trip-dates {
    font-size: 12px;
    color: #60a5fa
}

.trip-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 12px;
    color: #a1a1aa
}

.trip-venue svg {
    width: 14px;
    height: 14px;
    stroke: #71717a;
    fill: none;
    flex-shrink: 0
}

.trip-venue a {
    color: #60a5fa;
    text-decoration: none;
    margin-left: auto;
    font-weight: 500
}

/* Location Grid - Compact */
.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px
}

.location-card {
    background: var(--surface);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid transparent;
    position: relative
}

.location-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    background: #222
}

.location-card.home {
    border-color: rgba(var(--accent-rgb), 0.3);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), transparent)
}

.location-card .loc-flag {
    font-size: 20px;
    margin-bottom: 4px
}

.location-card .loc-name {
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.location-card .loc-trips {
    font-size: 9px;
    color: #52525b
}

.location-card .default-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--accent);
    color: #121212;
    font-size: 6px;
    font-weight: 700;
    padding: 1px 3px;
    border-radius: 3px
}

.location-card.add-new {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: transparent
}

.location-card.add-new .loc-flag {
    color: #52525b;
    font-size: 16px
}

.location-card.add-new .loc-name {
    color: #52525b
}

/* Trip Modal */
.trip-modal .modal-sheet {
    max-width: 420px
}

.trip-modal .modal-header {
    padding: 16px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.modal-close-x {
    width: 32px;
    height: 32px;
    background: var(--surface);
    border: none;
    border-radius: 50%;
    color: #888;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.modal-close-x:hover {
    background: #252525;
    color: #fff
}

.modal-save-btn {
    padding: 8px 16px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.modal-save-btn:hover {
    filter: brightness(1.1)
}

.modal-save-btn:active {
    transform: scale(0.96)
}

.trip-form-section {
    margin-bottom: 20px
}

.trip-form-title {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.trip-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px
}

.trip-form-group {
    flex: 1
}

.trip-form-label {
    font-size: 11px;
    color: #71717a;
    margin-bottom: 6px;
    display: block
}

.trip-form-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit
}

.trip-form-input:focus {
    outline: none;
    border-color: var(--accent)
}

/* Location Selector in Modal */
.location-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.location-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--surface);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s
}

.location-chip:hover {
    border-color: rgba(var(--accent-rgb), 0.3)
}

.location-chip.selected {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.15)
}

.location-chip .chip-flag {
    font-size: 20px
}

.location-chip .chip-name {
    font-size: 13px;
    font-weight: 500
}

.location-chip.add-new-chip {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.2)
}

.location-chip.add-new-chip .chip-name {
    color: #71717a
}

/* Venue Input */
.venue-input-wrap {
    position: relative
}

.venue-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    stroke: #71717a;
    fill: none
}

.venue-input-wrap .trip-form-input {
    padding-left: 40px
}

/* Days Selection */
.days-selection {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 14px
}

.days-selection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px
}

.days-selection-title {
    font-size: 13px;
    font-weight: 500;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 8px
}

.days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.day-chip {
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all .2s
}

.day-chip .day-name {
    color: #71717a;
    font-weight: 500
}

.day-chip .day-num {
    font-size: 14px;
    font-weight: 600
}

.day-chip.selected {
    background: #3b82f6;
    border-color: #3b82f6
}

.day-chip.selected .day-name {
    color: rgba(255, 255, 255, 0.8)
}

/* ==================== TRIPS SUBMENU ==================== */

/* Timeline Preview Card */
.trips-timeline-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transition: all .2s
}

.trips-timeline-card:hover {
    border-color: rgba(59, 130, 246, 0.4)
}

.trips-timeline-card:active {
    transform: scale(0.98)
}

.trips-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.trips-timeline-header span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa
}

.trip-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #fff;
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 8px
}

.trips-header-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.trips-add-mini {
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.2);
    border: none;
    border-radius: 6px;
    color: #60a5fa;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.trips-add-mini:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: scale(1.1)
}

.trips-timeline-count {
    background: #fff;
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.trips-timeline {
    position: relative;
    padding-left: 14px;
    min-height: 20px
}

.trips-timeline::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #22c55e, #52525b);
    border-radius: 2px
}

.timeline-empty {
    font-size: 12px;
    color: #52525b;
    padding: 4px 0
}

.timeline-item {
    position: relative;
    padding: 6px 0 6px 10px
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid #1a1a2e
}

.timeline-item.active::before {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5)
}

.timeline-item.past::before {
    background: #52525b;
    width: 6px;
    height: 6px;
    left: -10px;
    top: 11px
}

.timeline-item-content {
    display: flex;
    align-items: center;
    gap: 8px
}

.timeline-item .flag {
    font-size: 16px
}

.timeline-item .info {
    flex: 1;
    min-width: 0
}

.timeline-item .name {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.timeline-item .date {
    font-size: 10px;
    color: #71717a
}

.timeline-item .badge {
    background: #22c55e;
    color: #000;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px
}

.timeline-item.past .name,
.timeline-item.past .date {
    color: #52525b
}

.timeline-item.home::before {
    background: #52525b;
    width: 6px;
    height: 6px;
    left: -10px;
    top: 11px
}

.timeline-item.home .name {
    color: #a1a1aa;
    font-weight: 400
}

.timeline-item.home .date {
    color: #71717a
}

.timeline-item:not(.home):not(.past):hover {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    margin-left: -4px;
    padding-left: 14px
}

.days-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap
}

.days-badge.home-badge {
    background: rgba(82, 82, 91, 0.3);
    color: #a1a1aa
}

.trips-timeline-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: #52525b
}

.trips-timeline-arrow {
    color: #60a5fa;
    font-weight: 500
}

/* Neue Reise Button */
.trips-add-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3)
}

.trips-add-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

.trips-add-btn:active {
    transform: scale(0.98)
}

/* Submenu Modal */
.trips-submenu .submenu-sheet {
    max-width: 420px;
    background: #0f0f0f
}

.submenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #222
}

.submenu-back {
    width: 32px;
    height: 32px;
    background: var(--surface);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.submenu-back:hover {
    background: #252525
}

.submenu-add-icon {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.2);
    border: none;
    border-radius: 10px;
    color: #60a5fa;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.submenu-add-icon:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: scale(1.05)
}

.submenu-title {
    font-size: 18px;
    font-weight: 600
}

.submenu-content {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto
}

/* Submenu Sections */
.submenu-section {
    margin-bottom: 20px
}

.submenu-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px
}

.submenu-badge {
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    min-width: 18px;
    text-align: center
}

.submenu-badge.archived-badge {
    background: #52525b
}

/* Trips Dropdown */
.trips-dropdown {
    background: var(--surface-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px
}

.trips-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    cursor: pointer;
    transition: background .2s
}

.trips-dropdown-selected:hover {
    background: var(--surface)
}

.dropdown-placeholder {
    color: #71717a;
    font-size: 13px
}

.dropdown-arrow {
    color: #52525b;
    font-size: 10px;
    transition: transform .2s
}

.trips-dropdown.open .dropdown-arrow {
    transform: rotate(180deg)
}

.trips-dropdown-list {
    display: none;
    border-top: 1px solid #222;
    max-height: 250px;
    overflow-y: auto
}

.trips-dropdown.open .trips-dropdown-list {
    display: block
}

.trip-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background .2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.trip-dropdown-item:last-child {
    border-bottom: none
}

.trip-dropdown-item:hover {
    background: var(--surface)
}

.trip-dropdown-item.active {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e
}

.trip-dropdown-item .trip-flag {
    font-size: 24px
}

.trip-dropdown-item .trip-info {
    flex: 1
}

.trip-dropdown-item .trip-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px
}

.trip-dropdown-item .trip-dates {
    font-size: 11px;
    color: #71717a
}

.trip-dropdown-item .trip-venue {
    font-size: 10px;
    color: #52525b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px
}

.trip-dropdown-item .active-badge {
    background: #22c55e;
    color: #000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px
}

.trip-dropdown-item .edit-btn {
    width: 28px;
    height: 28px;
    background: #1f1f1f;
    border: none;
    border-radius: 6px;
    color: #71717a;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center
}

.trip-dropdown-item .edit-btn:hover {
    background: #252525;
    color: var(--accent)
}

/* Archived Section */
.archived-section {
    background: var(--surface-light);
    border-radius: 12px;
    padding: 12px
}

.archived-header {
    cursor: pointer;
    margin-bottom: 0 !important
}

.archived-toggle {
    margin-left: auto;
    font-size: 10px;
    color: #52525b;
    transition: transform .2s
}

.archived-section.open .archived-toggle {
    transform: rotate(90deg)
}

.archived-list {
    padding-top: 10px
}

.archived-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background: var(--surface);
    margin-bottom: 6px;
    opacity: 0.7
}

.archived-item:hover {
    opacity: 0.9
}

.archived-item .flag {
    font-size: 18px
}

.archived-item .archived-info {
    flex: 1;
    min-width: 0
}

.archived-item .name {
    font-size: 12px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.archived-item .date {
    font-size: 10px;
    color: #52525b
}

.archived-item .restore-btn {
    background: #252525;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all .2s
}

.archived-item .restore-btn:hover {
    background: #333
}

/* Locations Dropdown */
.locations-dropdown {
    background: var(--surface-light);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px
}

.locations-dropdown-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    cursor: pointer;
    transition: background .2s
}

.locations-dropdown-selected:hover {
    background: var(--surface)
}

#selectedLocDisplay {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px
}

.locations-dropdown-list {
    display: none;
    border-top: 1px solid #222;
    max-height: 250px;
    overflow-y: auto
}

.locations-dropdown.open .locations-dropdown-list {
    display: block
}

.loc-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background .2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.loc-dropdown-item:last-child {
    border-bottom: none
}

.loc-dropdown-item:hover {
    background: var(--surface)
}

.loc-dropdown-item.selected {
    background: rgba(var(--accent-rgb), 0.1)
}

.loc-dropdown-item .flag {
    font-size: 20px
}

.loc-dropdown-item .name {
    font-size: 13px;
    flex: 1
}

.loc-dropdown-item .check {
    color: var(--accent);
    font-weight: 600
}

.loc-dropdown-item .edit-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: #52525b;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s
}

.loc-dropdown-item:hover .edit-btn {
    opacity: 1
}

/* Submenu Buttons */
.submenu-add-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #c9a227, #a68520);
    color: #121212;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s
}

.submenu-add-btn:hover {
    filter: brightness(1.1)
}

.submenu-add-btn:active {
    transform: scale(0.98)
}

.submenu-add-btn.secondary {
    background: var(--surface);
    color: #a1a1aa
}

/* Google Places Autocomplete Custom Styling */
.pac-container {
    background: var(--surface) !important;
    border: 1px solid #333 !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    font-family: Poppins, sans-serif !important;
    z-index: 10000 !important
}

.pac-item {
    padding: 12px 14px !important;
    cursor: pointer !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: transparent !important;
    color: #fff !important;
    line-height: 1.4 !important
}

.pac-item:hover,
.pac-item-selected {
    background: #252525 !important
}

.pac-item-query {
    color: #60a5fa !important;
    font-size: 13px !important;
    font-weight: 500 !important
}

.pac-matched {
    font-weight: 600 !important
}

.pac-icon {
    display: none !important
}

.pac-item span:not(.pac-item-query) {
    color: #71717a !important;
    font-size: 11px !important
}

.pac-logo::after {
    display: none !important
}

/* Payment Tracking - Paid Icon */
.lesson-duration-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0
}

.paid-icon-top {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
    pointer-events: none
}

.lesson-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #71717a;
    font-size: 15px;
    font-weight: 600
}

/* ===== PREMIUM PAYMENT CARDS ===== */
.payment-section-header {
    padding: 16px 20px;
    background: rgba(74, 124, 232, 0.1);
    border-radius: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(74, 124, 232, 0.2)
}

.payment-section-header.camp {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2)
}

.payment-section-icon {
    font-size: 24px
}

.payment-section-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.payment-section-total {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #4a7ce8, #6b93f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.payment-section-header.camp .payment-section-total {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.payment-location-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(74, 124, 232, 0.15);
    overflow: hidden
}

.payment-location-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px
}

.location-flag {
    font-size: 32px
}

.location-info {
    flex: 1
}

.location-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.location-count {
    font-size: 13px;
    color: #a1a1aa
}

.location-total {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #4a7ce8, #6b93f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.payment-camp-card {
    background: rgba(20, 20, 20, 0.9);
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid rgba(34, 197, 94, 0.15);
    padding: 16px
}

.camp-summary {
    font-size: 15px;
    color: #a1a1aa;
    text-align: center
}

.payment-summary-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 16px
}

.payment-summary-item {
    display: flex;
    align-items: baseline;
    gap: 8px
}

.payment-summary-label {
    font-size: 11px;
    font-weight: 600;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.payment-summary-value {
    font-size: 24px;
    font-weight: 700;
    color: #c9a227
}

/* Split Summary Card */
.payment-split-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05)
}

.payment-split-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #2a2a2a
}

.payment-split-section {
    padding: 24px 20px;
    position: relative
}

.payment-split-section:first-child {
    border-right: 1px solid #2a2a2a
}

.payment-split-section.paid {
    background: rgba(16, 185, 129, 0.05)
}

.payment-split-section.unpaid {
    background: rgba(239, 68, 68, 0.05)
}

.payment-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px
}

.payment-section-label.paid {
    color: #10b981
}

.payment-section-label.unpaid {
    color: #ef4444
}

.payment-section-amount {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.5px
}

.payment-section-units {
    font-size: 13px;
    color: #888;
    font-weight: 400
}

.payment-split-total {
    padding: 20px;
    background: #151515
}

.payment-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.payment-total-label {
    font-size: 12px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.payment-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #c9a227;
    letter-spacing: -0.5px
}

.payment-progress-bar {
    height: 8px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    position: relative
}

.payment-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1)
}

.payment-progress-label {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    color: #666;
    font-weight: 500
}

.payment-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(30px);
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

.payment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 162, 39, 0.3);
    border-color: rgba(201, 162, 39, 0.2)
}

.payment-card.collapsed .payment-lessons {
    display: none
}

.payment-card.collapsed .payment-camp-block {
    display: none
}

.payment-card-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none
}

.payment-client-info {
    flex: 1;
    min-width: 0
}

.payment-client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a227, #8b7320);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #121212;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
    margin-bottom: 8px;
    background-size: cover;
    background-position: center
}

.payment-client-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px
}

.location-flag-inline {
    font-size: 20px;
    margin-right: 4px
}

.paid-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4)
}

.payment-client-count {
    font-size: 13px;
    color: #a1a1aa;
    font-weight: 500
}

.payment-client-count .dot {
    color: #52525b;
    margin: 0 4px
}

.payment-total {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px
}

.payment-total-amount {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #c9a227, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.3)
}

.payment-mark-all-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap
}

.payment-mark-all-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5)
}

.payment-mark-all-btn:active {
    transform: scale(0.98)
}

.payment-confirm-btn {
    background: linear-gradient(135deg, #c9a227, #f4d03f);
    border: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    white-space: nowrap
}

.payment-confirm-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.5)
}

.payment-confirm-btn:active {
    transform: scale(0.98)
}

.payment-lessons {
    padding: 12px
}

.payment-lesson {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 8px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.payment-lesson:last-child {
    margin-bottom: 0
}

.payment-lesson:hover {
    background: rgba(35, 35, 35, 0.6);
    border-color: rgba(201, 162, 39, 0.2);
    transform: translateX(4px)
}

.payment-lesson.paid {
    opacity: 0.5;
    position: relative
}

.payment-lesson.paid:hover {
    opacity: 0.6
}

.payment-lesson.paid .payment-lesson-date,
.payment-lesson.paid .payment-lesson-meta {
    text-decoration: line-through
}

.payment-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 2px solid #3f3f46;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative
}

.payment-checkbox::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55)
}

.payment-checkbox.checked::before {
    opacity: 1;
    transform: scale(1)
}

.payment-checkbox.checked {
    border-color: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.4), inset 0 0 0 2px #22c55e
}

.payment-checkbox.pending::before {
    background: linear-gradient(135deg, #c9a227, #f4d03f)
}

.payment-checkbox.pending {
    border-color: #c9a227;
    box-shadow: 0 0 16px rgba(201, 162, 39, 0.4), inset 0 0 0 2px #c9a227
}

.payment-lesson.pending {
    border-color: rgba(201, 162, 39, 0.3);
    background: rgba(201, 162, 39, 0.05)
}

.payment-checkbox svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1
}

.payment-checkbox.checked svg {
    opacity: 1;
    transform: scale(1)
}

.payment-lesson-info {
    flex: 1;
    min-width: 0
}

.payment-lesson-date {
    font-size: 14px;
    color: #e4e4e7;
    font-weight: 600;
    margin-bottom: 4px
}

.payment-lesson-meta {
    font-size: 12px;
    color: #71717a
}

.payment-lesson-price {
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(135deg, #c9a227, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 4px
}

.payment-camp-block {
    margin: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.05));
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 14px;
    margin-bottom: 8px;
    transition: all 0.3s
}

.payment-camp-block.paid {
    opacity: 0.5;
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2)
}

.payment-camp-header {
    display: flex;
    align-items: center;
    gap: 16px
}

.payment-camp-info {
    flex: 1;
    min-width: 0
}

.payment-camp-title {
    font-size: 15px;
    color: #e4e4e7;
    font-weight: 700;
    margin-bottom: 4px
}

.payment-camp-meta {
    font-size: 12px;
    color: #71717a
}

.payment-camp-price {
    font-size: 19px;
    font-weight: 800;
    background: linear-gradient(135deg, #c9a227, #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.payment-empty {
    text-align: center;
    padding: 80px 20px;
    color: #71717a;
    font-size: 16px
}

.payment-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5
}

.payment-empty-text {
    font-weight: 600;
    margin-bottom: 8px
}

.payment-empty-sub {
    font-size: 13px;
    color: #52525b
}

/* Header Export Button */
.header-export-btn {
    padding: 8px 14px;
    background: linear-gradient(135deg, #c9a227, #a88620);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-export-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* ============================================
   SCHEDULE IMPORT
   ============================================ */

.schedule-upload-zone {
    border: 2px dashed rgba(201, 162, 39, 0.3);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(201, 162, 39, 0.03);
}

.schedule-upload-zone:hover {
    border-color: #c9a227;
    background: rgba(201, 162, 39, 0.08);
    transform: translateY(-2px);
}

.schedule-upload-zone .upload-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c9a227, #d4b13f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    box-shadow: 0 8px 32px rgba(201, 162, 39, 0.25);
}

.schedule-upload-zone h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.schedule-upload-zone p {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.schedule-upload-zone .upload-hint {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

.schedule-processing {
    text-align: center;
    padding: 80px 20px;
}

.schedule-processing .spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(201, 162, 39, 0.2);
    border-top: 3px solid #c9a227;
    border-radius: 50%;
    margin: 0 auto 32px;
    animation: spin 1s linear infinite;
}

.schedule-processing h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.schedule-processing p {
    color: #888;
    font-size: 14px;
}

.processing-dots {
    display: inline-flex;
    gap: 4px;
    margin-left: 4px;
}

.processing-dots span {
    width: 6px;
    height: 6px;
    background: #c9a227;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out;
}

.processing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.processing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.schedule-preview {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preview-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.preview-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.schedule-preview-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.schedule-preview-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

.schedule-preview-table tbody tr {
    background: rgba(201, 162, 39, 0.05);
    transition: all 0.2s ease;
}

.schedule-preview-table tbody tr:hover {
    background: rgba(201, 162, 39, 0.12);
}

.schedule-preview-table tbody td {
    padding: 12px;
    font-size: 13px;
    border-top: 1px solid rgba(201, 162, 39, 0.1);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.schedule-preview-table tbody td:first-child {
    border-left: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 8px 0 0 8px;
}

.schedule-preview-table tbody td:last-child {
    border-right: 1px solid rgba(201, 162, 39, 0.1);
    border-radius: 0 8px 8px 0;
}

.schedule-preview-table .time-cell {
    color: #c9a227;
    font-weight: 500;
}

.schedule-error,
.schedule-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.4s ease;
}

.schedule-error h4,
.schedule-success h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.schedule-error p,
.schedule-success p {
    color: #888;
    font-size: 14px;
}

/* ========================================
   CAMP MANAGEMENT STYLES
   ======================================== */

/* Camp Info Card */
.camp-info-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.camp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.camp-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.camp-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.camp-badge.active {
    background: rgba(34, 197, 94, .2);
    color: #22c55e;
}

.camp-badge.archived {
    background: rgba(168, 85, 247, .2);
    color: #a855f7;
}

.camp-dates {
    color: #c9a227;
    font-size: 14px;
    margin-bottom: 8px;
}

.camp-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #888;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 32px 16px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-text {
    color: #888;
    font-size: 14px;
}

/* Settings Subsection Title */
.settings-subsection-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.settings-subsection-title:hover {
    color: #c9a227;
}

/* Camp History List Item */
.camp-history-item {
    border-bottom: 1px solid #222;
}

.camp-history-item:last-child {
    border-bottom: none;
}

/* Camp Detail View */
.camp-detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

.camp-detail-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.camp-detail-back:hover {
    background: #333;
}

.camp-detail-title {
    flex: 1;
}

.camp-detail-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.camp-detail-period {
    font-size: 14px;
    color: #c9a227;
}

.camp-summary-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.camp-summary-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.camp-summary-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.camp-summary-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.camp-summary-stat-label {
    color: #888;
}

.camp-summary-stat-value {
    color: #fff;
    font-weight: 600;
}

.camp-summary-stat-value.highlight {
    color: #c9a227;
    font-size: 16px;
}

/* Camp Participants List */
.camp-participants-title {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.camp-participant-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}

.camp-participant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.camp-participant-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.camp-participant-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.camp-participant-status.paid {
    color: #22c55e;
}

.camp-participant-status.unpaid {
    color: #ef4444;
}

.camp-participant-details {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.camp-participant-lessons {
    font-size: 13px;
    color: #666;
}

/* ========================================
   COMPACT CAMP VIEW (Settings)
   ======================================== */

/* Current Camp - Ultra Compact */
#campCompactInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.camp-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.camp-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.camp-stats-inline {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.camp-stat-inline {
    color: #666;
}

.camp-stat-inline strong {
    color: #c9a227;
    font-weight: 500;
}

/* Action Buttons - Icon Only */
.camp-actions-row {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
}

.camp-action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    background: rgba(42, 42, 42, 0.5);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camp-action-btn:hover {
    background: #2a2a2a;
    border-color: #3a3a3a;
    transform: scale(1.05);
}

/* New Camp Button */
.camp-new-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(42, 42, 42, 0.3);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.camp-new-btn:hover {
    background: rgba(42, 42, 42, 0.5);
    border-color: #3a3a3a;
    color: #aaa;
}

/* Camp Archive Section */
.camp-archive-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
    margin-bottom: 8px;
}

.camp-archive-header:hover {
    opacity: 0.7;
}

.camp-archive-count {
    background: rgba(42, 42, 42, 0.5);
    color: #666;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
}

#campArchiveList {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Archive Item - Minimal Card */
.camp-archive-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 8px;
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.camp-archive-item:hover {
    background: rgba(42, 42, 42, 0.5);
    border-left-color: #c9a227;
}

.camp-archive-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.camp-archive-icon {
    width: 32px;
    height: 32px;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.camp-archive-details {
    flex: 1;
    min-width: 0;
}

.camp-archive-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.camp-archive-date {
    font-size: 11px;
    color: #666;
}

.camp-archive-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 12px;
}

.camp-archive-mini-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.camp-archive-mini-value {
    font-size: 12px;
    font-weight: 500;
    color: #c9a227;
}

.camp-archive-mini-label {
    font-size: 11px;
    opacity: 0.6;
}

.camp-archive-chevron {
    color: #555;
    font-size: 16px;
    margin-left: 4px;
}

.camp-archive-delete {
    background: transparent;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.camp-archive-delete:hover {
    background: #ef444420;
    color: #ef4444;
    transform: scale(1.1);
}

/* ========================================
   SPLASH SCREEN PROGRESS INDICATOR
   ======================================== */

.splash-progress-container {
    margin-top: 32px;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.splash-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.splash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a227, #e5c158);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(201, 162, 39, 0.6);
}

.splash-progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #c9a227;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    min-width: 40px;
    text-align: center;
}

/* Shimmer effect on progress bar */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.splash-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

/* ===== UPDATE BANNER ===== */
.update-banner {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px 24px;
    width: calc(100% - 40px);
    max-width: 420px;
    z-index: 10001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-banner.show {
    top: 20px;
}

.update-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.update-banner-icon {
    font-size: 32px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.update-banner-text {
    flex: 1;
}

.update-banner-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.update-banner-subtitle {
    font-size: 13px;
    color: #999;
}

.update-banner-actions {
    display: flex;
    gap: 12px;
}

.update-banner-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.update-banner-btn-primary {
    background: linear-gradient(145deg, #c9a227, #d4af37);
    color: #000;
}

.update-banner-btn-primary:hover {
    background: linear-gradient(145deg, #d4af37, #e0bc4a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.update-banner-btn-secondary {
    background: #333;
    color: #fff;
}

.update-banner-btn-secondary:hover {
    background: #444;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .update-banner {
        width: calc(100% - 24px);
        padding: 16px 20px;
    }

    .update-banner-icon {
        font-size: 28px;
    }

    .update-banner-title {
        font-size: 15px;
    }

    .update-banner-subtitle {
        font-size: 12px;
    }

    .update-banner-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== OFFLINE MODE STYLES ===== */

/* Offline Banner */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.offline-banner.show {
    transform: translateY(0);
}

.offline-banner svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.offline-banner .pending-count {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.offline-banner .pending-count:empty {
    display: none;
}

/* Syncing Banner (blue) */
.offline-banner.syncing {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}

/* Back Online Banner (green) */
.offline-banner.online {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #000;
}

/* Pending Sync Indicator on Lesson Cards */
.slot.pending-sync::after,
.lesson-card.pending-sync::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: #f59e0b;
    border-radius: 50%;
    animation: pendingPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

@keyframes pendingPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Adjust app padding when offline banner is visible */
.app.offline-active {
    padding-top: 44px;
}

/* Toast styles for sync status */
.toast.toast-offline {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #000 !important;
}

.toast.toast-online {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #000 !important;
}

.toast.toast-synced {
    background: #1a1a1a !important;
    border: 1px solid #22c55e !important;
    color: #22c55e !important;
}

