@import '_content/Platform.Core/Platform.Core.wgve4r6bzu.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ijdaavsc61] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ijdaavsc61] {
    flex: 1;
    /* A flex child won't shrink below its content without this: one wide table made the whole page scroll
       sideways and .table-responsive never got the chance to scroll the table instead */
    min-width: 0;
    background: #faf8f5;
    min-height: 100vh;
}

.sidebar[b-ijdaavsc61] {
    background: #ffffff;
    border-right: 1px solid #e5e2dd;
    box-shadow: 2px 0 20px rgba(107, 124, 107, 0.08);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-row[b-ijdaavsc61] {
    background: #faf8f5;
    border-bottom: 1px solid #e5e2dd;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row[b-ijdaavsc61]  a, .top-row[b-ijdaavsc61]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: #6b7c6b;
}

.top-row[b-ijdaavsc61]  a:hover, .top-row[b-ijdaavsc61]  .btn-link:hover {
    text-decoration: underline;
    color: #8a9a87;
}

.top-row[b-ijdaavsc61]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   MOBILE LAYOUT (under 768px)
   ===================================================== */
@media (max-width: 767.98px) {
    .page[b-ijdaavsc61] {
        flex-direction: column;
    }

    .sidebar[b-ijdaavsc61] {
        /* Must stay rendered so the fixed-position slide-in nav inside it can show */
        display: block;
        width: 0;
        height: 0;
        overflow: visible;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    main[b-ijdaavsc61] {
        padding-top: 60px; /* Space for mobile header */
    }

    .top-row[b-ijdaavsc61] {
        display: none; /* Using mobile header instead */
    }

    article[b-ijdaavsc61] {
        padding: 1rem !important;
    }

    /* Mobile nav overlay */
    .mobile-nav-backdrop[b-ijdaavsc61] {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-nav-backdrop.active[b-ijdaavsc61] {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile header */
    .mobile-header[b-ijdaavsc61] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(135deg, #f9f6f2 0%, #f5f2ed 50%, #f0ede8 100%);
        border-bottom: 1px solid #e5e2dd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }

    .mobile-header-logo[b-ijdaavsc61] {
        height: 36px;
        object-fit: contain;
    }

    .mobile-header-title[b-ijdaavsc61] {
        color: white;
        font-family: 'Quicksand', sans-serif;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .hamburger-btn[b-ijdaavsc61] {
        width: 44px;
        height: 44px;
        border: none;
        background: rgba(46, 125, 50, 0.08);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .hamburger-btn:hover[b-ijdaavsc61],
    .hamburger-btn:active[b-ijdaavsc61] {
        background: rgba(46, 125, 50, 0.16);
    }

    .hamburger-btn:focus-visible[b-ijdaavsc61] {
        outline: 2px solid #2e7d32;
        outline-offset: 2px;
        background: rgba(46, 125, 50, 0.16);
    }

    .hamburger-line[b-ijdaavsc61] {
        display: block;
        width: 22px;
        height: 2px;
        background: #2e7d32;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-btn.open .hamburger-line:nth-child(1)[b-ijdaavsc61] {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.open .hamburger-line:nth-child(2)[b-ijdaavsc61] {
        opacity: 0;
    }

    .hamburger-btn.open .hamburger-line:nth-child(3)[b-ijdaavsc61] {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* =====================================================
   TABLET AND DESKTOP (768px and up)
   ===================================================== */
@media (min-width: 768px) {
    .page[b-ijdaavsc61] {
        flex-direction: row;
    }

    .sidebar[b-ijdaavsc61] {
        display: block;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    main[b-ijdaavsc61] {
        padding-top: 0;
    }

    .top-row[b-ijdaavsc61] {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
    }

    .top-row.auth[b-ijdaavsc61]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ijdaavsc61], article[b-ijdaavsc61] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .top-row[b-ijdaavsc61]  a, .top-row[b-ijdaavsc61]  .btn-link {
        margin-left: 1.5rem;
    }

    /* Hide mobile elements on desktop */
    .mobile-header[b-ijdaavsc61],
    .mobile-nav-backdrop[b-ijdaavsc61] {
        display: none !important;
    }
}

#blazor-error-ui[b-ijdaavsc61] {
    color-scheme: light only;
    background: #d4a85c;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    color: #3d3d3d;
}

#blazor-error-ui .dismiss[b-ijdaavsc61] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Sidebar Container */
.sidebar-container[b-f7vhjzgkks] {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 280px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sidebar-container.collapsed[b-f7vhjzgkks] {
    width: 80px;
    /* No delay - shrink immediately, text fades with it */
}

/* Mobile toggler */
.navbar-toggler[b-f7vhjzgkks] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-f7vhjzgkks] {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Nav header with logo */
.nav-header[b-f7vhjzgkks] {
    min-height: auto;
    background: linear-gradient(135deg, #f9f6f2 0%, #f5f2ed 50%, #f0ede8 100%);
    box-shadow: 0 2px 8px rgba(107, 124, 107, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid #e8e5e0;
}

.logo-icon[b-f7vhjzgkks] {
    width: 100%;
    max-width: 150px;   /* was 220px: the header band was too tall */
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(90, 95, 74, 0.15));
}

.logo-flower-icon[b-f7vhjzgkks] {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(90, 95, 74, 0.2));
}

.logo-flower-icon:hover[b-f7vhjzgkks] {
    transform: scale(1.08);
}

.sidebar-container.collapsed .logo-icon[b-f7vhjzgkks] {
    width: 50px;
    height: auto;
}

.logo-flower-icon[b-f7vhjzgkks] {
    width: 44px;
    height: 44px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(90, 95, 74, 0.2));
}

.logo-flower-icon:hover[b-f7vhjzgkks] {
    transform: scale(1.08);
}

.navbar-brand[b-f7vhjzgkks] {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

/* Collapse footer */
.collapse-footer[b-f7vhjzgkks] {
    padding: 0.75rem;
    border-top: 1px solid #e5e2dd;
    background: #ffffff;
}

.collapse-btn[b-f7vhjzgkks] {
    background: #f5f3f0;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    transition: all 0.2s ease;
    color: #6b6b6b;
    width: 100%;
}

.sidebar-container.collapsed .collapse-btn[b-f7vhjzgkks] {
    justify-content: center;
    padding: 0.5rem;
}

.collapse-btn:hover[b-f7vhjzgkks] {
    background: #dfe5db;
    color: #6b7c6b;
}

.collapse-text[b-f7vhjzgkks] {
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    max-width: 8rem;
    /* When expanding: fade in after sidebar opens */
    transition: opacity 0.15s ease 0.15s, max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-container.collapsed .collapse-text[b-f7vhjzgkks] {
    opacity: 0;
    max-width: 0;
    /* When collapsing: fade first, then let the width close */
    transition: opacity 0.1s ease, max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-container.collapsed .collapse-btn[b-f7vhjzgkks] {
    width: 3rem;
    height: 2.5rem;
    margin: 0 auto;
    gap: 0;
}

.collapse-icon[b-f7vhjzgkks] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Mirror instantly rather than spinning through a flattened chevron mid-way. */
.collapse-icon.rotated[b-f7vhjzgkks] {
    transform: scaleX(-1);
}

/* Navigation area */
.nav-scrollable[b-f7vhjzgkks] {
    background: #ffffff;
    padding: 0.75rem 0.5rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #dfe5db transparent;
}

.nav-scrollable[b-f7vhjzgkks]::-webkit-scrollbar {
    width: 5px;
}

.nav-scrollable[b-f7vhjzgkks]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-scrollable[b-f7vhjzgkks]::-webkit-scrollbar-thumb {
    background: #dfe5db;
    border-radius: 3px;
}

/* Collapsed rail: keep it scrollable but hide the bar so icons sit cleanly */
.sidebar-container.collapsed .nav-scrollable[b-f7vhjzgkks] {
    scrollbar-width: none;
}

.sidebar-container.collapsed .nav-scrollable[b-f7vhjzgkks]::-webkit-scrollbar {
    display: none;
}

.nav-section-title[b-f7vhjzgkks] {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.75rem 0.75rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    /* When expanding: fade in after sidebar opens */
    transition: opacity 0.2s ease 0.15s;
}

.sidebar-container.collapsed .nav-section-title[b-f7vhjzgkks] {
    opacity: 0;
    /* When collapsing: fade WITH sidebar */
    transition: opacity 0.2s ease;
}

.nav-divider[b-f7vhjzgkks] {
    height: 1px;
    background: #e5e2dd;
    margin: 0.75rem 0.75rem 0.5rem;
}

/* SVG Icons */
.nav-svg-icon[b-f7vhjzgkks] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.sidebar-container.collapsed .nav-svg-icon[b-f7vhjzgkks] {
    width: 26px;
    height: 26px;
}

.nav-text[b-f7vhjzgkks] {
    white-space: nowrap;
    margin-left: 0.75rem;
    overflow: hidden;
    max-width: 12rem;
    /* When expanding: width opens with the sidebar, text fades in near the end */
    transition: opacity 0.15s ease 0.15s, max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-container.collapsed .nav-text[b-f7vhjzgkks] {
    opacity: 0;
    max-width: 0;
    margin-left: 0;
    pointer-events: none;
    /* When collapsing: fade out quickly, then the width closes with the sidebar */
    transition: opacity 0.1s ease, max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav items */
.nav-item[b-f7vhjzgkks] {
    font-size: 0.9rem;
    padding: 0;
}

.nav-item[b-f7vhjzgkks]  .nav-link {
    color: #6b6b6b;
    background: none;
    border: none;
    border-radius: 10px;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-container.collapsed .nav-item[b-f7vhjzgkks] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.sidebar-container.collapsed .nav-item[b-f7vhjzgkks]  .nav-link {
    justify-content: center;
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    margin: 0.125rem auto;
    border-radius: 12px;
}

.nav-item[b-f7vhjzgkks]  a.active {
    background: linear-gradient(135deg, #c5d1c0 0%, #dfe5db 100%);
    color: #6b7c6b;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(138, 154, 135, 0.15);
}

.nav-item[b-f7vhjzgkks]  a.active .nav-svg-icon {
    stroke-width: 2.5;
}

.nav-item[b-f7vhjzgkks]  .nav-link:hover {
    background-color: #dfe5db;
    color: #6b7c6b;
}

.nav-item[b-f7vhjzgkks]  .nav-link:hover .nav-svg-icon {
    transform: scale(1.1);
}

/* Tooltip for collapsed state */
.sidebar-container.collapsed .nav-item[b-f7vhjzgkks]  .nav-link::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    margin-left: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #3d3d3d;
    color: white;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

.sidebar-container.collapsed .nav-item[b-f7vhjzgkks]  .nav-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   MOBILE NAVIGATION (under 768px)
   ===================================================== */
@media (max-width: 767.98px) {
    .sidebar-container[b-f7vhjzgkks] {
        position: fixed;
        left: -100%;
        top: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }

    .sidebar-container.mobile-open[b-f7vhjzgkks] {
        left: 0;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-toggler[b-f7vhjzgkks] {
        display: none; /* Hidden - using new mobile header */
    }

    .nav-header[b-f7vhjzgkks] {
        padding: 0.5rem 0.75rem;
        min-height: 52px;
    }

    .logo-icon[b-f7vhjzgkks] {
        max-width: 120px;
    }

    .nav-scrollable[b-f7vhjzgkks] {
        display: block;
        height: calc(100vh - 52px - 60px); /* Subtract header and footer */
        overflow-y: auto;
        padding: 0.5rem;
    }

    /* Larger touch targets on mobile */
    .nav-item[b-f7vhjzgkks]  .nav-link {
        min-height: 52px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
        margin: 0.25rem 0.5rem;
    }

    .nav-svg-icon[b-f7vhjzgkks] {
        width: 26px;
        height: 26px;
    }

    .nav-text[b-f7vhjzgkks] {
        margin-left: 1rem;
        font-size: 1rem;
    }

    .nav-section-title[b-f7vhjzgkks] {
        font-size: 0.7rem;
        padding: 1rem 1rem 0.5rem;
        margin-top: 0.5rem;
    }

    /* Collapse button */
    .collapse-footer[b-f7vhjzgkks] {
        padding: 0.75rem 1rem;
    }

    .collapse-btn[b-f7vhjzgkks] {
        min-height: 48px;
        font-size: 0.9rem;
    }

    /* Collapsed state disabled on mobile */
    .sidebar-container.collapsed[b-f7vhjzgkks] {
        width: 85%;
        max-width: 320px;
    }

    .sidebar-container.collapsed .nav-text[b-f7vhjzgkks] {
        opacity: 1;
        max-width: none;
        margin-left: 1rem;
        pointer-events: auto;
    }

    .sidebar-container.collapsed .nav-item[b-f7vhjzgkks]  .nav-link {
        width: auto;
        height: auto;
        justify-content: flex-start;
        min-height: 52px;
        padding: 0.75rem 1rem;
        margin: 0.25rem 0.5rem;
    }

    .sidebar-container.collapsed .collapse-btn[b-f7vhjzgkks] {
        width: 100%;
        height: auto;
        gap: 0.5rem;
    }

    .sidebar-container.collapsed .collapse-text[b-f7vhjzgkks] {
        opacity: 1;
        max-width: none;
    }

    .sidebar-container.collapsed .nav-section-title[b-f7vhjzgkks] {
        display: block !important;
    }

    .sidebar-container.collapsed .nav-divider[b-f7vhjzgkks] {
        display: none !important;
    }
}

/* =====================================================
   TABLET AND DESKTOP (768px and up)
   ===================================================== */
@media (min-width: 768px) {
    .navbar-toggler[b-f7vhjzgkks] {
        display: none;
    }

    .sidebar-container[b-f7vhjzgkks] {
        position: relative;
        left: 0;
    }

    .nav-scrollable[b-f7vhjzgkks] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
    }
}

/* Count badge on a nav item (Supplier Emails waiting for review) */
.nav-item[b-f7vhjzgkks]  .nav-count-badge {
    margin-left: auto;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--platform-accent-dark, #e8786a);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

/* Collapsed sidebar: the badge becomes a small count on the icon's corner */
.sidebar-container.collapsed .nav-item[b-f7vhjzgkks]  .nav-count-badge {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    min-width: 1.1rem;
    height: 1.1rem;
    line-height: 1.1rem;
    font-size: 0.65rem;
    padding: 0 0.25rem;
}

/* Keep a gap between the label and its badge even when the sidebar is too narrow for margin-left:auto to push it right */
.nav-item[b-f7vhjzgkks]  .nav-link:has(.nav-count-badge) .nav-text {
    margin-right: 0.5rem;
}

/* Signed-in user and Sign out, above the collapse button */
.nav-user[b-f7vhjzgkks] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-top: 1px solid #e5e2dd;
    background: #ffffff;
}

.nav-user-text[b-f7vhjzgkks] {
    flex: 1;
    min-width: 0;
}

.nav-user-name[b-f7vhjzgkks] {
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-role[b-f7vhjzgkks] {
    font-size: 0.72rem;
    color: #8a8a8a;
}

.nav-user-signout[b-f7vhjzgkks] {
    margin: 0;
}

.nav-signout-btn[b-f7vhjzgkks] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f5f3f0;
    border: 1px solid #e5e2dd;
    border-radius: 8px;
    padding: 0.35rem 0.55rem;
    font-size: 0.8rem;
    color: inherit;
    cursor: pointer;
}

.nav-signout-btn:hover[b-f7vhjzgkks] {
    background: #ece8e2;
}

.sidebar-container.collapsed .nav-user[b-f7vhjzgkks] {
    justify-content: center;
    padding: 0.6rem 0.25rem;
}

.sidebar-container.collapsed .nav-user-text[b-f7vhjzgkks],
.sidebar-container.collapsed .nav-signout-text[b-f7vhjzgkks] {
    display: none;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-d1w3qwb67r],
.components-reconnect-repeated-attempt-visible[b-d1w3qwb67r],
.components-reconnect-failed-visible[b-d1w3qwb67r],
.components-pause-visible[b-d1w3qwb67r],
.components-resume-failed-visible[b-d1w3qwb67r],
.components-rejoining-animation[b-d1w3qwb67r] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-retrying[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-failed[b-d1w3qwb67r],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-d1w3qwb67r] {
    display: block;
}


#components-reconnect-modal[b-d1w3qwb67r] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-d1w3qwb67r 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-d1w3qwb67r 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-d1w3qwb67r 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-d1w3qwb67r]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-d1w3qwb67r 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-d1w3qwb67r {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-d1w3qwb67r {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-d1w3qwb67r {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-d1w3qwb67r] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-d1w3qwb67r] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-d1w3qwb67r] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-d1w3qwb67r] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-d1w3qwb67r] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-d1w3qwb67r] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-d1w3qwb67r] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-d1w3qwb67r 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-d1w3qwb67r] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-d1w3qwb67r {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
