﻿#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.center-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
}

    .loader::before,
    .loader::after {
        content: "";
        grid-area: 1/1;
        --c: no-repeat radial-gradient(farthest-side,#25b09b 92%,#0000);
        background: var(--c) 50% 0, var(--c) 50% 100%, var(--c) 100% 50%, var(--c) 0 50%;
        background-size: 12px 12px;
        animation: l12 1s infinite;
    }

    .loader::before {
        margin: 4px;
        filter: hue-rotate(45deg);
        background-size: 8px 8px;
        animation-timing-function: linear
    }

@keyframes l12 {
    100% {
        transform: rotate(.5turn)
    }
}

.title-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.title-custom {
    /*min-width: 100%;*/
    /*padding: 30px;*/
    border-bottom: 1px solid #686868;
}

.card {
    color: white;
    background-color: #222223;
}
#toast-container {
    position: fixed;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

#show-toast {
    color: #fff;
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none;
    transition: opacity 0.3s ease;
}

.c-btn-warning {
    text-align: center;
    background-color: transparent;
    border: 1px solid yellow;
    border-radius: 30px;
    padding: 10px;
    color: yellow !important;
}

.modal-bottom {
    max-height: fit-content !important; 
}

.c-textarea{
    border: 1px solid #fff;
    border-radius: 8px;
    font-size: 14px;
}

.c-input-active {
    border: 1px solid #fff !important;
    background-color: silver;
    border-radius: 8px;
    font-size: 14px;
}
.c-input-disnable {
    border: 1px solid #868686 !important;
    background-color: #868686;
    border-radius: 8px;
    font-size: 14px;
}
.c-input-icon {
    position: absolute;
    right: 16px;
    top: 17px;
    cursor: pointer;
}
.c-input-icon .icon{
    font-size: 16px;
}
#continue.active {
    border: 2px solid #28a745;
    background-color: #f0fff0;
}

/*.active{
    color: lightgreen !important;
}*/

.c-header-left {
    position: absolute;
    left: 16px;
    min-width: 40px;
    height: 45px;
    display: flex;
    align-items: center;
}
.c-icon-circle {
    background-color: #0a0f1a;
}
.c-icon-circle i{
    font-size: 25px;
    color: white !important;
}

/*#qr-reader {
    width: clamp(250px, 70vw, 320px);
    height: clamp(250px, 70vw, 320px);
    border: 4px solid rgba(0, 123, 255, 0.8);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    background-color: #000;
}

    #qr-reader::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(to right, #00ff00, #00aaff);
        animation: scan 2s infinite;
    }

@keyframes scan {
    0% {
        top: 0;
    }

    50% {
        top: 90%;
    }

    100% {
        top: 0;
    }
}

.modal-content {
    border-radius: 16px;
}*/
