/* BMHP Workshops Frontend Styles */

.bmhp-ws-frontend {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

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

.bmhp-ws-header h2 {
    font-size: 32px;
    color: #ffffff !important;
    margin: 0 0 10px 0;
}

.bmhp-ws-header p {
    color: #e5e7eb !important;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.bmhp-ws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.bmhp-ws-card-frontend {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.bmhp-ws-card-frontend:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.bmhp-ws-card-head {
    padding: 25px;
    color: white;
    position: relative;
}

.bmhp-ws-card-head.massage { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.bmhp-ws-card-head.voetmassage { background: linear-gradient(135deg, #10b981, #059669); }
.bmhp-ws-card-head.sportverzorging { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

.bmhp-ws-badge-frontend {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.bmhp-ws-card-head h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff !important;
}

.bmhp-ws-category {
    opacity: 0.9;
    font-size: 14px;
    color: #ffffff !important;
}

.bmhp-ws-card-body-frontend {
    padding: 25px;
}

.bmhp-ws-desc {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bmhp-ws-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.bmhp-ws-meta-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bmhp-ws-meta-box .icon {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.bmhp-ws-meta-box .label {
    display: block;
    font-size: 11px;
    color: #9ca3af;
}

.bmhp-ws-meta-box .value {
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
}

.bmhp-ws-price-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.bmhp-ws-price-main {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

.bmhp-ws-price-note {
    font-size: 12px;
    color: #6b7280;
}

.bmhp-ws-sessions-info {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
    text-align: center;
}

.bmhp-ws-btn-frontend {
    display: block;
    width: 100%;
    padding: 14px;
    background: #8b5cf6;
    color: white !important;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    text-decoration: none;
}

.bmhp-ws-btn-frontend:hover {
    background: #7c3aed;
    color: white !important;
}

.bmhp-ws-btn-frontend:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* Empty */
.bmhp-ws-empty-frontend {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}

.bmhp-ws-empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

/* Modal */
.bmhp-ws-modal-frontend {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bmhp-ws-modal-frontend.active {
    display: flex;
}

.bmhp-ws-modal-content-frontend {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.bmhp-ws-modal-header-frontend {
    padding: 25px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bmhp-ws-modal-header-frontend h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: #1f2937;
}

.bmhp-ws-modal-close-frontend {
    background: #f3f4f6;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
}

.bmhp-ws-modal-body-frontend {
    padding: 25px;
}

.bmhp-ws-modal-body-frontend h4 {
    margin: 0 0 15px 0;
    color: #374151;
}

/* Loading */
.bmhp-ws-loading {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.bmhp-ws-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: bmhp-spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes bmhp-spin {
    to { transform: rotate(360deg); }
}

/* Session items */
.bmhp-ws-session-item {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.bmhp-ws-session-item:hover {
    border-color: #8b5cf6;
}

.bmhp-ws-session-item.selected {
    border-color: #8b5cf6;
    background: #faf5ff;
}

.bmhp-ws-session-item.full {
    opacity: 0.6;
    cursor: not-allowed;
}

.bmhp-ws-session-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.bmhp-ws-session-date {
    font-size: 13px;
}

.bmhp-ws-session-date-label {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 3px;
}

.bmhp-ws-session-date-value {
    color: #1f2937;
}

.bmhp-ws-session-spots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 10px;
}

.bmhp-ws-spots-available {
    color: #10b981;
    font-weight: 500;
}

.bmhp-ws-spots-full {
    color: #ef4444;
    font-weight: 500;
}

.bmhp-ws-session-deadline {
    color: #6b7280;
}

/* Includes */
.bmhp-ws-includes-box {
    background: #f0fdf4;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.bmhp-ws-includes-box h4 {
    margin: 0 0 10px 0 !important;
    color: #065f46 !important;
    font-size: 14px;
}

.bmhp-ws-includes-box p {
    margin: 0;
    font-size: 13px;
    color: #047857;
    line-height: 1.5;
}

/* Form */
.bmhp-ws-form-group {
    margin-bottom: 18px;
}

.bmhp-ws-form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

.bmhp-ws-form-group input,
.bmhp-ws-form-group textarea,
.bmhp-ws-form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.bmhp-ws-form-group input:focus,
.bmhp-ws-form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
}

.bmhp-ws-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bmhp-ws-partner-fields {
    background: #fce7f3;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.bmhp-ws-partner-fields h4 {
    margin: 0 0 15px 0 !important;
    color: #9d174d !important;
}

.bmhp-ws-back-btn {
    background: none;
    border: none;
    color: #8b5cf6;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 14px;
    padding: 0;
}

/* Payment */
.bmhp-ws-payment-options {
    margin-bottom: 20px;
}

.bmhp-ws-payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.bmhp-ws-payment-option:hover {
    border-color: #8b5cf6;
}

.bmhp-ws-payment-option.selected {
    border-color: #8b5cf6;
    background: #faf5ff;
}

.bmhp-ws-payment-option .icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bmhp-ws-payment-option strong {
    display: block;
    font-size: 14px;
    color: #1f2937;
}

.bmhp-ws-payment-option small {
    font-size: 12px;
    color: #6b7280;
}

/* Summary */
.bmhp-ws-summary {
    background: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.bmhp-ws-summary h4 {
    margin: 0 0 15px 0 !important;
}

.bmhp-ws-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.bmhp-ws-summary-total {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 16px;
}

/* Success */
.bmhp-ws-success-icon {
    width: 80px;
    height: 80px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px auto;
}

#bmhp-ws-success {
    text-align: center;
    padding: 20px 0;
}

#bmhp-ws-success h3 {
    font-size: 24px;
    color: #1f2937;
    margin: 0 0 10px 0;
}

#bmhp-ws-success p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Waitlist */
.bmhp-ws-waitlist-header {
    text-align: center;
    padding: 20px 0;
}

.bmhp-ws-waitlist-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.bmhp-ws-waitlist-header h3 {
    margin: 0 0 10px 0;
}

.bmhp-ws-waitlist-header p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 640px) {
    .bmhp-ws-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .bmhp-ws-session-dates {
        grid-template-columns: 1fr;
    }
    
    .bmhp-ws-form-row {
        grid-template-columns: 1fr;
    }
}
