


#components-reconnect-modal {
    display: none;
}

    /* Attempting reconnection — delay display by 4s so brief drops don't flash */
    #components-reconnect-modal.components-reconnect-show {
    display: inline-block !important;
    opacity: 0;
    position: fixed;
    min-height: 25%;
    min-width: 25%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f5f5dc;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    margin: 50px 50px;
    z-index: 10001;
    animation: fadeInModal 0.3s ease-in 4s forwards;
}

    /* Terminal failure states — show immediately */
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
    display: inline-block !important;
    opacity: 1 !important;
    position: fixed;
    min-height: 25%;
    min-width: 25%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f5f5dc;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    margin: 50px 50px;
    z-index: 10001;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}


.reload-btn {
    background-color: #050A30;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.section-header {
    text-align: center;
    font-size: 16px;
    margin-bottom: 40px;
}

    .section-header h2 {
        font-size: 30px;
        margin-bottom: 10px;
    }


.custom-appbar-connection {
    background-color: #050A30 !important;
    min-height: 60px;
    align-content: center;
    padding: 0 15px;
}

.appbar-logo-connection {
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
}
