/* Personal Goals Tracker - Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: #fff;
}

/* ==================== AUTH SECTION ==================== */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.auth-container h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-container p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.auth-form {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.auth-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: #00d9ff;
}

.auth-form input::placeholder {
    color: #64748b;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-toggle {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.auth-toggle a {
    color: #00d9ff;
    cursor: pointer;
    text-decoration: none;
}

.auth-toggle a:hover {
    text-decoration: underline;
}

.auth-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: none;
}

.auth-error.visible {
    display: block;
}

/* Sync Status Indicator */
.sync-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s;
}

.sync-status.online {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
}

.sync-status.offline {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #f59e0b;
}

.sync-status.syncing {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.5);
    color: #00d9ff;
}

.sync-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.sync-status.syncing .sync-indicator {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Profile Selection */
.profile-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.profile-selection h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-selection p {
    color: #94a3b8;
    margin-bottom: 50px;
}

.profiles-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    width: 200px;
}

.profile-card:hover {
    transform: translateY(-10px);
    border-color: #00d9ff;
    box-shadow: 0 20px 40px rgba(0, 217, 255, 0.2);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Main Dashboard */
.dashboard {
    display: none;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard.active {
    display: block;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d9ff, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.btn-back {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-logout {
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Areas Navigation */
.areas-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.area-tab {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.area-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.area-tab.active {
    background: linear-gradient(90deg, rgba(0, 217, 255, 0.2), rgba(168, 85, 247, 0.2));
    border-color: #00d9ff;
    color: #fff;
}

.area-content {
    display: none;
}

.area-content.active {
    display: block;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #00d9ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Habits Calendar - Unified */
.habits-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.sleep { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.legend-color.sport { background: linear-gradient(135deg, #00d9ff, #0ea5e9); }
.legend-color.meditate { background: linear-gradient(135deg, #22c55e, #16a34a); }

.legend-info {
    display: flex;
    flex-direction: column;
}

.legend-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.legend-streak {
    font-size: 0.75rem;
    color: #94a3b8;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    padding: 8px 5px;
    font-weight: 600;
}

.calendar-day {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 8px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.calendar-day:hover {
    background: rgba(255, 255, 255, 0.08);
}

.calendar-day.today {
    border: 2px solid #00d9ff;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.calendar-day.future {
    opacity: 0.3;
}

.day-number {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 6px;
    text-align: center;
}

.habit-segments {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.habit-segment {
    flex: 1;
    min-height: 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.habit-segment.sleep {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.habit-segment.sleep.completed {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-color: #a855f7;
}
.habit-segment.sleep.failed {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.habit-segment.sport {
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid rgba(0, 217, 255, 0.3);
}
.habit-segment.sport.completed {
    background: linear-gradient(135deg, #00d9ff, #0ea5e9);
    border-color: #00d9ff;
}
.habit-segment.sport.failed {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.habit-segment.meditate {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.habit-segment.meditate.completed {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #22c55e;
}
.habit-segment.meditate.failed {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.habit-segment:hover {
    transform: scaleY(1.2);
    filter: brightness(1.2);
}

.habit-segment.future {
    cursor: not-allowed;
    pointer-events: none;
}

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

.month-nav button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.month-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.current-month {
    font-size: 1.3rem;
    font-weight: 600;
}

.habits-summary {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.summary-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00d9ff;
}

.summary-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Dual Calendar Container */
.dual-calendar-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .dual-calendar-container {
        grid-template-columns: 1fr;
    }
}

.month-calendar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 15px;
}

.month-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sports Section */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.sport-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.sport-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-limit {
    font-size: 0.8rem;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

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

.goal-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.goal-info p {
    font-size: 0.8rem;
    color: #94a3b8;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.schedule-day {
    min-width: 80px;
    font-weight: 600;
    color: #a855f7;
}

.schedule-activity {
    flex: 1;
}

.check-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.check-btn.checked {
    background: #22c55e;
    border-color: #22c55e;
}

.stretch-routine {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stretch-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.stretch-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stretch-item h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.stretch-item p {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ==================== CALISTHENICS SECTION STYLES ==================== */

.calisthenics-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calisthenics-subnav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 10px;
}

.calisthenics-subtab {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.calisthenics-subtab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calisthenics-subtab.active {
    background: linear-gradient(90deg, #00d9ff, #22c55e);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.calisthenics-subcontent {
    display: none;
}

.calisthenics-subcontent.active {
    display: block;
}

/* Today's Workout */
.today-workout {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.workout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.workout-day-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.workout-day-badge {
    background: linear-gradient(90deg, #00d9ff, #22c55e);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.workout-day-badge.rest {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
}

.workout-group-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.exercise-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.exercise-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.exercise-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
}

.exercise-card.completed {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.exercise-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.exercise-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00d9ff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.video-ref-btn {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.video-ref-btn:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
}

.exercise-level {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

.exercise-level-badge {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.exercise-current {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

.current-exercise-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.current-goal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.goal-target {
    color: #f59e0b;
}

.exercise-input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.set-input {
    flex: 1 1 60px;
    min-width: 60px;
    max-width: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.set-input:focus {
    outline: none;
    border-color: #00d9ff;
}

.set-input::placeholder {
    color: #64748b;
}

.exercise-log-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00d9ff, #22c55e);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.exercise-log-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.exercise-log-btn.logged {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Progress indicator */
.progress-to-next {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.progress-bar-mini {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-mini-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #22c55e);
    border-radius: 3px;
    transition: width 0.3s;
}

/* Exercise Input Section */
.exercise-input-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sets-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.set-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 70px;
}

.set-input-group label {
    font-size: 0.75rem;
    color: #94a3b8;
}

.register-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #00d9ff, #22c55e);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.completed-badge {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.video-link {
    display: inline-block;
    margin-top: 8px;
    color: #00d9ff;
    font-size: 0.85rem;
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}

.exercise-desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 5px 0;
}

/* Aerobics Section */
.aerobics-section {
    margin-top: 30px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00d9ff;
    margin-bottom: 15px;
}

.aerobic-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.aerobic-checkbox {
    margin-bottom: 12px;
}

.aerobic-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    cursor: pointer;
}

.aerobic-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #22c55e;
}

/* Interval Training Inputs */
.intervals-container {
    margin-bottom: 15px;
}

.intervals-header {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.interval-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 6px;
}

.interval-input-row.met {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
}

.interval-input-row.not-met {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.interval-label {
    font-size: 0.85rem;
    color: #94a3b8;
    min-width: 60px;
}

.interval-time-input {
    width: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
}

.interval-time-input:focus {
    outline: none;
    border-color: #00d9ff;
}

.interval-status {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.interval-input-row.met .interval-status {
    color: #22c55e;
}

.interval-input-row.not-met .interval-status {
    color: #ef4444;
}

.interval-target {
    font-size: 0.8rem;
    color: #64748b;
    margin-left: auto;
}

/* Continuous Training Inputs */
.continuous-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.pace-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.pace-result.met {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.pace-result.not-met {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.partial-badge {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Duration Training Inputs */
.duration-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.duration-target {
    padding: 8px 12px;
    background: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Exercise Progressions View */
.progressions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.progression-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.progression-card.aerobics-card {
    border-left: 3px solid #22c55e;
}

.progression-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progression-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00d9ff;
}

.progression-current-level {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.progression-levels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 350px;
    overflow-y: auto;
}

.progression-level {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.progression-level.completed {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
}

.progression-level.current {
    background: rgba(0, 217, 255, 0.1);
    border-left: 3px solid #00d9ff;
}

.progression-level.locked {
    opacity: 0.5;
}

.level-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.level-number.completed {
    background: #22c55e;
}

.level-number.current {
    background: #00d9ff;
}

.level-info {
    flex: 1;
}

.level-name {
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.level-goal {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Calendar View */
.calisthenics-calendar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.calendar-legend-calisthenics {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item-cal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.group-a {
    background: linear-gradient(135deg, #00d9ff, #0ea5e9);
}

.legend-dot.group-b {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.legend-dot.rest {
    background: rgba(255, 255, 255, 0.2);
}

.cal-day-workout {
    position: relative;
}

.cal-day-indicator {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.cal-day-indicator.group-a {
    background: #00d9ff;
}

.cal-day-indicator.group-b {
    background: #a855f7;
}

.cal-day-indicator.completed {
    box-shadow: 0 0 0 2px #22c55e;
}

/* History */
.calisthenics-history {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-day {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px;
}

.history-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-date-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-group-badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.history-group-badge.group-a {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

.history-group-badge.group-b {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.history-exercises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.history-exercise {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

.history-exercise-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.history-exercise-detail {
    font-size: 0.8rem;
    color: #94a3b8;
}

.history-exercise-level {
    font-size: 0.75rem;
    color: #a855f7;
}

.history-date {
    font-weight: 600;
    color: #e2e8f0;
}

.history-group-badge.rest {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.history-aerobics {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.history-aerobic {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 4px;
}

.calisthenics-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Reset Section */
.reset-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.reset-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.reset-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

/* Rest Day Message */
.rest-day-message {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.rest-day-message h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #a855f7;
}

.rest-day-message p {
    font-size: 1rem;
}

/* Clickable Calendar Day */
.calendar-day.clickable {
    cursor: pointer;
}

.calendar-day.clickable:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: scale(1.02);
}

.calendar-day.selected {
    border: 2px solid #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

/* Selected Date Header */
.selected-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.selected-date-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.selected-date-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.back-to-calendar-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.back-to-calendar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Aerobics Section */
.aerobics-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.aerobics-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aerobics-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.aerobic-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.aerobic-option:hover {
    background: rgba(255, 255, 255, 0.06);
}

.aerobic-option.selected {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.aerobic-checkbox {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.aerobic-option.selected .aerobic-checkbox {
    background: #a855f7;
    border-color: #a855f7;
}

.aerobic-info {
    flex: 1;
}

.aerobic-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.aerobic-desc {
    font-size: 0.8rem;
    color: #94a3b8;
}

.aerobic-duration-input {
    width: 70px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
}

.aerobic-duration-input:focus {
    outline: none;
    border-color: #a855f7;
}

/* Calendar completion indicators */
.cal-completion-dots {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 4px;
}

.completion-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.completion-dot.calisthenics {
    background: #00d9ff;
}

.completion-dot.aerobics {
    background: #a855f7;
}

/* Running Splits */
.running-splits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.split-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.split-label {
    min-width: 50px;
    font-weight: 600;
    color: #a855f7;
    font-size: 0.85rem;
}

.split-input {
    width: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
}

.split-input:focus {
    outline: none;
    border-color: #a855f7;
}

.split-input::placeholder {
    color: #64748b;
    font-size: 0.75rem;
}

.split-calc {
    font-size: 0.8rem;
    color: #94a3b8;
    min-width: 100px;
}

.split-calc.good {
    color: #22c55e;
}

.split-calc.warning {
    color: #f59e0b;
}

/* ==================== MUSIC SECTION STYLES ==================== */

/* Music Sub Navigation */
.music-subnav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 10px;
}

.music-subtab {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.music-subtab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.music-subtab.active {
    background: linear-gradient(90deg, #a855f7, #00d9ff);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.music-subcontent {
    display: none;
}

.music-subcontent.active {
    display: block;
}

/* Timer Styles */
.timer-container {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 217, 255, 0.1));
    border-radius: 15px;
    margin-bottom: 20px;
}

.timer-display {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.timer-label {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.timer-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.timer-btn.start {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    color: #fff;
}

.timer-btn.pause {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
}

.timer-btn.reset {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.timer-btn.skip {
    background: linear-gradient(90deg, #00d9ff, #0ea5e9);
    color: #fff;
}

.timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Practice Session Flow */
.session-flow {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.flow-step {
    flex: 1;
    min-width: 100px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.flow-step.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(0, 217, 255, 0.3));
    border-color: #a855f7;
    color: #fff;
}

.flow-step.completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    color: #22c55e;
}

.flow-step .step-number {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* Current Block Info */
.current-block-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.block-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #a855f7;
}

.block-description {
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.6;
}

.block-tasks {
    display: grid;
    gap: 8px;
}

.block-task {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.9rem;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.task-checkbox.checked {
    background: #22c55e;
    border-color: #22c55e;
}

/* Scales Reference */
.scales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.scale-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.scale-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.scale-card.mastered {
    border-color: #22c55e;
}

.scale-card.learning {
    border-color: #f59e0b;
}

.scale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.scale-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.scale-bpm {
    font-size: 0.85rem;
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.scale-fingering {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fingering-row {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.fingering-label {
    width: 30px;
    color: #64748b;
}

.fingering-notes {
    color: #94a3b8;
}

.scale-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.scale-action-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.scale-action-btn.bpm {
    background: rgba(0, 217, 255, 0.2);
    color: #00d9ff;
}

.scale-action-btn.status {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

/* Piano Keyboard Visual */
.keyboard-container {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
}

.keyboard {
    display: flex;
    position: relative;
    height: 120px;
    min-width: 600px;
}

.white-key {
    width: 40px;
    height: 120px;
    background: linear-gradient(180deg, #fff 0%, #e5e5e5 100%);
    border: 1px solid #999;
    border-radius: 0 0 5px 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-size: 0.7rem;
    color: #333;
    cursor: pointer;
    transition: all 0.1s;
}

.white-key:hover {
    background: linear-gradient(180deg, #f0f0ff 0%, #d5d5e5 100%);
}

.white-key.active {
    background: linear-gradient(180deg, #a855f7 0%, #7c3aed 100%);
    color: #fff;
}

.black-key {
    width: 24px;
    height: 75px;
    background: linear-gradient(180deg, #333 0%, #000 100%);
    border-radius: 0 0 3px 3px;
    position: absolute;
    z-index: 1;
    cursor: pointer;
    transition: all 0.1s;
}

.black-key:hover {
    background: linear-gradient(180deg, #444 0%, #111 100%);
}

.black-key.active {
    background: linear-gradient(180deg, #00d9ff 0%, #0ea5e9 100%);
}

/* Progress Tracker */
.progress-tracker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.progress-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.progress-card h4 {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.progress-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d9ff, #a855f7);
    border-radius: 4px;
    transition: width 0.3s;
}

/* Finger Gauntlet */
.gauntlet-exercise {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.gauntlet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gauntlet-pattern {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    letter-spacing: 3px;
}

.hand-label {
    color: #a855f7;
    font-weight: 600;
    margin-right: 10px;
}

/* Reflection Form */
.reflection-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #94a3b8;
}

.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.focus-rating {
    display: flex;
    gap: 10px;
}

.focus-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.5rem;
}

.focus-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.focus-btn.selected {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
}

/* History Log */
.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.history-date {
    font-weight: 600;
    color: #00d9ff;
    margin-bottom: 8px;
}

.history-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* BPM Input Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #1a1a2e;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
}

.modal h3 {
    margin-bottom: 20px;
    color: #a855f7;
}

.modal input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.modal input:focus {
    outline: none;
    border-color: #a855f7;
}

.modal-buttons {
    display: flex;
    gap: 10px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.modal-btn.save {
    background: linear-gradient(90deg, #a855f7, #00d9ff);
    color: #fff;
}

.modal-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Technique Goal Sheet */
.goal-sheet {
    overflow-x: auto;
}

.goal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.goal-table th, .goal-table td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.goal-table th {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.goal-table td {
    background: rgba(255, 255, 255, 0.02);
}

.goal-table td.key-name {
    font-weight: 600;
    background: rgba(0, 217, 255, 0.1);
    color: #00d9ff;
}

.goal-input {
    width: 50px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
}

/* Session Complete */
.session-complete {
    text-align: center;
    padding: 40px;
}

.session-complete h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.session-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #00d9ff;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .profiles-grid {
        flex-direction: column;
    }

    .profile-card {
        width: 100%;
        max-width: 250px;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day {
        font-size: 0.7rem;
    }

    .timer-display {
        font-size: 3rem;
    }

    .flow-step {
        min-width: 80px;
        font-size: 0.65rem;
    }

    .scales-grid {
        grid-template-columns: 1fr;
    }
}
