/* Text-based inputs only - excludes checkbox, radio, file, range etc. */
input:not([type="checkbox"]):not([type="file"]):not(
        [type="range"]
    ):not([type="color"]):not([type="hidden"]) {
    height: 52px !important;
    background: #eeeeee !important;
    border: 1.5px solid #dfdfdf !important;
    border-radius: 0.775rem 1rem !important;
    padding: 0 16px !important;
    color: #4b5675 !important;
    display: flex;
    align-items: center !important;
    transition: color 0.2s ease;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Modern Checkbox Styling */
input[type="checkbox"].form-check-input {
    width: 20px;
    height: 20px !important;
    margin-top: 0.15em;
    border: 2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #fff !important;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    flex-shrink: 0;
}

input[type="checkbox"].form-check-input:hover {
    border-color: #4f46e5 !important;
    background: #f8fafc !important;
}

input[type="checkbox"].form-check-input:checked {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
    border-color: #4f46e5 !important;
}

input[type="checkbox"].form-check-input:checked::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

input[type="checkbox"].form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
    outline: none;
}

.btn-modal-cancel::before,
.btn-modal-cancel::after {
    content: none;
}
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
}

.lab-main-image {
    width: 570px;
    height: 330px;
    object-fit: cover;
    object-position: center;
}

.lab-main-image.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

#labGalleryWrapper img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center;
}

.is-invalid {
    border: 2px solid #dc3545 !important;
}

.select2-container--default .select2-selection--single.is-invalid {
    border: 2px solid #dc3545 !important;
}

.btn-group .btn-check:checked + .btn-group-filter {
    background: linear-gradient(
        135deg,
        rgba(236, 57, 118, 0.86) 0%,
        #e95085 100%
    );
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-group .btn-group-filter {
    border: 1px solid #e0e0e0;
    color: #4a5568;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.btn-group .btn-group-filter::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-group .btn-group-filter:hover::before {
    left: 100%;
}

.important-round-5 {
    border-radius: 5px !important;
}

.important-round-10 {
    border-radius: 10px !important;
}

.important-round-15 {
    border-radius: 15px !important;
}

.important-round-20 {
    border-radius: 20px !important;
}

/* User Dropdown Menu - Menü Stili ile Uyumlu */
.option-item-has-children {
    position: relative;
}

.option-item-has-children .option-subs {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.option-item-has-children:hover .option-subs {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option-subs li {
    list-style: none;
}

.option-subs li a {
    display: block;
    padding: 10px 20px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.option-subs li a:hover {
    background: #f8f9fa;
    color: #00d4a0;
    padding-left: 25px;
}

.option-subs li a.text-danger {
    color: #dc3545;
}

.option-subs li a.text-danger:hover {
    background: #fff5f5;
    color: #c82333;
}

.option-subs li a i {
    font-size: 16px;
}

/* Dark Theme Support */
.dark-theme .option-item-has-children .option-subs {
    background: #1a1a1a;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.dark-theme .option-subs li a {
    color: #fff;
}

.dark-theme .option-subs li a:hover {
    background: #2a2a2a;
}

.dark-theme .option-subs li a.text-danger {
    color: #ff6b6b;
}

.dark-theme .option-subs li a.text-danger:hover {
    background: #2a1a1a;
    color: #ff5252;
}

/* Lab Card Image Fixed Height */
.hospital-card .hospital-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.hospital-card .hospital-img img.lab-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hospital-card .hospital-img {
        height: 240px;
    }
}

@media (max-width: 575px) {
    .hospital-card .hospital-img {
        height: 200px;
    }
}

/* ========================================================== */
/* ========== MODERN CHECKBOX & RADIO STYLES ================ */
/* ========================================================== */

/* CSS Variables for Checkboxes */
:root {
    --cb-primary: #4f46e5;
    --cb-primary-light: #6366f1;
    --cb-primary-dark: #4338ca;
    --cb-border: #cbd5e1;
    --cb-bg: #f8fafc;
    --cb-text: #334155;
    --cb-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    --cb-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Filter Radio Group Container */
.filter-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Checkbox/Radio Item Container */
.filter-radio-group .denttolab-checkbox {
    position: relative;
    padding-left: 0 !important;
    margin: 0;
}

/* Hide default input */
.filter-radio-group .denttolab-checkbox input[type="radio"],
.filter-radio-group .denttolab-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Label */
.filter-radio-group .denttolab-checkbox label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--cb-bg) 100%);
    border: 1.5px solid var(--cb-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--cb-text);
    transition: var(--cb-transition);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on hover */
.filter-radio-group .denttolab-checkbox label::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(79, 70, 229, 0.05),
        transparent
    );
    transition: left 0.5s;
}

