

/* ===================================
   assets/css/frontend.css
   =================================== */

.yoga-directory-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.yoga-directory-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.yoga-sidebar {
    width: 300px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

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

.yoga-sidebar h2 {
    font-size: 1.3em;
    margin: 0;
    color: #333;
}

.yoga-close-filters {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
}

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

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

.yoga-filters-form input,
.yoga-filters-form select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.yoga-filters-form input:focus,
.yoga-filters-form select:focus {
    outline: none;
    border-color: #667eea;
}

.yoga-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.yoga-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.yoga-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.yoga-btn-secondary {
    background: #f0f0f0;
    color: #666;
}

.yoga-btn-secondary:hover {
    background: #e0e0e0;
}

.yoga-content {
    flex: 1;
}

.yoga-results-header {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yoga-results-count {
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
}

.yoga-filter-toggle {
    display: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.yoga-registrants-grid {
    display: grid;
    gap: 20px;
}

.yoga-registrant-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    gap: 20px;
}

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

.yoga-registrant-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.yoga-registrant-content {
    flex: 1;
}

.yoga-registrant-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.yoga-registrant-name {
    font-size: 1.4em;
    font-weight: 700;
    color: #333;
}

.yoga-registrant-type {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.yoga-designation {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 5px;
}

.yoga-registrant-info {
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
}

.yoga-info-row {
    margin: 5px 0;
}

.yoga-info-label {
    font-weight: 600;
    color: #333;
}

.yoga-specializations {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.yoga-spec-tag {
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    color: #666;
}

/* Modal Styles */
.yoga-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.yoga-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.yoga-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.yoga-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    position: relative;
    min-height: 60px;
}

.yoga-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
    padding: 0;
}

.yoga-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.yoga-modal-body {
    padding: 30px;
}

.yoga-detail-profile {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.yoga-detail-image {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.yoga-detail-info {
    flex: 1;
}

.yoga-detail-name {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.yoga-detail-section {
    margin-bottom: 25px;
}

.yoga-section-title {
    font-size: 1.3em;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.yoga-certifications-list {
    display: grid;
    gap: 15px;
}

.yoga-cert-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.yoga-cert-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.yoga-cert-details {
    color: #666;
    font-size: 0.9em;
}

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

.yoga-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yoga-contact-item a {
    color: #667eea;
    text-decoration: none;
}

.yoga-contact-item a:hover {
    text-decoration: underline;
}

.yoga-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.yoga-pagination button {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.yoga-pagination button:hover:not(:disabled) {
    background: #667eea;
    color: white;
}

.yoga-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.yoga-pagination .yoga-active {
    background: #667eea;
    color: white;
}

.yoga-loading,
.yoga-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1em;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 968px) {
    .yoga-directory-container {
        padding: 10px;
    }
    
    .yoga-sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        height: 100vh;
        z-index: 9999;
        transition: left 0.3s;
        border-radius: 0;
        width: 280px;
        overflow-y: auto;
    }
    
    .yoga-sidebar.active {
        left: 0;
    }
    
    .yoga-filter-toggle {
        display: block;
    }
    
    .yoga-close-filters {
        display: block;
    }
    
    .yoga-registrant-card {
        flex-direction: column;
    }
    
    .yoga-registrant-image {
        width: 100%;
        height: 200px;
    }
    
    .yoga-detail-profile {
        flex-direction: column;
    }
    
    .yoga-detail-image {
        width: 100%;
        height: 250px;
    }
}
/* Make buttons square instead of circular */
.yoga-social-btn {
    border-radius: 10px; /* Change from 50% */
}

/* Make buttons larger */
.yoga-social-btn {
    width: 60px;
    height: 60px;
}

/* Change hover effect */
.yoga-social-btn:hover {
    transform: scale(1.1); /* Scale instead of translateY */
}
