.moglow-bap-booking-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.moglow-bap-booking-wrapper {
    display: flex;
    flex-direction: column;
}

.moglow-bap-filters-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.moglow-bap-location-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.moglow-bap-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.moglow-bap-location-label {
    font-size: 14px;
    color: #333;
    white-space: nowrap;
}

.moglow-bap-icon-location::before {
    content: "📍";
    font-size: 18px;
}

.moglow-bap-icon-filter::before {
    content: "☰";
    font-size: 20px;
    display: block;
    line-height: 1;
}

.moglow-bap-icon-arrow-left::before,
.moglow-bap-icon-arrow-right::before {
    content: "←";
    font-size: 18px;
    display: block;
    line-height: 1;
}

.moglow-bap-icon-arrow-right::before {
    content: "→";
}

.moglow-bap-icon-location-small::before {
    content: "📍";
    font-size: 14px;
}

.moglow-bap-icon-person::before {
    content: "👤";
    font-size: 14px;
}

.moglow-bap-location-select,
.moglow-bap-service-select {
    padding: 8px 32px 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: #333;
    min-width: 200px;
}

.moglow-bap-service-filter {
    display: flex;
    align-items: center;
}

.moglow-bap-location-select:hover {
    background-color: #f5f5f5;
}

.moglow-bap-location-select:focus {
    outline: none;
    border-color: #9d9481;
}

.moglow-bap-filter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #9d9481;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.moglow-bap-filter-btn:hover {
    border-color: #d0d0d0;
    background: #b5ad9a;
}

.moglow-bap-my-bookings-btn {
    padding: 4px 10px;
    height: 28px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #9d9481;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    white-space: nowrap;
}

.moglow-bap-my-bookings-btn:hover {
    border-color: #d0d0d0;
    background: #b5ad9a;
    color: white;
    text-decoration: none;
}

.moglow-bap-main-content {
    flex: 1;
    min-width: 0;
}

.moglow-bap-date-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    overflow: visible;
    width: 100%;
    position: relative;
}

.moglow-bap-date-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #9d9481;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.moglow-bap-date-nav-btn:hover {
    border-color: #d0d0d0;
    background: #b5ad9a;
}

.moglow-bap-date-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.moglow-bap-date-list {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    padding: 4px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    flex-wrap: nowrap;
    min-width: 0;
}

.moglow-bap-date-list::-webkit-scrollbar {
    display: none;
}

.moglow-bap-date-item {
    flex-shrink: 0;
    flex-grow: 0;
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #9d9481;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.moglow-bap-date-item:focus {
    outline: 2px solid #9d9481;
    outline-offset: 2px;
}

.moglow-bap-date-item:hover {
    border-color: #d0d0d0;
    background: #b5ad9a;
}

.moglow-bap-date-item.active {
    border-color: #dc2626;
    background: #dc2626;
    color: white;
}

.moglow-bap-date-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    white-space: nowrap;
}

.moglow-bap-appointments-list {
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.moglow-bap-appointments-list > * {
    margin-bottom: 0;
}

.moglow-bap-appointments-list::-webkit-scrollbar {
    width: 6px;
}

.moglow-bap-appointments-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.moglow-bap-appointments-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.moglow-bap-appointments-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.moglow-bap-appointment-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: all 0.2s;
    margin-bottom: 6px;
}

.moglow-bap-appointment-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 3px;
    overflow: hidden;
    background: #f5f5f5;
}

.moglow-bap-appointment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moglow-bap-appointment-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.moglow-bap-status-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.moglow-bap-status-waiting {
    background: #f5f5f5;
    color: #666;
}

.moglow-bap-appointment-time {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    min-width: 48px;
    flex-shrink: 0;
    line-height: 1.2;
}

.moglow-bap-appointment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.moglow-bap-appointment-type {
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
    line-height: 1.2;
}