.filter-radio-group .denttolab-checkbox label:hover::before {
    left: 100%;
}

/* Custom checkbox/radio indicator */
.filter-radio-group .denttolab-checkbox label::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--cb-border);
    border-radius: 50%;
    background: #fff;
    transition: var(--cb-transition);
}

/* Hover state - NO translateX */
.filter-radio-group .denttolab-checkbox label:hover {
    border-color: var(--cb-primary-light);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.filter-radio-group .denttolab-checkbox label:hover::after {
    border-color: var(--cb-primary-light);
}

/* Checked state */
.filter-radio-group .denttolab-checkbox input:checked + label {
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.08) 0%,
        rgba(99, 102, 241, 0.12) 100%
    );
    border-color: var(--cb-primary);
    color: var(--cb-primary-dark);
}

.filter-radio-group .denttolab-checkbox input:checked + label::after {
    background: linear-gradient(
        135deg,
        var(--cb-primary) 0%,
        var(--cb-primary-dark) 100%
    );
    border-color: var(--cb-primary);
    box-shadow: var(--cb-shadow);
}

/* Checkmark icon for radio */
.filter-radio-group
    .denttolab-checkbox
    input[type="radio"]:checked
    + label::after {
    background: linear-gradient(
        135deg,
        var(--cb-primary) 0%,
        var(--cb-primary-dark) 100%
    );
    box-shadow:
        inset 0 0 0 4px #fff,
        var(--cb-shadow);
}

/* Checkmark icon for checkbox */
.filter-radio-group
    .denttolab-checkbox
    input[type="checkbox"]:checked
    + label::after {
    border-radius: 6px;
    background: linear-gradient(
        135deg,
        var(--cb-primary) 0%,
        var(--cb-primary-dark) 100%
    ) !important;
    box-shadow: var(--cb-shadow);
}

.filter-radio-group
    .denttolab-checkbox
    input[type="checkbox"]:checked
    + label::before {
    content: "✓";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    background: transparent;
    left: auto;
}

