﻿#components-reconnect-modal {
    display: none;
}

    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed,
    #components-reconnect-modal.components-reconnect-rejected {
        display: block;
        display: flex;
        opacity: 1;
    }

#components-reconnect-modal {
    transition: visibility 0s linear 1000ms;
}

#reconnect-modal {
    font-family:Arial, Helvetica, sans-serif;
    z-index: 50000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 1);
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    border-top: 50px solid #0097E2;
    border-bottom: 50px solid #0097E2;
}
    #reconnect-modal h2{
        font-size: 2em;
        text-align:center;
        margin-bottom: 0;
        margin-top: 50px;
        text-decoration: underline;
    }

    #components-reconnect-modal.components-reconnect-show {
        transform: scale(1); 
        opacity: 1;
    }

    #reconnect-modal #reconnect-modal-text {
        text-align: center;
        color: #2c3e50;
        background-color: #fff; 
        border-radius: 5px;
        font-size: 1.1em; 
        max-width: 90%; 
        margin: 10% auto; 
        margin-bottom: 50px;
        margin-top: 15px;
        transition: all 0.3s ease-in-out;
    }

    #reconnect-modal .loader {
        margin: 10px auto;
        margin-top: 50px;
        border: 10px solid #f3f3f3;
        border-radius: 50%;
        border-top: 10px solid #3498db;
        width: 80px;
        height: 80px;
        animation: spin 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 400px) {
    #reconnect-modal #reconnect-modal-text {
        font-size: 1em;
    }
}