.moglow-bap-appointment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.moglow-bap-appointment-location,
.moglow-bap-appointment-instructor,
.moglow-bap-appointment-capacity {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.moglow-bap-capacity-text {
    font-weight: 500;
}

.moglow-bap-book-btn {
    padding: 6px 14px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.moglow-bap-book-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.moglow-bap-book-btn:active {
    transform: translateY(0);
}

.moglow-bap-book-btn:disabled,
.moglow-bap-booked-btn {
    background: #10b981;
    cursor: not-allowed;
    opacity: 0.8;
}

.moglow-bap-booked-btn:hover {
    transform: none;
    box-shadow: none;
}

.moglow-bap-no-appointments {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.moglow-bap-no-appointments p {
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .moglow-bap-filters-bar {
        flex-wrap: wrap;
    }
    
    .moglow-bap-location-select {
        min-width: 150px;
    }
    
    .moglow-bap-appointment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .moglow-bap-book-btn {
        width: 100%;
    }
    
    .moglow-bap-date-item {
        min-width: 80px;
        padding: 8px 12px;
    }
}

.moglow-bap-loading {
    text-align: center;
    padding: 40px 20px;
}

.moglow-bap-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dc2626;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.moglow-bap-loading p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.moglow-bap-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moglow-bap-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.moglow-bap-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.moglow-bap-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.moglow-bap-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.moglow-bap-modal-body {
    padding: 32px;
    padding-top: 40px;
}

.moglow-bap-modal-body p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.moglow-bap-modal-footer {
    padding: 16px 32px 32px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.moglow-bap-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.moglow-bap-modal-btn-primary {
    background: #dc2626;
    color: white;
}

.moglow-bap-modal-btn-primary:hover {
    background: #b91c1c;
}

.moglow-bap-modal-btn-secondary {
    background: #f5f5f5;
    color: #333;
}

.moglow-bap-modal-btn-secondary:hover {
    background: #e0e0e0;
}

.moglow-bap-my-bookings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.moglow-bap-my-bookings h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
}

.moglow-bap-no-bookings {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.moglow-bap-bookings-list {
    display: grid;
    gap: 16px;
}

.moglow-bap-booking-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.2s;
}

.moglow-bap-booking-card:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.moglow-bap-booking-card.moglow-bap-booking-past {
    opacity: 0.7;
}

.moglow-bap-booking-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.moglow-bap-booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moglow-bap-booking-details {
    flex: 1;
}

.moglow-bap-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.moglow-bap-booking-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #dc2626;
    margin: 0;
}

.moglow-bap-booking-status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.moglow-bap-status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.moglow-bap-status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.moglow-bap-status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.moglow-bap-booking-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.moglow-bap-booking-date-time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.moglow-bap-booking-date-time strong {
    color: #333;
}

.moglow-bap-booking-location,
.moglow-bap-booking-instructor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.moglow-bap-cancel-btn {
    padding: 10px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.moglow-bap-cancel-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.moglow-bap-cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.moglow-bap-calendar-btn {
    transition: background-color 0.2s;
}

.moglow-bap-calendar-btn:hover {
    background-color: #135e96 !important;
}
}

.moglow-bap-message {
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    margin: 20px 0;
}

.moglow-bap-message p {
    margin: 0;
    color: #991b1b;
}

.moglow-bap-message a {
    color: #dc2626;
    text-decoration: underline;
}

.moglow-bap-booking-login-container {
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    padding: 40px 20px;
}

.moglow-bap-booking-login-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.moglow-bap-booking-login-left {
    padding: 40px;
    background: white;
    border-radius: 8px;
}

.moglow-bap-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 40px;
    transition: color 0.2s;
}

.moglow-bap-back-link:hover {
    color: #dc2626;
}

.moglow-bap-icon-arrow-left {
    font-size: 18px;
}

.moglow-bap-login-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.moglow-bap-login-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
}

.moglow-bap-login-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.moglow-bap-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.moglow-bap-btn-primary {
    background: #dc2626;
    color: white;
}

.moglow-bap-btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.moglow-bap-booking-login-right {
    padding: 40px;
    background: white;
    border-radius: 8px;
}

.moglow-bap-select-workout-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 24px 0;
}

.moglow-bap-appointment-card-large {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.moglow-bap-appointment-image-large {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.moglow-bap-appointment-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moglow-bap-appointment-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 24px;
    color: white;
}

.moglow-bap-appointment-service-name-overlay {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.moglow-bap-appointment-time-overlay {
    font-size: 16px;
    opacity: 0.9;
}

.moglow-bap-appointment-details-large {
    padding: 24px;
}

.moglow-bap-appointment-date-large {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.moglow-bap-appointment-location-large,
.moglow-bap-appointment-instructor-large,
.moglow-bap-appointment-duration-large {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.moglow-bap-icon-location-large,
.moglow-bap-icon-person-large,
.moglow-bap-icon-clock {
    font-size: 16px;
}

.moglow-bap-appointment-description-large {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.moglow-bap-appointment-description-large p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .moglow-bap-booking-login-wrapper {
        grid-template-columns: 1fr;
    }
    
    .moglow-bap-booking-login-left,
    .moglow-bap-booking-login-right {
        padding: 24px;
    }
}
