/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

#app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding-bottom: 70px; /* Space for bottom navigation */
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.logo img {
    height: 24px;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* App Header */
.app-header {
    padding: 10px 20px 20px;
}

.user-greeting h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.motivation-text {
    color: #ccc;
    font-size: 14px;
}

/* Dashboard Content */
.dashboard-content {
    padding-bottom: 20px;
}

/* Carousel */
.spotlight-carousel {
    margin: 15px 0;
    padding: 0 20px;
}

/* Add these styles to the existing CSS file */

/* Carousel Enhancements */
.carousel-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background-color: #fff;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.carousel-control:hover {
    opacity: 1;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Updated Fitness Goals Styles */
.fitness-goals {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fitness-goals h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.goal-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.goal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    min-width: 80px;
    color: #ccc;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.goal-btn i {
    font-size: 18px;
    margin-bottom: 6px;
}

.goal-btn.active {
    background: rgba(125, 95, 255, 0.2);
    border-color: #7d5fff;
    color: #fff;
}

.goal-btn:hover {
    transform: translateY(-2px);
}

.journey-cta {
    width: 100%;
    margin-top: 10px;
}

.goals-progress {
    margin-bottom: 15px;
}

.goal-item {
    margin-bottom: 12px;
}

.goal-item span {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #ccc;
}

.goal-bar {
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.goal-fill {
    height: 100%;
    background-color: #7d5fff;
    border-radius: 4px;
}

.goal-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #b0b0b0;
}

.journey-cta {
    width: 100%;
    margin-top: 10px;
}

/* Membership Card Styles */
.membership-card {
    margin: 20px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
}

.membership-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.membership-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.membership-type h4 {
    font-size: 18px;
    font-weight: 700;
    color: #7d5fff;
}

.membership-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.membership-status.active {
    background-color: rgba(125, 95, 255, 0.2);
    color: #7d5fff;
}

.membership-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #b0b0b0;
}

.info-value {
    color: #f5f5f5;
    font-weight: 500;
}

.membership-card .btn {
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

/* Journey Highlight */
.journey-highlight {
    margin: 20px;
    padding: 20px;
    background-color: #1a1a1a;
    border-radius: 15px;
}

.journey-highlight h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.progress-widgets {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.progress-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#7d5fff 60%, #333 0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1a1a1a;
}

.progress-text {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 600;
}

.circle-progress p {
    font-size: 12px;
    color: #ccc;
}

.bar-progress {
    flex: 1;
    margin-left: 20px;
}

.progress-bar {
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 70%;
    background-color: #7d5fff;
    border-radius: 5px;
}

.bar-progress p {
    font-size: 14px;
    color: #ccc;
}

/* Bottom Navigation */
.bottom-navigation {
    display: flex;
    justify-content: space-around;
    background-color: #111;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 0;
    max-width: 480px;
    margin: 0 auto;
    z-index: 100;
}

.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 0;
}

.nav-button i {
    font-size: 18px;
    margin-bottom: 5px;
}

.nav-button.active {
    color: #fff;
}

/* Card Styles */
.card {
    background-color: #1a1a1a;
    border-radius: 15px;
    margin: 15px 20px;
    overflow: hidden;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.card-content {
    padding: 15px 20px;
}

/* Button Styles */
.btn {
    background-color: #7d5fff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.outline-btn {
    background-color: transparent;
    border: 1px solid #7d5fff;
    color: #7d5fff;
}

.gradient-btn {
    background: linear-gradient(to right, #7d5fff, #5e3aff);
}

/* Personal Training Page Styles */
.page-header {
    padding: 20px;
    text-align: center;
}

.page-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f5;
}

/* Notice Card */
.notice-card {
    background: rgba(125, 95, 255, 0.15);
    border-left: 4px solid #7d5fff;
    border-radius: 8px;
    padding: 15px;
    margin: 0 20px 25px;
    display: flex;
    align-items: center;
}

.notice-icon {
    background: rgba(125, 95, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notice-icon i {
    color: #7d5fff;
    font-size: 18px;
}

.notice-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.notice-content p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.4;
}

/* Trainer Grid */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.trainer-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.trainer-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #2a2a2a;
    margin: 0 auto 10px;
}

.trainer-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.trainer-card p {
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.trainer-card .btn {
    padding: 8px 12px;
    font-size: 12px;
}

/* Date Selector */
.date-selector {
    display: flex;
    overflow-x: auto;
    padding: 5px 0;
    gap: 12px;
    margin-bottom: 10px;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    flex-shrink: 0;
}

.date-item.active {
    background: #7d5fff;
}

.date-item .day {
    font-size: 12px;
    color: #b0b0b0;
}

.date-item.active .day {
    color: rgba(255, 255, 255, 0.8);
}

.date-item .date {
    font-size: 20px;
    font-weight: 600;
    color: #f5f5f5;
}

/* Time Selector */
.time-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.time-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    color: #f5f5f5;
}

.time-item.active {
    background: #7d5fff;
}

/* Booking Summary */
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item span:first-child {
    color: #b0b0b0;
}

.summary-item span:last-child {
    color: #f5f5f5;
    font-weight: 500;
}

.summary-item.highlight {
    background: rgba(125, 95, 255, 0.1);
    margin: 0 -20px;
    padding: 10px 20px;
    border-radius: 0 0 16px 16px;
}

/* Booking Action */
.booking-action {
    padding: 0 20px 30px;
}

.booking-action .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Second Screen Styles */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 20px;
}

