/* Mindbody Classes Tabbed Layout */

/* Tab Buttons */
body .mindbody-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
}

body .mindbody-tab-btn {
    padding: 7px 14px !important;
    background: none !important;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #fff !important;
    white-space: nowrap;
    transition: all 0.3s ease;
}

body .mindbody-tab-btn:hover {
    color: #333;
}

.mindbody-tab-btn.active {
    color: #1a1a1a;
    border-bottom-color: #2d3436;
}

/* Tab Content */
.mindbody-tab-content {
    background: #000;
    padding: 20px;
    border-radius: 4px;
}

.mindbody-tab-pane {
    display: none;
}

.mindbody-tab-pane.active {
    display: block;
}

body h3.tab-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Class Item */
.mindbody-class-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 4px;
    gap: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Class Image */
.class-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Class Details */
.class-details {
    flex: 1;
    min-width: 0;
}

.class-category {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

body h4.class-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.class-instructor {
    font-size: 14px;
    color: #666;
}

/* Time Info */
.class-time-info {
    text-align: right;
    margin-right: 20px;
}

.class-time {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.class-duration {
    font-size: 13px;
    color: #999;
}

/* Book Button */
.class-action {
    flex-shrink: 0;
}

body button.book-btn {
    background: #2d3436;
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

body button.book-btn:hover {
    background: #1a1d1f;
    color: #fff;
}

/* Loading State */
.mindbody-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* Error State */
.error {
    color: #d63031;
    padding: 20px;
    text-align: center;
    background: #fff5f5;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .mindbody-class-item {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .class-image {
        width: 100%;
        height: 150px;
    }
    
    .class-details {
        width: 100%;
    }
    
    .class-time-info {
        margin-right: 0;
        text-align: left;
    }
    
    .class-action {
        width: 100%;
    }
    
    .book-btn {
        width: 100%;
    }
}