/* Focus state for accessibility */
.filter-radio-group .denttolab-checkbox input:focus + label {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Rating stars special styling */
.filter-radio-group .denttolab-checkbox label .ri-star-fill {
    color: #fbbf24;
    font-size: 16px;
    margin-right: 2px;
}

/* Disabled state */
.filter-radio-group .denttolab-checkbox input:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.filter-radio-group .denttolab-checkbox input:disabled + label:hover {
    border-color: var(--cb-border);
}

/* Animation for selection */
@keyframes checkPulse {
    0% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.filter-radio-group .denttolab-checkbox input:checked + label::after {
    animation: checkPulse 0.3s ease-out;
}

/* ========================================================== */
/* ========== MODERN ACCORDION STYLES ======================= */
/* ========================================================== */

.requests-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.requests-accordion .accordion-item {
    position: relative;
    border: 1px solid rgba(37, 39, 96, 0.08);
    border-radius: 20px;
    background-color: var(--whiteColor);
    box-shadow: 0 24px 55px rgba(37, 39, 96, 0.08);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.requests-accordion .accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 65px rgba(37, 39, 96, 0.12);
}
.requests-accordion .accordion-button {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 1.75rem 2rem;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: var(--titleColor);
    box-shadow: none;
    transition:
        background 0.4s ease,
        box-shadow 0.3s ease;
}
.requests-accordion .accordion-button:not(.collapsed) {
    background: rgba(233, 80, 133, 0.06);
}
.requests-accordion .accordion-button:focus {
    box-shadow: none;
}
.requests-accordion .accordion-button::after {
    display: none;
}
.requests-accordion__indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    background-color: var(--ashColor);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.requests-accordion__indicator::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition:
        border 0.3s ease,
        transform 0.3s ease;
}
.requests-accordion
    .accordion-button:not(.collapsed)
    .requests-accordion__indicator {
    transform: scale(1.05);
}
.requests-accordion
    .accordion-button:not(.collapsed)
    .requests-accordion__indicator::after {
    transform: scale(1.1);
}
.requests-accordion__indicator.is-pending {
    background: #f9b74f;
}
.requests-accordion__indicator.is-pending::after {
    border-color: rgba(249, 183, 79, 0.35);
}
.requests-accordion__indicator.is-approved {
    background: #40c57a;
}
.requests-accordion__indicator.is-approved::after {
    border-color: rgba(64, 197, 122, 0.32);
}
.requests-accordion__indicator.is-rejected {
    background: #e95085;
}
.requests-accordion__indicator.is-rejected::after {
    border-color: rgba(233, 80, 133, 0.35);
}
.requests-accordion__indicator.is-cancelled {
    background: #ff8064;
}
.requests-accordion__indicator.is-cancelled::after {
    border-color: rgba(255, 128, 100, 0.35);
}
.requests-accordion__indicator.is-completed {
    background: #6366f1;
}
.requests-accordion__indicator.is-completed::after {
    border-color: rgba(99, 102, 241, 0.35);
}
.requests-accordion__indicator.is-default {
    background: var(--optionalColor);
}
.requests-accordion__indicator.is-default::after {
    border-color: rgba(37, 39, 96, 0.25);
}
.requests-accordion__meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
    min-width: 200px;
}
.requests-accordion__title {
    font-size: 1.1rem;
    color: var(--titleColor);
}
.requests-accordion__lab-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--paraColor);
}
.requests-accordion__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--paraColor);
}
.requests-accordion__details span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.requests-accordion__status {
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        color 0.3s ease;
}
.requests-accordion__status.status--pending {
    background: rgba(249, 183, 79, 0.18);
    color: #c6751e;
}
.requests-accordion__status.status--approved {
    background: rgba(64, 197, 122, 0.18);
    color: #1e7f4b;
}
.requests-accordion__status.status--rejected {
    background: rgba(233, 80, 133, 0.2);
    color: var(--secondaryColor);
}
.requests-accordion__status.status--cancelled {
    background: rgba(255, 128, 100, 0.18);
    color: #c24c2e;
}
.requests-accordion__status.status--completed {
    background: rgba(99, 102, 241, 0.18);
    color: #4338ca;
}
.requests-accordion__status.status--default {
    background: rgba(37, 39, 96, 0.12);
    color: var(--primaryColor);
}
.requests-accordion__chevron {
    font-size: 1.4rem;
    color: var(--primaryColor);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.requests-accordion
    .accordion-button[aria-expanded="true"]
    .requests-accordion__chevron {
    transform: rotate(-180deg);
}
.requests-accordion__body {
    padding: 2rem 2.1rem;
    background-color: var(--whiteColor);
    border-top: 1px solid rgba(37, 39, 96, 0.08);
}
.requests-accordion__section + .requests-accordion__section {
    margin-top: 1.8rem;
}
.requests-accordion__section-title {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--primaryColor);
    margin-bottom: 0.75rem;
}
.requests-accordion__description {
    color: var(--paraColor);
    line-height: 1.6;
}
.requests-accordion__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.requests-accordion__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: var(--ashColor);
    color: var(--titleColor);
    font-size: 0.85rem;
}
.requests-accordion__pill i {
    font-size: 1.1rem;
    color: var(--secondaryColor);
}
.requests-accordion__lab-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: rgba(37, 39, 96, 0.04);
    border-radius: 12px;
    margin-bottom: 1rem;
}
.requests-accordion__lab-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.requests-accordion__lab-detail-label {
    font-size: 0.75rem;
    color: var(--primaryColor);
    letter-spacing: 0.05em;
}
.requests-accordion__lab-detail-value {
    font-size: 0.9rem;
    color: var(--titleColor);
}
.requests-accordion__lab-detail-value a {
    color: var(--secondaryColor);
    text-decoration: none;
    transition: opacity 0.3s ease;
}
.requests-accordion__lab-detail-value a:hover {
    opacity: 0.8;
    text-decoration: underline;
}
.requests-accordion__dentures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}
.requests-accordion__dentures-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.95rem 1.1rem;
    border-radius: 14px;
    background: var(--ashColor);
    border: 1px solid rgba(37, 39, 96, 0.08);
}
.requests-accordion__dentures-name {
    color: var(--titleColor);
}
.requests-accordion__dentures-type {
    font-size: 0.85rem;
    color: var(--paraColor);
}
.requests-accordion__timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(37, 39, 96, 0.04);
    border-radius: 12px;
}
.requests-accordion__timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.requests-accordion__timeline-label {
    font-size: 0.85rem;
    color: var(--paraColor);
    white-space: nowrap;
}
.requests-accordion__timeline-value {
    font-size: 0.85rem;
    color: var(--titleColor);
}
.requests-accordion__empty {
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px dashed rgba(37, 39, 96, 0.22);
    background: var(--whiteColor);
    box-shadow: 0 20px 45px rgba(37, 39, 96, 0.08);
}
.requests-accordion__empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(233, 80, 133, 0.12);
    color: var(--secondaryColor);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 1rem;
}
@media (max-width: 991px) {
    .requests-accordion .accordion-button {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .requests-accordion__status {
        margin-left: 2.2rem;
    }
}
@media (max-width: 575px) {
    .requests-accordion .accordion-button {
        padding: 1.5rem 1.5rem;
        gap: 0.8rem;
    }
    .requests-accordion__body {
        padding: 1.75rem 1.5rem;
    }
    .requests-accordion__status {
        margin-left: 0;
    }
    .requests-accordion__lab-details {
        grid-template-columns: 1fr;
    }
    .requests-accordion__title {
        font-size: 0.95rem;
    }
}
.dark-theme .requests-accordion .accordion-item {
    background-color: rgba(18, 19, 27, 0.92);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}
.dark-theme .requests-accordion .accordion-button {
    color: var(--whiteColor);
}
.dark-theme .requests-accordion .accordion-button:not(.collapsed) {
    background: rgba(233, 80, 133, 0.1);
}
.dark-theme .requests-accordion__details {
    color: rgba(255, 255, 255, 0.7);
}
.dark-theme .requests-accordion__chevron {
    color: var(--whiteColor);
}
.dark-theme .requests-accordion__body {
    background: rgba(18, 19, 27, 0.92);
    border-top-color: rgba(255, 255, 255, 0.12);
}
.dark-theme .requests-accordion__pill {
    background: rgba(255, 255, 255, 0.08);
    color: var(--whiteColor);
}
.dark-theme .requests-accordion__pill i {
    color: var(--whiteColor);
}
.dark-theme .requests-accordion__dentures-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.dark-theme .requests-accordion__dentures-type {
    color: rgba(255, 255, 255, 0.7);
}
.dark-theme .requests-accordion__lab-details {
    background: rgba(255, 255, 255, 0.05);
}
.dark-theme .requests-accordion__timeline {
    background: rgba(255, 255, 255, 0.05);
}
.dark-theme .requests-accordion__timeline-value {
    color: var(--whiteColor);
}
.dark-theme .requests-accordion__empty {
    background: rgba(18, 19, 27, 0.92);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}
.dark-theme .requests-accordion__empty-icon {
    background: rgba(233, 80, 133, 0.22);
    color: var(--whiteColor);
}

/* ========================================================== */
/* ========== DENTIST MODAL STYLES ========================== */
/* ========================================================== */

.dentist-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dentist-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.dentist-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    position: relative;
}

