@import '_content/Blazerp.Clinic/Blazerp.Clinic.o9506dtbwt.bundle.scp.css';

/* /Pages/ClinicFeedback.razor.rz.scp.css */
/* Toast enter animation for ClinicFeedback */
@keyframes feedback-toast-in-b-rqjjsvau5i {
    from {
        transform: translateY(1rem);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.feedback-toast-enter[b-rqjjsvau5i] {
    animation: feedback-toast-in-b-rqjjsvau5i 0.35s ease-out forwards;
}
/* /Shared/FeedbackLayout.razor.rz.scp.css */
/* FeedbackLayout shell — most chrome is Tailwind on the layout/page. */
/* /Shared/ReconnectModal.razor.rz.scp.css */
/* =============================================================================
   State Visibility Toggles for ReconnectModal
   ============================================================================= */

#components-reconnect-modal:not([open])[b-925dxyqgtf] {
    display: none !important;
}

.components-reconnect-first-attempt-visible[b-925dxyqgtf],
.components-reconnect-repeated-attempt-visible[b-925dxyqgtf],
.components-reconnect-failed-visible[b-925dxyqgtf],
.components-pause-visible[b-925dxyqgtf],
.components-resume-failed-visible[b-925dxyqgtf],
.components-rejoining-animation[b-925dxyqgtf] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-925dxyqgtf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-925dxyqgtf] {
    display: block;
}

/* Modal Dialog & Backdrop: modal dialog blocks all underlying UI */
#components-reconnect-modal[b-925dxyqgtf] {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background-color: #ffffff;
    width: min(90%, 24rem);
    margin: auto;
    padding: 2rem 1.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    font-family: inherit;
    text-align: center;
    color: #1e293b;
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#components-reconnect-modal[open][b-925dxyqgtf] {
    display: block !important;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Modal Backdrop covering full screen */
#components-reconnect-modal[b-925dxyqgtf]::backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: all;
}

/* Container */
.components-reconnect-container[b-925dxyqgtf] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Radar Pulse Animation */
.components-rejoining-animation[b-925dxyqgtf] {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.components-rejoining-animation div[b-925dxyqgtf] {
    position: absolute;
    inset: 0;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    animation: reconnectPulse-b-925dxyqgtf 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-925dxyqgtf] {
    animation-delay: -0.6s;
}

.reconnect-center-icon[b-925dxyqgtf] {
    position: relative;
    z-index: 2;
    font-size: 1.35rem;
    color: #2563eb;
    background: #eff6ff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.reconnect-error-icon[b-925dxyqgtf] {
    font-size: 2.25rem;
    color: #ef4444;
    margin-bottom: 0.75rem;
}

/* Typography */
.reconnect-title[b-925dxyqgtf] {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.reconnect-text[b-925dxyqgtf] {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.countdown-badge[b-925dxyqgtf] {
    display: inline-block;
    background: #f1f5f9;
    color: #2563eb;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
}

/* Action Buttons */
.components-reconnect-actions[b-925dxyqgtf] {
    display: none;
    gap: 0.625rem;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-retry[b-925dxyqgtf],
.btn-reload[b-925dxyqgtf] {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.btn-retry[b-925dxyqgtf] {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-retry:hover[b-925dxyqgtf] {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-reload[b-925dxyqgtf] {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.btn-reload:hover[b-925dxyqgtf] {
    background-color: #e2e8f0;
    transform: translateY(-1px);
}

/* Pulse Animation */
@keyframes reconnectPulse-b-925dxyqgtf {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

/* =============================================================================
   Dark Theme Support
   ============================================================================= */
:global(html.dark) #components-reconnect-modal[b-925dxyqgtf],
:global(.dark) #components-reconnect-modal[b-925dxyqgtf] {
    background-color: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    color: #f8fafc;
}

:global(html.dark) #components-reconnect-modal[b-925dxyqgtf]::backdrop,
:global(.dark) #components-reconnect-modal[b-925dxyqgtf]::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
}

:global(html.dark) .reconnect-title[b-925dxyqgtf],
:global(.dark) .reconnect-title[b-925dxyqgtf] {
    color: #f8fafc;
}

:global(html.dark) .reconnect-text[b-925dxyqgtf],
:global(.dark) .reconnect-text[b-925dxyqgtf] {
    color: #94a3b8;
}

:global(html.dark) .reconnect-center-icon[b-925dxyqgtf],
:global(.dark) .reconnect-center-icon[b-925dxyqgtf] {
    background-color: rgba(30, 58, 138, 0.4);
    color: #60a5fa;
}

:global(html.dark) .countdown-badge[b-925dxyqgtf],
:global(.dark) .countdown-badge[b-925dxyqgtf] {
    background-color: #1e293b;
    color: #60a5fa;
}

:global(html.dark) .btn-reload[b-925dxyqgtf],
:global(.dark) .btn-reload[b-925dxyqgtf] {
    background-color: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

:global(html.dark) .btn-reload:hover[b-925dxyqgtf],
:global(.dark) .btn-reload:hover[b-925dxyqgtf] {
    background-color: #334155;
}
