﻿bod /* This is the base style for the modal */
#components-reconnect-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    padding: 1.5em;
    color: white;
    text-align: center;
}

#components-reconnect-modal .modal-content {
    background: linear-gradient(to bottom right,#fc0031,#24009e);
    padding: 1.5em;
    border-radius: 0.5em;
    max-width: 30em;
    width: 100%;
}
/* These are the styles for the different states of the modal */
#components-reconnect-modal.components-reconnect-show {
    display: flex;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed {
    background-color: rgba(0, 0, 0, 0.8);
}

#components-reconnect-modal.components-reconnect-rejected {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Loader */
.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 60px;
    height: 60px;
    margin: 50px auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button */
.reconnect-button {
    background-color: #3498db;
    border: none;
    border-radius: 0.5em;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}