.dentist-modal-overlay.active .dentist-modal {
    transform: translateY(0);
}

.dentist-modal-sm {
    max-width: 400px;
}

.dentist-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f8f9fa;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    color: #6c757d;
}

.dentist-modal-close:hover {
    background: #e9ecef;
    color: #495057;
    transform: rotate(90deg);
}

.dentist-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.dentist-modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(
        135deg,
        #e95085 0%,
        rgba(236, 57, 118, 0.86) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.dentist-modal-icon-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.dentist-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.dentist-modal-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Dentist Form Groups */
.dentist-form-group {
    margin-bottom: 20px;
}

.dentist-form-group label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}

.dentist-form-group label .required {
    color: #dc3545;
    margin-left: 2px;
}

.dentist-form-group input {
    width: 100%;
    height: 50px;
    padding-left: 16px;
    padding-right: 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    outline: none;
}

.dentist-form-group input:focus {
    border-color: #e95085;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(233, 80, 133, 0.1);
}

.dentist-form-group input.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.dentist-form-group .invalid-feedback {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

/* Dentist Action Buttons */
.dentist-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.dentist-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dentist-btn-primary {
    background: linear-gradient(
        135deg,
        #e95085 0%,
        rgba(236, 57, 118, 0.86) 100%
    );
    color: #fff;
}

.dentist-btn-primary:hover:not(:disabled) {
    box-shadow: 0 8px 20px rgba(233, 80, 133, 0.4);
    transform: translateY(-2px);
}

.dentist-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dentist-btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e9ecef;
}

