.bcrm-page { max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.bcrm-page h1, .bcrm-page h2, .bcrm-page h3 { color: #2c3e50; margin-bottom: 20px; }
.bcrm-page h1 { text-align: center; font-size: 2.5em; }

/* Auth */
.bcrm-auth-container { max-width: 450px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.bcrm-auth-tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid #e0e0e0; }
.bcrm-auth-tabs a { flex: 1; text-align: center; padding: 15px; color: #7f8c8d; font-weight: 600; text-decoration: none; position: relative; }
.bcrm-auth-tabs a.active { color: #667eea; }
.bcrm-auth-tabs a.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: #667eea; }

.bcrm-form-group { margin-bottom: 20px; }
.bcrm-form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #34495e; }
.bcrm-form-group input, .bcrm-form-group select { width: 100%; padding: 14px 16px; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 16px; transition: all 0.3s; box-sizing: border-box; }
.bcrm-form-group input:focus, .bcrm-form-group select:focus { border-color: #667eea; outline: none; box-shadow: 0 0 0 4px rgba(102,126,234,0.1); }

.bcrm-btn { display: inline-block; padding: 14px 32px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.bcrm-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,0.4); color: #fff; }
.bcrm-btn-secondary { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.bcrm-btn-danger { background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%); }
.bcrm-btn-small { padding: 8px 16px; font-size: 14px; }

/* Master Cards */
.bcrm-master-card { background: #fff; border-radius: 20px; padding: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transition: all 0.3s; display: flex; flex-direction: column; align-items: center; text-align: center; }
.bcrm-master-card:hover { transform: translateY(-5px); box-shadow: 0 15px 50px rgba(0,0,0,0.12); }
.bcrm-master-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.bcrm-avatar-placeholder { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; font-size: 48px; color: #fff; }
.bcrm-master-info h3 { margin: 0 0 10px 0; color: #2c3e50; }
.bcrm-specialty-tag { display: inline-block; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 14px; }
.bcrm-master-meta { color: #7f8c8d; margin: 15px 0; }
.bcrm-master-meta p { margin: 5px 0; }
.bcrm-master-preview-services { margin: 15px 0; text-align: left; }
.bcrm-master-preview-services strong { display: block; margin-bottom: 10px; color: #2c3e50; }
.bcrm-service-preview { display: inline-block; background: #f8f9fa; padding: 5px 10px; border-radius: 8px; font-size: 14px; margin: 3px; }

.bcrm-masters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

/* Booking Page - Showcase */
.bcrm-masters-showcase { display: flex; flex-direction: column; gap: 30px; }
.bcrm-master-showcase-card { background: #fff; border-radius: 24px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.bcrm-master-showcase-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.bcrm-master-showcase-header .bcrm-master-photo { width: 100px; height: 100px; }
.bcrm-master-showcase-info h3 { margin: 0 0 8px 0; font-size: 1.5em; }
.bcrm-working-hours { color: #7f8c8d; font-size: 14px; margin: 5px 0 0 0; }
.bcrm-master-services h4 { color: #2c3e50; margin-bottom: 15px; }
.bcrm-services-list { display: flex; flex-direction: column; gap: 10px; }
.bcrm-service-row { display: grid; grid-template-columns: 2fr 1fr 1fr auto; align-items: center; background: #f8f9fa; padding: 15px 20px; border-radius: 12px; gap: 15px; }
.bcrm-service-name { font-weight: 600; color: #2c3e50; }
.bcrm-service-duration { color: #7f8c8d; }
.bcrm-service-price { font-weight: 700; color: #27ae60; font-size: 18px; }
.bcrm-btn-select-service { padding: 10px 20px; font-size: 14px; }

/* Modal */
.bcrm-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.bcrm-modal-content { background: #fff; border-radius: 20px; padding: 30px; max-width: 500px; width: 90%; position: relative; }
.bcrm-modal-close { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #7f8c8d; }
.bcrm-modal-close:hover { color: #2c3e50; }

/* Cabinet */
.bcrm-cabinet-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 20px; padding: 30px; margin-bottom: 30px; color: #fff; }
.bcrm-welcome { display: flex; justify-content: space-between; align-items: center; }
.bcrm-welcome h2 { color: #fff; margin: 0; }
.bcrm-add-service-form { background: #f8f9fa; border-radius: 16px; padding: 25px; margin-bottom: 30px; }
.bcrm-add-service-form h3 { margin-top: 0; }

.bcrm-service-card { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 15px 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.bcrm-service-card .bcrm-service-info { flex: 1; }
.bcrm-service-card .bcrm-service-info strong { display: block; color: #2c3e50; }
.bcrm-service-card .bcrm-service-info span { color: #7f8c8d; font-size: 14px; }
.bcrm-service-card .bcrm-service-price { font-size: 20px; font-weight: 700; color: #27ae60; margin: 0 20px; }
.bcrm-icon-btn { background: #e74c3c; color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 20px; }

.bcrm-appointments-list { display: flex; flex-direction: column; gap: 15px; }
.bcrm-appointment-row { display: grid; grid-template-columns: 100px 1fr 1fr 120px auto; align-items: center; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); gap: 15px; }
.bcrm-appointment-row.confirmed { border-left: 4px solid #27ae60; }
.bcrm-appointment-row.cancelled { border-left: 4px solid #e74c3c; opacity: 0.7; }
.bcrm-appointment-row.pending { border-left: 4px solid #f39c12; }
.bcrm-appt-datetime { text-align: center; }
.bcrm-appt-datetime .bcrm-date { display: block; font-weight: 600; color: #2c3e50; }
.bcrm-appt-datetime .bcrm-time { color: #7f8c8d; font-size: 14px; }
.bcrm-appt-service { font-weight: 500; color: #2c3e50; }
.bcrm-appt-client strong { display: block; color: #2c3e50; }
.bcrm-appt-client span { color: #7f8c8d; font-size: 14px; }
.status-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending { background: #f39c12; color: #fff; }
.status-confirmed { background: #27ae60; color: #fff; }
.status-cancelled { background: #e74c3c; color: #fff; }

.bcrm-success { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); color: #fff; padding: 20px; border-radius: 12px; text-align: center; }
.bcrm-error { background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%); color: #fff; padding: 15px; border-radius: 12px; }

.bcrm-tabs { display: flex; gap: 10px; margin-bottom: 30px; border-bottom: 2px solid #e0e0e0; }
.bcrm-tabs .bcrm-tab { padding: 15px 25px; background: none; border: none; font-size: 16px; font-weight: 600; color: #7f8c8d; cursor: pointer; position: relative; }
.bcrm-tabs .bcrm-tab.active { color: #667eea; }
.bcrm-tabs .bcrm-tab.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px; background: #667eea; }

.bcrm-empty { text-align: center; padding: 50px; color: #7f8c8d; }

@media (max-width: 768px) {
    .bcrm-master-showcase-header { flex-direction: column; text-align: center; }
    .bcrm-service-row { grid-template-columns: 1fr; gap: 10px; }
    .bcrm-appointment-row { grid-template-columns: 1fr; gap: 10px; }
    .bcrm-welcome { flex-direction: column; gap: 15px; text-align: center; }
    .bcrm-add-service-form form > div { grid-template-columns: 1fr !important; }
}