@import '_content/Dive365.Shared.UI/Dive365.Shared.UI.59w2unxhd8.bundle.scp.css';

/* /Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-15k55kijbd],
.components-reconnect-repeated-attempt-visible[b-15k55kijbd],
.components-reconnect-failed-visible[b-15k55kijbd],
.components-pause-visible[b-15k55kijbd],
.components-resume-failed-visible[b-15k55kijbd],
.components-rejoining-animation[b-15k55kijbd],
.components-reconnect-icon[b-15k55kijbd] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-15k55kijbd] {
    display: block;
}

#components-reconnect-modal.components-reconnect-failed[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-15k55kijbd],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-icon[b-15k55kijbd] {
    display: block;
}

#components-reconnect-modal[b-15k55kijbd] {
    width: 22rem;
    margin: 20vh auto;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.25);
    overflow: hidden;
    opacity: 0;
    animation: reconnect-fadeOut-b-15k55kijbd 0.4s both;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    #components-reconnect-modal[b-15k55kijbd] {
        border-color: rgba(255,255,255,0.10);
        background: #1e293b;
    }
}

.dark #components-reconnect-modal[b-15k55kijbd] {
    border-color: rgba(255,255,255,0.10);
    background: #1e293b;
}

#components-reconnect-modal[open][b-15k55kijbd] {
    animation: reconnect-slideUp-b-15k55kijbd 0.5s cubic-bezier(.05,.89,.25,1.02) 0.2s,
               reconnect-fadeIn-b-15k55kijbd  0.4s ease-in-out 0.2s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-15k55kijbd]::backdrop {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    animation: reconnect-fadeIn-b-15k55kijbd 0.4s ease-in-out;
    opacity: 1;
}

.components-reconnect-container[b-15k55kijbd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    font-family: Karla, "Segoe UI", sans-serif;
    color: #1e293b;
}

@media (prefers-color-scheme: dark) {
    .components-reconnect-container[b-15k55kijbd] { color: #f1f5f9; }
    #components-reconnect-modal p[b-15k55kijbd]   { color: #94a3b8; }
}

.dark .components-reconnect-container[b-15k55kijbd] { color: #f1f5f9; }
.dark #components-reconnect-modal p[b-15k55kijbd]   { color: #94a3b8; }

#components-reconnect-modal p[b-15k55kijbd] {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #475569;
}

/* Blue accent header stripe */
.components-reconnect-container[b-15k55kijbd]::before {
    content: "";
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: #0074d9;
    border-radius: 1rem 1rem 0 0;
}

/* Icon */
.components-reconnect-icon svg[b-15k55kijbd] {
    width: 2.5rem;
    height: 2.5rem;
    color: #0074d9;
}

/* Buttons */
#components-reconnect-modal button[b-15k55kijbd] {
    border: none;
    background: #0074d9;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

#components-reconnect-modal button:hover[b-15k55kijbd]  { background: #005cad; }
#components-reconnect-modal button:active[b-15k55kijbd] { background: #0074d9; }

.components-rejoining-animation[b-15k55kijbd] {
    position: relative;
    width: 64px;
    height: 64px;
}

.components-rejoining-animation div[b-15k55kijbd] {
    position: absolute;
    border: 3px solid #0074d9;
    border-radius: 50%;
    opacity: 1;
    animation: reconnect-ripple-b-15k55kijbd 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-15k55kijbd] { animation-delay: -0.6s; }

@keyframes reconnect-ripple-b-15k55kijbd {
    0%   { top: 32px; left: 32px; width: 0;    height: 0;    opacity: 0; }
    5%   { top: 32px; left: 32px; width: 0;    height: 0;    opacity: 1; }
    100% { top: 0;    left: 0;    width: 64px; height: 64px; opacity: 0; }
}

@keyframes reconnect-slideUp-b-15k55kijbd {
    from { transform: translateY(24px) scale(0.97); }
    to   { transform: translateY(0)    scale(1);    }
}
@keyframes reconnect-fadeIn-b-15k55kijbd  { from { opacity: 0; } to { opacity: 1; } }
@keyframes reconnect-fadeOut-b-15k55kijbd { from { opacity: 1; } to { opacity: 0; } }