.dentist-btn-secondary:hover {
    background: #e9ecef;
}

.dentist-btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.dentist-btn-danger:hover:not(:disabled) {
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

.dentist-delete-warning {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Dentist Button Loading State */
.dentist-btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dentist-spin 0.6s linear infinite;
    display: none;
}

.dentist-btn.loading .spinner {
    display: inline-block;
}

.dentist-btn.loading .btn-text {
    display: none;
}

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

/* Dentist Section */
.dentist-section {
    margin-top: 30px;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f3f5;
}

.dentist-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f3f5;
}

.dentist-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #2b3a4a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dentist-section-title i {
    color: #e95085;
    font-size: 22px;
}

.btn-add-dentist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #e95085 0%, #ec3976 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add-dentist:hover {
    box-shadow: 0 4px 12px rgba(233, 80, 133, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

.btn-add-dentist i {
    font-size: 18px;
}

/* Dentist Table */
.dentist-table-wrapper {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.dentist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dentist-table th {
    background: #f8faff;
    font-weight: 600;
    color: #5c677d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 12px 20px;
    border-bottom: 2px solid #edf2f7;
    text-align: left;
}

.dentist-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #4a5568;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.dentist-table tbody tr {
    transition: background-color 0.2s ease;
}

.dentist-table tbody tr:hover {
    background-color: #fcfdfe;
}

.dentist-table tbody tr:last-child td {
    border-bottom: none;
}

/* Dentist Table Action Buttons */
.dentist-action-btns {
    display: flex;
    gap: 10px;
}

.btn-dentist-action {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.btn-dentist-edit {
    background: #f0f7ff;
    color: #3182ce;
}

.btn-dentist-edit:hover {
    background: #3182ce;
    color: #fff;
    transform: scale(1.05);
}

.btn-dentist-delete {
    background: #fff5f5;
    color: #e53e3e;
}

.btn-dentist-delete:hover {
    background: #e53e3e;
    color: #fff;
    transform: scale(1.05);
}

/* Dentist Empty State */
.dentist-empty {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.dentist-empty-icon {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 15px;
}

.dentist-empty-text {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Dentist Loading State */
.dentist-loading {
    text-align: center;
    padding: 40px;
}

.dentist-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e9ecef;
    border-top-color: #e95085;
    border-radius: 50%;
    animation: dentist-spin 0.8s linear infinite;
    margin: 0 auto 15px;
}

/* Dentist Responsive */
@media (max-width: 768px) {
    .dentist-modal {
        padding: 25px 20px;
    }

    .dentist-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dentist-table-wrapper {
        overflow-x: auto;
    }

    .dentist-table {
        min-width: 500px;
    }

    .dentist-actions {
        flex-direction: column;
    }
}

/* Dentist Dark Theme Support */
.dark-theme .dentist-modal {
    background: #1a1a1a;
}

.dark-theme .dentist-modal-title {
    color: #fff;
}

.dark-theme .dentist-modal-subtitle {
    color: #adb5bd;
}

.dark-theme .dentist-modal-close {
    background: #2a2a2a;
    color: #adb5bd;
}

.dark-theme .dentist-modal-close:hover {
    background: #3a3a3a;
    color: #fff;
}

.dark-theme .dentist-form-group label {
    color: #e9ecef;
}

.dark-theme .dentist-form-group input {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #fff;
}

.dark-theme .dentist-form-group input:focus {
    background: #1a1a1a;
}

.dark-theme .dentist-btn-secondary {
    background: #2a2a2a;
    border-color: #3a3a3a;
    color: #adb5bd;
}

.dark-theme .dentist-btn-secondary:hover {
    background: #3a3a3a;
}

.dark-theme .dentist-section {
    background: #1a222c;
    border-color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.dark-theme .dentist-section-header {
    border-bottom-color: #2d3748;
}

.dark-theme .dentist-section-title {
    color: #e2e8f0;
}

.dark-theme .dentist-table-wrapper {
    background: #1a222c;
}

.dark-theme .dentist-table th {
    background: #2d3748;
    color: #cbd5e0;
    border-bottom-color: #4a5568;
}

.dark-theme .dentist-table td {
    color: #a0aec0;
    border-bottom-color: #2d3748;
}

.dark-theme .dentist-table tbody tr:hover {
    background-color: #242f3d;
}

.dark-theme .btn-dentist-edit {
    background: #1e3a5a;
    color: #63b3ed;
}

.dark-theme .btn-dentist-delete {
    background: #4a2020;
    color: #f56565;
}

.dark-theme .dentist-table td {
    color: #adb5bd;
    border-bottom-color: #3a3a3a;
}

.dark-theme .dentist-table tbody tr:hover {
    background: #2a2a2a;
}

.dark-theme .dentist-delete-warning {
    color: #adb5bd;
}

/* ========================================================== */
/* ========== BADGE STYLES ================================== */
/* ========================================================== */

.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 6px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-secondary {
    background: #6c757d;
    color: #fff;
}

.badge-info {
    background: #00ba9d;
    color: #fff;
}

.badge-primary {
    background: #2b70fa;
    color: #fff;
}

.badge-success {
    background: #198754;
    color: #fff;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-danger {
    background: #dc3545;
    color: #fff;
}

/* Dark Theme Badge Overrides */
.dark-theme .badge-secondary {
    background: rgba(108, 117, 125, 0.2);
    color: #adb5bd;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.dark-theme .badge-info {
    background: rgba(0, 186, 157, 0.15);
    color: #00ba9d;
    border: 1px solid rgba(0, 186, 157, 0.3);
}

.dark-theme .badge-primary {
    background: rgba(43, 112, 250, 0.15);
    color: #2b70fa;
    border: 1px solid rgba(43, 112, 250, 0.3);
}

.dark-theme .badge-success {
    background: rgba(25, 135, 84, 0.15);
    color: #34c38f;
    border: 1px solid rgba(25, 135, 84, 0.3);
}

.dark-theme .badge-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #f1b44c;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.dark-theme .badge-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #f46a6a;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.iti {
    width: 100%;
}

.iti__flag-container {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.iti--allow-dropdown {
    width: 100%;
}

#phoneNumber {
    padding-left: 95px !important; /* Adjust based on dial code visibility */
}

/* Dark mode support if applicable */
.dark-theme .iti__country-list {
    background-color: #1a1a1a;
    color: #fff;
}

#password-strength-meter {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================== */
/* ========== SWEETALERT2 TOAST — Premium Overrides ========== */
/* ========================================================== */

/* --- Toast Popup Container --- */
.denttolab-swal-toast.swal2-popup.swal2-toast {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08);
    gap: 10px;
    min-width: 280px;
    max-width: 420px;
}

/* --- Toast Title --- */
.denttolab-swal-toast__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* --- Toast Message (html-container) --- */
.denttolab-swal-toast .swal2-html-container {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    margin: 2px 0 0 0 !important;
    opacity: 0.9;
}

/* --- Toast Icon --- */
.denttolab-swal-toast .swal2-icon {
    margin: 0 !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    border-width: 2px !important;
}

.denttolab-swal-toast .swal2-icon .swal2-icon-content {
    font-size: 16px !important;
}

/* --- Close Button --- */
.denttolab-swal-toast__close.swal2-close {
    font-size: 20px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: color 0.2s ease;
    align-self: flex-start;
    margin-top: 2px;
}

.denttolab-swal-toast__close.swal2-close:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* --- Timer Progress Bar --- */
.denttolab-swal-toast__progress {
    height: 3px !important;
    border-radius: 0 0 12px 12px;
}

.denttolab-swal-toast .swal2-timer-progress-bar {
    background: rgba(255, 255, 255, 0.4) !important;
}

/* --- Toast Entry/Exit Animation --- */
.swal2-popup.swal2-toast.swal2-show {
    animation: swalToastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.swal2-popup.swal2-toast.swal2-hide {
    animation: swalToastOut 0.3s cubic-bezier(0.4, 0, 1, 1) !important;
}

@keyframes swalToastIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes swalToastOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-16px) scale(0.96);
    }
}

/* --- Responsive — Mobile --- */
@media (max-width: 568px) {
    .denttolab-swal-toast.swal2-popup.swal2-toast {
        min-width: unset;
        max-width: calc(100vw - 24px);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .denttolab-swal-toast .swal2-icon {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
    }

    .denttolab-swal-toast .swal2-icon .swal2-icon-content {
        font-size: 14px !important;
    }

    .denttolab-swal-toast__title {
        font-size: 13px !important;
    }

    .denttolab-swal-toast .swal2-html-container {
        font-size: 12px !important;
    }
}

/* --- Print: hide toasts --- */
@media print {
    .swal2-container {
        display: none !important;
    }
}

