/* _content/DentalPMS.Web/Components/Pages/PatientSearch.razor.rz.scp.css */
/* Root Page Styling */
.patient-search-page[b-uou8uc432u] {
    min-height: 100vh;
    background-color: #F9FAFB;
    display: flex;
    flex-direction: column;
}

/* Header Navigation */
.header[b-uou8uc432u] {
    background-color: white;
    border-bottom: 1px solid #E5E7EB;
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}

.header-container[b-uou8uc432u] {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Logo */
.logo[b-uou8uc432u] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon[b-uou8uc432u] {
    font-size: 24px;
    line-height: 1;
}

.logo-text[b-uou8uc432u] {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

/* Navigation */
.nav[b-uou8uc432u] {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link[b-uou8uc432u] {
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.nav-link:hover[b-uou8uc432u] {
    opacity: 0.7;
}

.nav-link-active[b-uou8uc432u] {
    color: #3B82F6;
    font-weight: 500;
}

/* User Icon */
.user-icon[b-uou8uc432u] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Main Content */
.main-content[b-uou8uc432u] {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
    box-sizing: border-box;
    flex: 1;
}

/* Page Title */
.page-title[b-uou8uc432u] {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 24px 0 0;
    padding: 0;
}

/* Search Container */
.search-container[b-uou8uc432u] {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    width: 100%;
}

.search-bar[b-uou8uc432u] {
    position: relative;
    width: 600px;
    max-width: 100%;
}

.search-icon[b-uou8uc432u] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    flex-shrink: 0;
}

.search-input[b-uou8uc432u] {
    width: 100%;
    height: 48px;
    padding-left: 48px;
    padding-right: 16px;
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: #111827;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

.search-input:focus[b-uou8uc432u] {
    border-color: #60A5FA;
}

.search-input[b-uou8uc432u]::placeholder {
    color: #9CA3AF;
}

/* Patient List - Grid Container */
.patient-list[b-uou8uc432u] {
    margin-top: 32px;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Patient Card - Main Container */
.patient-card[b-uou8uc432u] {
    background-color: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.patient-card:hover[b-uou8uc432u] {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Patient ID Section */
.patient-id-section[b-uou8uc432u] {
    flex-shrink: 0;
    width: 80px;
}

.patient-id[b-uou8uc432u] {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    padding: 0;
}

/* Patient Info Section */
.patient-info-section[b-uou8uc432u] {
    flex: 1;
    padding: 0 16px;
    min-width: 0;
}

.patient-name[b-uou8uc432u] {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
    padding: 0;
}

.patient-details[b-uou8uc432u] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.detail-text[b-uou8uc432u] {
    font-size: 14px;
    color: #6B7280;
    white-space: nowrap;
}

/* Patient Actions (Phone + Chevron) */
.patient-actions[b-uou8uc432u] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.phone-wrapper[b-uou8uc432u] {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.phone-icon[b-uou8uc432u] {
    color: #6B7280;
    flex-shrink: 0;
}

.phone-text[b-uou8uc432u] {
    font-size: 14px;
    color: #6B7280;
}

.chevron-icon[b-uou8uc432u] {
    color: #6B7280;
    flex-shrink: 0;
}

/* Floating Action Button */
.fab[b-uou8uc432u] {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #3B82F6;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
    z-index: 50;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.fab:hover[b-uou8uc432u] {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.fab-icon-wrapper[b-uou8uc432u] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fab-icon[b-uou8uc432u] {
    color: white;
    width: 20px;
    height: 20px;
}

.fab-text[b-uou8uc432u] {
    color: white;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container[b-uou8uc432u] {
        padding: 0 16px;
    }

    .nav[b-uou8uc432u] {
        gap: 16px;
    }

    .nav-link[b-uou8uc432u] {
        font-size: 12px;
    }

    .main-content[b-uou8uc432u] {
        padding: 0 16px 80px;
    }

    .page-title[b-uou8uc432u] {
        font-size: 18px;
    }

    .search-bar[b-uou8uc432u] {
        width: 100%;
    }

    .patient-card[b-uou8uc432u] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .patient-info-section[b-uou8uc432u] {
        padding: 0;
        width: 100%;
    }

    .patient-actions[b-uou8uc432u] {
        width: 100%;
        justify-content: space-between;
    }

    .fab[b-uou8uc432u] {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .fab-icon-wrapper[b-uou8uc432u] {
        width: 20px;
        height: 20px;
    }

    .fab-icon[b-uou8uc432u] {
        width: 16px;
        height: 16px;
    }

    .fab-text[b-uou8uc432u] {
        display: none;
    }
}
/* _content/DentalPMS.Web/Components/Pages/PrescriptionTemplateCalibrationWorkspace.razor.rz.scp.css */
.template-calibration-canvas[b-rz5orlarrh] {
    position: relative;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background-color: #ffffff;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(to right, rgba(100, 116, 139, 0.14) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(100, 116, 139, 0.14) 1px, transparent 1px);
    background-size: 16px 16px, 16px 16px, 32px 32px, 32px 32px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    touch-action: none;
}

.template-calibration-canvas.is-interacting[b-rz5orlarrh] {
    cursor: grabbing;
}

.template-calibration-image[b-rz5orlarrh] {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    max-width: none;
    opacity: 0.94;
}

.template-calibration-block[b-rz5orlarrh] {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 0.65rem;
    border: 2px solid rgba(37, 99, 235, 0.28);
    background: rgba(255, 255, 255, 0.84);
    padding: 0.5rem 0.55rem 0.55rem;
    text-align: left;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.template-calibration-block:hover[b-rz5orlarrh] {
    border-color: rgba(37, 99, 235, 0.62);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.template-calibration-block.is-selected[b-rz5orlarrh] {
    z-index: 3;
    border-color: #2563eb;
    background: rgba(239, 246, 255, 0.95);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.template-calibration-block.is-dragging[b-rz5orlarrh] {
    transition: none;
    cursor: grabbing;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.24);
}

.template-calibration-header[b-rz5orlarrh] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.template-calibration-key[b-rz5orlarrh] {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    padding: 0.1rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

.template-calibration-badge[b-rz5orlarrh] {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    padding: 0.08rem 0.4rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
}

.template-calibration-title[b-rz5orlarrh] {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1e3a8a;
}

.template-calibration-dimensions[b-rz5orlarrh] {
    display: inline-flex;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.1;
    color: #475569;
}

.template-calibration-line[b-rz5orlarrh] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.69rem;
    line-height: 1.2;
    color: #334155;
}

.template-calibration-handle[b-rz5orlarrh] {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
    padding: 0;
}

.template-calibration-handle:hover[b-rz5orlarrh] {
    background: #1d4ed8;
}

.template-calibration-handle-nw[b-rz5orlarrh] {
    top: -7px;
    left: -7px;
    cursor: nwse-resize;
}

.template-calibration-handle-n[b-rz5orlarrh] {
    top: -7px;
    left: calc(50% - 6px);
    cursor: ns-resize;
}

.template-calibration-handle-ne[b-rz5orlarrh] {
    top: -7px;
    right: -7px;
    cursor: nesw-resize;
}

.template-calibration-handle-e[b-rz5orlarrh] {
    top: calc(50% - 6px);
    right: -7px;
    cursor: ew-resize;
}

.template-calibration-handle-se[b-rz5orlarrh] {
    right: -7px;
    bottom: -7px;
    cursor: nwse-resize;
}

.template-calibration-handle-s[b-rz5orlarrh] {
    bottom: -7px;
    left: calc(50% - 6px);
    cursor: ns-resize;
}

.template-calibration-handle-sw[b-rz5orlarrh] {
    bottom: -7px;
    left: -7px;
    cursor: nesw-resize;
}

.template-calibration-handle-w[b-rz5orlarrh] {
    top: calc(50% - 6px);
    left: -7px;
    cursor: ew-resize;
}
/* _content/DentalPMS.Web/Components/Pages/Scheduler.razor.rz.scp.css */
/* Scheduler Container - align with React root (#root: h-screen w-screen overflow-hidden bg-white) */
.scheduler-container[b-qtl4t9y6mf] {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

.loading-spinner[b-qtl4t9y6mf] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 18px;
    color: #6B7280;
}

.error-message[b-qtl4t9y6mf] {
    padding: 20px;
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 8px;
    margin: 20px;
}

/* ============= HEADER - styles moved to site.css for global override ============= */
.scheduler-header[b-qtl4t9y6mf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height, padding, background, border controlled by global site.css */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-left[b-qtl4t9y6mf] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right[b-qtl4t9y6mf] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-button[b-qtl4t9y6mf] {
    padding: 8px 16px;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s;
}

.nav-button:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

.today-button[b-qtl4t9y6mf] {
    padding: 8px 16px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.today-button:hover[b-qtl4t9y6mf] {
    background: #2563EB;
}

.date-display[b-qtl4t9y6mf] {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    padding: 0 16px;
}

.icon-button[b-qtl4t9y6mf] {
    padding: 8px;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s;
}

.icon-button:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
}

.user-info[b-qtl4t9y6mf] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #F3F4F6;
    border-radius: 6px;
}

.user-icon[b-qtl4t9y6mf] {
    font-size: 20px;
}

.user-role[b-qtl4t9y6mf] {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* ============= GRID CONTAINER WITH SCROLL ============= */
.scheduler-grid-container[b-qtl4t9y6mf] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.grid-wrapper[b-qtl4t9y6mf] {
    flex: 1;
    overflow: auto;
    background: #F9FAFB;
    min-height: 0;
}

[b-qtl4t9y6mf] .scheduler-grid {
    display: grid !important;
    gap: 0;
    background: transparent;
}

[b-qtl4t9y6mf] .grid-header {
    position: sticky;
    top: 0;
    background: white;
    border: 1px solid #E5E7EB;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    z-index: 10;
    min-height: 60px;
}

.time-header[b-qtl4t9y6mf] {
    text-align: center;
    position: sticky;
    left: 0;
    z-index: 20;
    background: #F9FAFB;
}

.doctor-header[b-qtl4t9y6mf] {
    text-align: center;
    border-left: 1px solid #E5E7EB;
}

.doctor-name[b-qtl4t9y6mf] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.doctor-specialization[b-qtl4t9y6mf] {
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

/* ============= TIME CELL ============= */
.time-cell[b-qtl4t9y6mf] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-top: none;
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
}

/* ============= AVAILABLE CELL ============= */
.available-cell[b-qtl4t9y6mf] {
    height: 60px;
    background: #D1FAE5;
    border: 1px solid #10B981;
    border-left: 1px solid #E5E7EB;
    border-top: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    font-size: 24px;
    font-weight: 600;
    color: #10B981;
    padding: 0;
    width: 100%;
}

.available-cell:hover[b-qtl4t9y6mf] {
    background: #A7F3D0;
    transform: scale(1.02);
    z-index: 5;
}

.plus-icon[b-qtl4t9y6mf] {
    font-size: 24px;
    color: #10B981;
    opacity: 0.5;
    transition: opacity 0.2s;
    line-height: 1;
}

.available-cell:hover .plus-icon[b-qtl4t9y6mf] {
    opacity: 1;
}

/* ============= UNAVAILABLE CELL ============= */
.unavailable-cell[b-qtl4t9y6mf] {
    height: 60px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-left: 1px solid #E5E7EB;
    border-top: none;
    opacity: 0.6;
}

/* ============= APPOINTMENT CARD ============= */
.appointment-card[b-qtl4t9y6mf] {
    height: 60px;
    background: white;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #3B82F6;
    border-top: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.appointment-card-link[b-qtl4t9y6mf] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 100%;
    padding-right: 20px;
    color: inherit;
    text-decoration: none;
}

.appointment-card:hover[b-qtl4t9y6mf] {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    z-index: 5;
}

.details-button[b-qtl4t9y6mf] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
}

.details-button:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
    color: #111827;
}

.card-content[b-qtl4t9y6mf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patient-name[b-qtl4t9y6mf] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appointment-reason[b-qtl4t9y6mf] {
    font-size: 12px;
    color: #6B7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge[b-qtl4t9y6mf] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    width: fit-content;
    margin-top: 2px;
}

/* Status Border Colors */
.status-planned[b-qtl4t9y6mf] {
    background: #DBEAFE;
    border-left-color: #3B82F6 !important;
}

.status-arrived[b-qtl4t9y6mf] {
    background: #FEF08A;
    border-left-color: #F59E0B !important;
}

.status-inchair[b-qtl4t9y6mf] {
    background: #DDD6FE;
    border-left-color: #8B5CF6 !important;
}

.status-completed[b-qtl4t9y6mf] {
    background: #DCFCE7;
    border-left-color: #10B981 !important;
}

.status-cancelled[b-qtl4t9y6mf] {
    background: #FEE2E2;
    border-left-color: #EF4444 !important;
}

.status-noshow[b-qtl4t9y6mf] {
    background: #F3F4F6;
    border-left-color: #6B7280 !important;
}

/* Status Badge Colors */
.badge-planned[b-qtl4t9y6mf] {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-arrived[b-qtl4t9y6mf] {
    background: #FEF3C7;
    color: #92400E;
}

.badge-inchair[b-qtl4t9y6mf] {
    background: #EDE9FE;
    color: #6B21A8;
}

.badge-completed[b-qtl4t9y6mf] {
    background: #D1FAE5;
    color: #065F46;
}

.badge-cancelled[b-qtl4t9y6mf] {
    background: #FEE2E2;
    color: #991B1B;
}

.badge-noshow[b-qtl4t9y6mf] {
    background: #F3F4F6;
    color: #374151;
}

/* ============= MODAL ============= */
/* Match React: fixed positioned card centered with transform */
.modal-overlay[b-qtl4t9y6mf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.modal-content[b-qtl4t9y6mf] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000;
    animation: modalSlideIn-b-qtl4t9y6mf 0.2s ease-out;
}

@keyframes modalSlideIn-b-qtl4t9y6mf {
    from {
        transform: translate(-50%, -50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) translateY(0);
        opacity: 1;
    }
}

.booking-modal[b-qtl4t9y6mf] {
    width: 480px;
    max-width: 90vw;
}

.registration-modal[b-qtl4t9y6mf] {
    width: 440px;
    max-width: 90vw;
}

.modal-header[b-qtl4t9y6mf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: none;
}

.modal-header h2[b-qtl4t9y6mf] {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.close-button[b-qtl4t9y6mf] {
    background: none;
    border: none;
    font-size: 20px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.close-button:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
    color: #111827;
}

.modal-body[b-qtl4t9y6mf] {
    padding: 0;
}

.modal-footer[b-qtl4t9y6mf] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
    margin-top: 20px;
    border-top: none;
    background: transparent;
}

/* ============= LOCKED INFO ============= */
.locked-info[b-qtl4t9y6mf] {
    background: #F3F4F6;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.info-row[b-qtl4t9y6mf] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.info-row:last-child[b-qtl4t9y6mf] {
    margin-bottom: 0;
}

.info-row .label[b-qtl4t9y6mf] {
    font-size: 14px;
    color: #6B7280;
}

.info-row .value[b-qtl4t9y6mf] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* ============= FORM ============= */
.form-group[b-qtl4t9y6mf] {
    margin-bottom: 16px;
}

.form-group label[b-qtl4t9y6mf] {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.required[b-qtl4t9y6mf] {
    color: #EF4444;
}

.form-control[b-qtl4t9y6mf] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-control:focus[b-qtl4t9y6mf] {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control[b-qtl4t9y6mf]::placeholder {
    color: #9CA3AF;
}

textarea.form-control[b-qtl4t9y6mf] {
    resize: vertical;
    font-family: inherit;
}

.validation-error[b-qtl4t9y6mf] {
    display: block;
    font-size: 12px;
    color: #EF4444;
    margin-top: 4px;
}

/* ============= RADIO GROUP ============= */
.radio-group[b-qtl4t9y6mf] {
    display: flex;
    gap: 16px;
}

.radio-label[b-qtl4t9y6mf] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
}

.radio-label input[type="radio"][b-qtl4t9y6mf] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ============= SEARCH RESULTS ============= */
.search-loading[b-qtl4t9y6mf] {
    padding: 12px;
    text-align: center;
    color: #6B7280;
    font-size: 14px;
}

.search-results[b-qtl4t9y6mf] {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    margin-bottom: 16px;
}

.no-results[b-qtl4t9y6mf] {
    padding: 16px;
    text-align: center;
    color: #6B7280;
    font-size: 14px;
}

.search-result-item[b-qtl4t9y6mf] {
    padding: 12px;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.2s;
}

.search-result-item:last-child[b-qtl4t9y6mf] {
    border-bottom: none;
}

.search-result-item:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
}

.search-result-item.selected[b-qtl4t9y6mf] {
    background: #DBEAFE;
    border-left: 3px solid #3B82F6;
}

.patient-info[b-qtl4t9y6mf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.patient-name-search[b-qtl4t9y6mf] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.patient-details-search[b-qtl4t9y6mf] {
    font-size: 12px;
    color: #6B7280;
}

/* ============= CREATE PATIENT BUTTON ============= */
.create-patient-button[b-qtl4t9y6mf] {
    width: 100%;
    padding: 12px;
    background: white;
    border: 2px dashed #3B82F6;
    border-radius: 6px;
    color: #3B82F6;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.create-patient-button:hover[b-qtl4t9y6mf] {
    background: #EFF6FF;
}

.selected-patient-display[b-qtl4t9y6mf] {
    padding: 12px;
    background: #D1FAE5;
    border-left: 3px solid #10B981;
    border-radius: 6px;
    font-size: 14px;
    color: #065F46;
    margin-bottom: 16px;
}

/* ============= BUTTONS ============= */
.btn[b-qtl4t9y6mf] {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn:disabled[b-qtl4t9y6mf] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-qtl4t9y6mf] {
    background: #3B82F6;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-qtl4t9y6mf] {
    background: #2563EB;
}

.btn-secondary[b-qtl4t9y6mf] {
    background: white;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.btn-secondary:hover[b-qtl4t9y6mf] {
    background: #F3F4F6;
}

.register-button[b-qtl4t9y6mf] {
    background: #10B981 !important;
}

.register-button:hover:not(:disabled)[b-qtl4t9y6mf] {
    background: #059669 !important;
}

.success-message[b-qtl4t9y6mf] {
    padding: 12px;
    background: #D1FAE5;
    color: #065F46;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}

.error-message[b-qtl4t9y6mf] {
    padding: 12px;
    background: #FEE2E2;
    color: #DC2626;
    border-radius: 6px;
    margin-top: 12px;
    font-size: 14px;
}
/* Global Scheduler Styles - Applied to all child components */
.scheduler-container[b-qtl4t9y6mf]  .scheduler-grid,
[b-qtl4t9y6mf] .scheduler-grid {
    display: grid !important;
    gap: 1px !important;
    background: #E5E7EB !important;
}

[b-qtl4t9y6mf] .time-cell { height: 60px !important; background: #F9FAFB !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 13px !important; color: #6B7280 !important; border: 1px solid #E5E7EB !important; }

[b-qtl4t9y6mf] .available-cell { height: 60px !important; background: #D1FAE5 !important; border: 1px solid #10B981 !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 28px !important; color: #10B981 !important; width: 100% !important; }

[b-qtl4t9y6mf] .available-cell:hover { background: #A7F3D0 !important; }

[b-qtl4t9y6mf] .unavailable-cell { height: 60px !important; background: #F3F4F6 !important; border: 1px solid #E5E7EB !important; }

[b-qtl4t9y6mf] .appointment-card { height: 60px !important; background: white !important; border-left: 4px solid #3B82F6 !important; padding: 8px !important; }

[b-qtl4t9y6mf] .status-planned { border-left-color: #3B82F6 !important; background: #DBEAFE !important; }
[b-qtl4t9y6mf] .status-arrived { border-left-color: #F59E0B !important; background: #FEF08A !important; }
[b-qtl4t9y6mf] .status-inchair { border-left-color: #8B5CF6 !important; background: #DDD6FE !important; }
[b-qtl4t9y6mf] .status-completed { border-left-color: #10B981 !important; background: #DCFCE7 !important; }
/* _content/DentalPMS.Web/Components/Scheduler/AppointmentCard.razor.rz.scp.css */
/* Appointment Card Styles */
.appointment-card[b-j73uj3qzwn] {
    background: white;
    border: 1px solid #E5E7EB;
    border-left: 3px solid #3B82F6;
    border-top: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.appointment-card:hover[b-j73uj3qzwn] {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    z-index: 5;
}

.card-content[b-j73uj3qzwn] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 24px;
}

.patient-name[b-j73uj3qzwn] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.appointment-reason[b-j73uj3qzwn] {
    font-size: 12px;
    color: #6B7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge[b-j73uj3qzwn] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    width: fit-content;
}

/* Status Card Colors */
.status-planned[b-j73uj3qzwn] {
    background: #DBEAFE;
    border-left-color: #3B82F6 !important;
}

.status-arrived[b-j73uj3qzwn] {
    background: #FEF08A;
    border-left-color: #F59E0B !important;
}

.status-inchair[b-j73uj3qzwn] {
    background: #DDD6FE;
    border-left-color: #8B5CF6 !important;
}

.status-completed[b-j73uj3qzwn] {
    background: #DCFCE7;
    border-left-color: #10B981 !important;
}

/* Status Badge Colors */
.badge-planned[b-j73uj3qzwn] {
    background: #DBEAFE;
    color: #1E40AF;
}

.badge-arrived[b-j73uj3qzwn] {
    background: #FEF3C7;
    color: #92400E;
}

.badge-inchair[b-j73uj3qzwn] {
    background: #EDE9FE;
    color: #6B21A8;
}

.badge-completed[b-j73uj3qzwn] {
    background: #D1FAE5;
    color: #065F46;
}

.details-button[b-j73uj3qzwn] {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border: 1px solid #D1D5DB;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 2;
}

.details-button:hover[b-j73uj3qzwn] {
    background: #F3F4F6;
    border-color: #9CA3AF;
    color: #111827;
}
/* _content/DentalPMS.Web/Components/Scheduler/AvailableCell.razor.rz.scp.css */
/* Available Cell Styles - border and font-size moved to site.css for global override */
.available-cell[b-nryevmm45m] {
    height: 60px;
    background: #D1FAE5;
    /* border controlled by global site.css */
    border-left: 1px solid #E5E7EB;
    border-top: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    /* font-size controlled by global site.css */
    font-weight: 600;
    color: #10B981;
    padding: 0;
    width: 100%;
}

.available-cell:hover[b-nryevmm45m] {
    background: #A7F3D0;
    transform: scale(1.02);
    z-index: 5;
}

.plus-icon[b-nryevmm45m] {
    /* font-size inherited from parent .available-cell (controlled by global site.css) */
    color: #10B981;
    opacity: 0.5;
    transition: opacity 0.2s;
    pointer-events: none;
    user-select: none;
}

.available-cell:hover .plus-icon[b-nryevmm45m] {
    opacity: 1;
}
/* _content/DentalPMS.Web/Components/Scheduler/SchedulerGrid.razor.rz.scp.css */
/* Container for sticky headers to work */
.scheduler-grid-container[b-9k7u4vlvtv] {
    height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    background: #E5E7EB;
}

.grid-wrapper[b-9k7u4vlvtv] {
    min-width: 100%;
    display: inline-block;
}

/* SchedulerGrid */
.scheduler-grid[b-9k7u4vlvtv] {
    display: grid !important;
    gap: 1px;
    background: #E5E7EB;
    width: 100%;
}

.grid-header[b-9k7u4vlvtv] {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 2px solid #E5E7EB;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    z-index: 10;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-header[b-9k7u4vlvtv] {
    text-align: center;
    position: sticky;
    left: 0;
    z-index: 20;
    background: #F9FAFB;
}

.doctor-header[b-9k7u4vlvtv] {
    text-align: center;
    border-left: 1px solid #E5E7EB;
}

.doctor-name[b-9k7u4vlvtv] {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.time-cell[b-9k7u4vlvtv] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-top: none;
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
}
/* _content/DentalPMS.Web/Components/Scheduler/UnavailableCell.razor.rz.scp.css */
/* Unavailable Cell Styles */
.unavailable-cell[b-uvn07c4li0] {
    height: 60px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-left: 1px solid #E5E7EB;
    border-top: none;
    opacity: 0.6;
}
/* _content/DentalPMS.Web/Pages/Patients/PatientProfile.razor.rz.scp.css */
/* Patient Profile Styles */
/* Using inline Tailwind utility classes for main styling */

/* Ensure form inputs have proper styling */
input[type="text"][b-uyvdal952w],
input[type="tel"][b-uyvdal952w],
input[type="email"][b-uyvdal952w],
input[type="date"][b-uyvdal952w],
textarea[b-uyvdal952w],
select[b-uyvdal952w] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Remove default number input spinner */
input[type="number"][b-uyvdal952w]::-webkit-outer-spin-button,
input[type="number"][b-uyvdal952w]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"][b-uyvdal952w] {
    -moz-appearance: textfield;
}

/* Radio button styling */
input[type="radio"][b-uyvdal952w] {
    cursor: pointer;
}

/* Responsive utilities */
@media (max-width: 1024px) {
    .grid[b-uyvdal952w] {
        grid-template-columns: 1fr !important;
    }
}

