﻿.background-blue-logo {
    background-color: #37517E;
}

.red {
    color: #982424;
}

.green {
    color: #037A03;
}


    .green .webix_inp_top_label {
        color: #037A03;
    }


.line {
    text-decoration: line-through;
}

.flex {
    display: flex;
    margin-top: 8px;
    text-align: center;
    vertical-align: central;
    margin-top: 8px;
}

.dashboardItem {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.dashboardCell {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    margin-right: 10px;
}

.dashboardCellTotal {
    border-radius: 50%;
    border: 2.5px dotted #DADEE0;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    flex-shrink: 0;
}


.dashboardTitle {
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
}

.dashboardTotal {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

/* Toasts */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    font-family: Inter,Roboto,Ubuntu,Droid Sans,Segoe UI,sans-serif;
    position: relative;
    max-width: 280px;
    min-width: 200px;
    width: fit-content;
    padding: 12px 40px 16px 16px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.5s ease;
    word-wrap: break-word;
    white-space: pre-wrap;
}


    .toast.fade-out {
        opacity: 0;
    }

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    animation: progressAnim 5s linear forwards;
}

.toast-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.toast.success {
    color: #fff;
    background-color: #339c4b;
}

.toast.error {
    color: #fff;
    background-color: #b42d2d;
}

.toast.warning {
    color: #fff;
    background-color: #cc8830;
}

.toast.info {
    color: #fff;
    background-color: #3966a1;
}

.toast-close:hover {
    color: #000;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

@keyframes progressAnim {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Animação de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Aplica a animação de saída */
.toast.fade-out {
    animation: fadeOut 0.5s forwards;
}



.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

[data-theme="dark"] .loading-overlay {
    background: rgba(200, 200, 200, 0.1);
}

.spinner {
    border: 6px solid #ddd;
    border-top: 6px solid #37517e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Animações */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
