:root {
    --bc-primary: #4F46E5;
    --bc-unavailable: #F87171;
}

.bc-9e88129f-container {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bc-9e88129f-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    text-align: center;
}

.bc-9e88129f-tabs {
    display: flex;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 20px;
}

.bc-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.bc-tab-btn.active {
    color: var(--bc-primary);
    border-bottom-color: var(--bc-primary);
}

.bc-tab-content {
    display: none;
}

.bc-tab-content.active {
    display: block;
}

/* Calendar Grid */
.bc-9e88129f-calendar-wrapper {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px;
}

.bc-9e88129f-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bc-nav-btn {
    background: #ffffff;
    border: 1px solid #D1D5DB;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.bc-9e88129f-calendar-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.bc-9e88129f-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: #6B7280;
    font-size: 12px;
    margin-bottom: 8px;
}

.bc-9e88129f-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.bc-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    user-select: none;
}

.bc-day:hover:not(.booked-day):not(.past-day):not(.prev-month-day) {
    background: #E0E7FF;
}

.prev-month-day {
    color: #D1D5DB;
    cursor: not-allowed;
}

.past-day {
    color: #9CA3AF;
    text-decoration: line-through;
    cursor: not-allowed;
}

.booked-day {
    background-color: var(--bc-unavailable);
    color: #ffffff;
    font-weight: bold;
    cursor: not-allowed;
    text-decoration: line-through;
}

.selected-start {
    background-color: var(--bc-primary);
    color: #ffffff;
    font-weight: bold;
}

.in-range {
    background-color: #C7D2FE;
    color: #1E1B4B;
}

/* Selection Summary */
.bc-selection-summary {
    margin-top: 20px;
    text-align: center;
}

.selection-text {
    font-size: 14px;
    color: #4B5563;
    margin-bottom: 12px;
}

.bc-btn {
    background: var(--bc-primary);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s;
}

.bc-btn:hover {
    filter: brightness(0.9);
}

/* Modal form */
.bc-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99999;
}

.bc-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.bc-modal-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bc-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: #9CA3AF;
}

.bc-modal-close:hover {
    color: #374151;
}

.bc-modal h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}

.bc-modal-dates-summary {
    font-size: 14px;
    color: #4B5563;
    background: #F3F4F6;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.bc-form-group {
    margin-bottom: 12px;
    text-align: left;
}

.bc-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.bc-form-group input,
.bc-form-group textarea {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
}

/* Admin Dashboard Table */
.bc-admin-dashboard {
    text-align: left;
}

.bc-admin-table-wrap {
    overflow-x: auto;
}

.bc-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bc-admin-table th,
.bc-admin-table td {
    padding: 8px;
    border-bottom: 1px solid #E5E7EB;
    text-align: left;
}

.bc-admin-table th {
    background: #F3F4F6;
    font-weight: 600;
}

.bc-admin-btn {
    background: #EF4444;
    color: #ffffff;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
}