/* General Styles */
.yoga-courses-section {
    background: #f5f5f5;
    padding: 60px 20px;
    margin-top: 40px;
}

.yoga-container {
    max-width: 1200px;
    margin: 0 auto;
}

.yoga-header {
    text-align: center;
    margin-bottom: 40px;
}

.yoga-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.yoga-header p {
    color: #666;
    font-size: 16px;
}

/* Course Grid */
.yoga-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .yoga-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .yoga-course-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.yoga-search-form {
    max-width: 420px;
    margin: 0 auto 30px;
    display: flex;
    gap: 10px;
}

.yoga-search-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.yoga-search-button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    background: #000;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yoga-search-button:hover {
    background: #333;
}


/* Course Card */
.yoga-course-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}

.yoga-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.yoga-course-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.yoga-course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yoga-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.yoga-course-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.yoga-course-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yoga-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.yoga-stars {
    display: flex;
    gap: 2px;
}

.yoga-star {
    width: 14px;
    height: 14px;
}

.yoga-star-filled {
    color: #000;
}

.yoga-star-empty {
    color: #d3d3d3;
}

.yoga-review-count {
    font-size: 12px;
    color: #666;
}

.yoga-studio-info {
    margin-bottom: 12px;
}

.yoga-studio-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 3px;
}

.yoga-trainer-name {
    font-size: 12px;
    color: #666;
}

.yoga-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.yoga-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.yoga-badge-level {
    background-color: #f5f5f5;
    color: #000;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #e5e5e5;
}

.yoga-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
}

.yoga-info-icon {
    color: #000;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.yoga-info-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.yoga-view-btn,
.yoga-book-now-btn {
    width: 100%;
    background: #000;
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    text-align: center;
    text-decoration: none;
    display: block;
}

.yoga-view-btn:hover,
.yoga-book-now-btn:hover {
    background: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Pagination */
.yoga-pagination-wrapper {
    text-align: center;
    margin-top: 20px;
}

.yoga-pagination-info {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.yoga-view-more-btn {
    background: #000;
    color: #fff;
    padding: 14px 40px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.yoga-view-more-btn:hover {
    background: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.yoga-prev-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.yoga-prev-link:hover {
    text-decoration: underline;
    color: #333;
}

/* Course Detail Page */
.yoga-course-detail-section {
    padding: 60px 20px;
    background: #fff;
}

.yoga-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .yoga-detail-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.yoga-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.yoga-detail-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.yoga-price-large {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.yoga-detail-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.yoga-detail-section:last-of-type {
    border-bottom: none;
}

.yoga-detail-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

/* Modal Styles */
.yoga-modal {
    display: none;
    position: fixed;
    z-index: 99999 !important; /* Increased z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    padding: 20px; /* Add padding for better mobile view */
}
.yoga-modal.active {
    display: block;
}

.yoga-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.yoga-modal-close {
    color: #666;
    float: right;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.yoga-modal-close:hover {
    color: #000;
}

.yoga-modal-content h2 {
    margin-bottom: 25px;
    color: #000;
    font-size: 24px;
}

.yoga-form-group {
    margin-bottom: 20px;
}

.yoga-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
}

.yoga-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.yoga-form-group input:focus {
    outline: none;
    border-color: #000;
}

.yoga-submit-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yoga-submit-btn:hover {
    background: #333;
}

.yoga-submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.yoga-booking-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
}

.yoga-booking-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.yoga-booking-message.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.yoga-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}
 /* Hide sidebar-container and force full width on course pages */
    .sidebar-container,
    .sidebar,
    #secondary,
    aside.sidebar,
    .widget-area {
        display: none !important;
    }
    .content-area,
    #primary,
    .site-content,
    .main-content,
    .content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Force full width on course pages - override col-md-8 */
    .col-md-8.contents-container {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }
    
    .content-area,
    #primary,
    .site-content,
    .main-content,
    .content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Force container to full width */
    .container,
    .container-fluid {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* Ensure row doesn't restrict width */
    .row {
        margin: 0 !important;
    }
    .titlebar-inner{
        display:none;
    }
/* Add to your existing style.css */

/* Modal Subtitle */
.yoga-modal-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: -10px 0 20px 0;
}

/* Form Row for side-by-side inputs */
.yoga-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .yoga-form-row {
        grid-template-columns: 1fr;
    }
}

/* Form Group */
.yoga-form-group {
    margin-bottom: 20px;
}

.yoga-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.yoga-form-group input[type="text"],
.yoga-form-group input[type="email"],
.yoga-form-group input[type="tel"],
.yoga-form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.yoga-form-group input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.yoga-form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Form Note */
.yoga-form-note {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Form Actions */
.yoga-form-actions {
    margin-top: 25px;
}

/* Booking Message Styles */
.yoga-booking-message {
    display: none;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.yoga-booking-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yoga-booking-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit Button States */
.yoga-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Content Adjustments */
.yoga-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Smooth scrolling for modal */
.yoga-modal-content::-webkit-scrollbar {
    width: 8px;
}

.yoga-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.yoga-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.yoga-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#content {
    z-index: 9 !important;
    
}
select{
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all .3s ease;
    box-sizing: border-box;
}