:root {
    --background: #0F0F0F; 
    --background-2: #1A1A1A; 
    --background-3: #111111;
    --background-4: #070707;
    --background-5: #000000;
    --line-1: #202020;

    --font: #fff;
    --link-blue: #1E91FB;
    --link-gray: #7C7C7C;

    --status-green: #2DFF28;
    --status-orange: #FF8328;
    --status-red: #D62419;
    --status-gray: #646464;
}


/*-- :root {
    --background: #fff;
    --font: #212529;
    --link: #1E91FB;
    --link-blue: #1E91FB;
    --link-gray: #7C7C7C;
}

--*/



body .btn.wide{
    padding-inline: 1.5rem;
}


body{
    background-color: var(--background);
    color: var(--font);
}

body a{
    text-decoration: none;
    color: var(--link-blue);
}

main.fit-vh{
    height: 100vh;
    
}

main.fit-vh .row {
    align-items: stretch;
    height: 100%;
}

main .instruction{
    max-width: 460px;
    margin-inline: auto;
}

main h3{
    font-size: 1.8rem;
}

/*--- SCROLL BAR ---*/
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
background: var(--background);
}

::-webkit-scrollbar-thumb {
background: var(--background-2);
}

::-webkit-scrollbar-thumb:hover {
background: #2A2A2A;
}

/*--- FOOTER ---*/

footer{
    font-size: 14px;
}

footer a{
    margin-inline:6px;
    color: var(--link-gray);
}

footer a:hover{
    
    color: #fff;
}

/*--- FORMS ---*/

.control .main  form{
    max-width: 300px;
    margin-inline: auto;
}

.control .form-control {
    background-color: var(--background-5);
    border: none;
    text-align: center;
    line-height: 1.9rem;
    border-radius: 0.3rem;
    color: #fff;
}

.token .form-control {
    background-color: var(--background-5);
    border: none;
    line-height: 1.3rem;
    border-radius: 0.3rem;
    color: #fff;
	resize: none;
}



.form-control:focus {
    color: #fff;
    background-color: var(--background-5);
    border-color: #fff;
    outline: 0;
    box-shadow: 0 0 0 1px  rgba(230, 230, 230, 0.20);
}

form .btn{
    line-height: 1.5rem;
    background-color: white;
    color:#202020;
    transition: background-color 0.3s ease;
    
}

form .btn:hover{
    background-color: #e0e0e0;    
}

form .btn.disabled{
    background-color: gray;
    border: 1px solid gray;
    color: #070707;
}


form .btn-outline-light{
    line-height: 1.5rem;
    background: none;
    color:#fff;
    border: 1px solid #fff;
    opacity: 0.8;
    transition: background-color 0.5s ease;
    
}

form .btn-outline-light:hover{
    color:#202020;
    background-color: #fff;    
    opacity: 1;
}

form .btn-outline-light.disabled{
    background: none;
    border: 1px solid gray;
    color: gray;
    opacity: 0.3!important;
}


form a{
    font-size: 14px;
}

/*--- MODAL ---*/

.modal-content{
    background-color: var(--background-2);
    color: var(--font);
    font-size: 14px;
}

.modal-header {
    padding-right: 0;
}

.modal-header .btn{
    color: var(--status-gray)!important;
}

.modal-header .btn:hover{
    color: var(--font)!important;
}

.modal-header{
    border-bottom: 1px solid #202020;
}

.modal-body{
    background-color: var(--background-3);
    max-height: 65vh;
    overflow-y: overlay;
}

.modal-footer{
    border-top: 1px solid #202020;
}

.model-footer .center{
    justify-content: center;
}


.modal-footer .btn-outline-light:hover{
    color: var(--background)!important;
}

.btn-close:focus, .btn:focus, .btn-outline-light:focus {
    outline: 0;
    box-shadow: none!important;
    opacity: 1;
}


/*--- TOKEN PAGE ---*/


.token .bg-dark {
    --bs-bg-opacity: 1;
    background-color: var(--background-5)!important;

}

.token .navbar{
    height: 86px;
}

.token .session .hub-status{
    font-size: 12px;
    color: var(--status-gray);
}

.session .hub-status span{
    margin-left: 6px;
}

#form-status {
    font-size: 14px;
}

#form-status i{
    margin-right: 4px;
}

.iform {
    position: relative;
}

.form-actions {
    position: absolute;
    right: 0;
}

.form-actions button{
    font-size: 12px;
    background: none;
    border: none;
    color: var(--status-gray);
    transition: color 0.3s ease;
}

.form-actions button:hover{
    color: #fff;
}

.form-actions button i {
    margin-right: 4px;
}


/*Token page hub and form status id's with color*/

#hub-status.green, #form-status.green{
    color: var(--status-green);
}

#hub-status.orange, #form-status.orange{
    color: var(--status-orange);
}

#hub-status.red, #form-status.red{
    color: var(--status-red);
}


/*--- ALERT STYLE ---*/

.alert {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 800px;
    min-width: 320px;
    z-index: 999;
    padding: 0.5rem 2rem;
    font-size: 14px;
    transition: all 0.3s ease;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    font-size: 10px;
    padding: 0.5rem 0.5rem;
    z-index: 2;
    
}

/*-- SPLIT --*/
.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-vertical {
    position:relative;
    bottom: 12px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
    cursor: row-resize;
    width: 50px;
    margin-inline: auto;
    opacity: 0.1;
    transition: 0.3s ease;
    border-radius: 6px;
}

.gutter.gutter-vertical:hover{
    opacity: 0.2;
    width: 80px;
}

/*-- SPLIT FIXES --*/
.token .iform{
    height: calc(100vh - 170px);
}

.token .split{
    height: 100%;
}

.token .split textarea{
    height: 100%; 
    resize: none;
    
}