.menu-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.menu-item h4 {
    font-size: 14px;
    font-weight: 500;
}

/* Upcoming Class */
.upcoming-class {
    background-color: #1a1a1a;
    border-radius: 15px;
    margin: 20px;
    overflow: hidden;
}

.upcoming-class-header {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}

.upcoming-class-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.class-details {
    display: flex;
    padding: 15px 20px;
}

.class-date {
    background-color: #333;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-right: 15px;
}

.class-date .day {
    font-size: 24px;
    font-weight: 700;
}

.class-date .month {
    font-size: 12px;
    text-transform: uppercase;
}

.class-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.class-info p {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 3px;
}

/* Upcoming Class Section - Exact Match */
.upcoming-class-section {
    margin: 15px;
    background: #1a1a1a;
    border-radius: 16px;
    padding: 0;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.upcoming-class-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    padding: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.class-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.class-card {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.date-box {
    background: #2a2a2a;
    border-radius: 12px;
    min-width: 70px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.date-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
}

.class-details {
    flex: 1;
    padding: 5px 0;
}

.class-details h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.class-info {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.instructor {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

/* Media Queries for Mobile */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .user-greeting h2 {
        font-size: 24px;
    }
    
    .card {
        margin: 10px 15px;
    }
}

/* Membership Section - Layout similar to image but with dark theme */
.membership-section {
    margin: 15px;
    background: rgba(30, 30, 40, 0.8);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.view-all-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.benefit-card:last-child {
    border-bottom: none;
}

.benefit-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(125, 95, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 18px;
    color: #7d5fff;
}

.benefit-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
}

.benefit-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.benefit-action {
    background: rgba(125, 95, 255, 0.8);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.benefit-action:hover {
    background: rgba(125, 95, 255, 1);
    transform: translateY(-1px);
}

.view-all-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.membership-container {
    background: rgba(25, 25, 30, 0.6);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.membership-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.membership-card.premium {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.85), rgba(40, 35, 60, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.accent-line {
    height: 3px;
    background: linear-gradient(to right, #7d5fff, #ffd700);
    width: 100%;
}

.card-content {
    padding: 16px;
}

.membership-type {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.sessions-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.remaining-count {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 4px;
}

.label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.premium-cta {
    background: linear-gradient(to right, #7d5fff, #ffd700);
    border: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(125, 95, 255, 0.4);
}

.premium-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 95, 255, 0.6);
    filter: brightness(1.05);
}

.membership-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.membership-card.glassy {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-left {
    display: flex;
    align-items: center;
}

.membership-icon {
    font-size: 14px;
    color: #7d5fff;
    margin-right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(125, 95, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.card-info .label {
    font-size: 11px;
    color: #b0b0b0;
}

.card-right {
    display: flex;
    align-items: center;
}

.remaining-count {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-right: 10px;
}

.book-btn {
    background: linear-gradient(to right, #7d5fff, #5e3aff);
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(125, 95, 255, 0.4);
}

/* Media query for mobile optimization */
@media (max-width: 375px) {
    .membership-section {
        margin: 12px;
    }
    
    .membership-container {
        padding: 10px;
    }
    
    .membership-card.glassy {
        padding: 10px;
    }
    
    .card-header h4 {
        font-size: 13px;
    }
    
    .remaining-sessions .count {
        font-size: 20px;
    }
    
    .remaining-sessions .label {
        font-size: 10px;
    }
    
    .book-btn {
        padding: 7px;
        font-size: 11px;
    }
}

/* Media query for very small screens */
@media (max-width: 360px) {
    .membership-cards {
        grid-template-columns: 1fr;
    }
}

/* Group Class Styles */
.schedule-header {
    padding: 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.studio-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.studio-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.studio-title h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.studio-location {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
}

.studio-location p {
    margin-bottom: 8px;
}

.weekly-schedule {
    display: flex;
    overflow-x: auto;
    padding: 0 15px;
    margin-bottom: 20px;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: #555 #222;
}

.weekly-schedule::-webkit-scrollbar {
    height: 6px;
}

.weekly-schedule::-webkit-scrollbar-track {
    background: #222;
    border-radius: 3px;
}

.weekly-schedule::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.day-column {
    min-width: 150px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    padding: 10px;
    flex-shrink: 0;
}

.day-header {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

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

.class-item {
    padding: 8px;
    border-radius: 6px;
    background-color: rgba(30, 30, 30, 0.8);
}

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

.class-subtext {
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}

.class-time {
    font-size: 12px;
    color: #ccc;
    margin-top: 4px;
}

/* Class Selection */
.class-selection {
    padding: 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    margin: 15px;
}

.class-selection h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.class-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.class-option {
    display: flex;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 15px;
}

.class-option-day {
    font-size: 14px;
    font-weight: 600;
    min-width: 50px;
}

.class-option-details {
    flex-grow: 1;
}

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

.class-option-time {
    font-size: 14px;
    color: #ccc;
}

.select-class-btn {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-class-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

/* Payment Section */
.payment-section {
    display: none;
    padding: 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    margin: 15px;
}

.payment-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.selected-class-details {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.selected-class-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.selected-class-schedule {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 5px;
}

.selected-class-location {
    font-size: 14px;
    color: #999;
}

.payment-options {
    margin-bottom: 20px;
}

.payment-options h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.payment-method-options {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.payment-method-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 15px;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-option i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccc;
}

.payment-method-name {
    font-size: 14px;
    color: #ccc;
}

.payment-method-option.selected {
    background-color: rgba(74, 0, 224, 0.2);
    border: 1px solid #4a00e0;
}

.payment-method-option.selected i,
.payment-method-option.selected .payment-method-name {
    color: #fff;
}

.payment-details {
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.payment-detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.payment-detail-item.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 600;
}

.payment-detail-label {
    font-size: 14px;
    color: #ccc;
}

.payment-detail-value {
    font-size: 14px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cancel-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ccc;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirm-btn {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

/* Payment Success */
.payment-success {
    display: none;
    padding: 30px 20px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 10px;
    margin: 15px;
    text-align: center;
}

.success-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.payment-success h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.success-details {
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-details p {
    margin-bottom: 10px;
    color: #ccc;
}

.booked-class-name,
.booked-class-schedule {
    color: #fff;
    font-weight: 600;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.primary-btn {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ccc;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Additional Personal Training Styles */

/* Session to Reschedule Text */
.session-to-reschedule {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: -10px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Confirmation Modal */
.confirmation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    display: none;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 25px;
    width: 85%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
    text-transform: uppercase;
}

.change-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.change-from, .change-to {
    flex: 1;
    background: rgba(40, 40, 50, 0.6);
    border-radius: 12px;
    padding: 15px;
}

.change-from h4, .change-to h4 {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.change-arrow {
    padding: 0 15px;
    color: #7d5fff;
    font-size: 20px;
}

.change-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.change-item:last-child {
    margin-bottom: 0;
}

.change-item i {
    margin-right: 10px;
    color: #7d5fff;
    width: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Success Message */
.success-message {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 25px;
    margin: 15px;
    color: #fff;
    text-align: center;
    display: none;
}

.success-icon {
    font-size: 60px;
    color: #7d5fff;
    margin-bottom: 15px;
}

.success-message h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.success-message p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.updated-session {
    background: rgba(40, 40, 50, 0.6);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.updated-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.updated-item:last-child {
    margin-bottom: 0;
}

.updated-item i {
    margin-right: 10px;
    color: #7d5fff;
    width: 20px;
    text-align: center;
}

.done-btn {
    background: linear-gradient(to right, #7d5fff, #5e3aff);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

/* Personal Training Page Styles */
.schedule-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.schedule-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.schedule-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(40, 40, 50, 0.6);
    border-radius: 12px;
    border-left: 3px solid #7d5fff;
}

.schedule-day {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    min-width: 90px;
}

.schedule-details {
    flex: 1;
}

.schedule-time {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.schedule-trainer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
}

.reschedule-btn {
    background: rgba(125, 95, 255, 0.2);
    color: #7d5fff;
    border: none;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* Reschedule Form */
.reschedule-form {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    margin: 15px;
    color: #fff;
}

.reschedule-form h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h4 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Trainer Options */
.trainer-options {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
}

.trainer-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(40, 40, 50, 0.6);
    cursor: pointer;
    position: relative;
}

.trainer-option.selected {
    background: rgba(125, 95, 255, 0.3);
    border: 1px solid #7d5fff;
}

.trainer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}

.trainer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-avatar i {
    font-size: 24px;
    color: #7d5fff;
}

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

.trainer-tag {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #7d5fff;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Day Options */
.day-options {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
}

.day-option {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 50, 0.6);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.day-option.selected {
    background: #7d5fff;
    color: #fff;
}

.day-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Time Options */
.time-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-option {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 50, 0.6);
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
}

.time-option.selected {
    background: #7d5fff;
    color: #fff;
}

.time-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cancel-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
}

.confirm-btn {
    flex: 2;
    padding: 12px;
    background: linear-gradient(to right, #7d5fff, #5e3aff);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}