:root {
    --primary-color: #007bff;
    /* Azul primário */
    --primary-hover: #0056b3;
    /* Azul escuro para hover */
    --secondary-color: #6c757d;
    /* Cinza secundário */
    --secondary-hover: #5a6268;
    /* Cinza escuro para hover */
    --success-color: #28a745;
    /* Verde sucesso */
    --success-hover: #218838;
    /* Verde escuro para hover */
    --error-color: red;
    /* Vermelho error */
    --error-hover: darkred;
    /* Vermelho escuro para hover */
    --white-color: #ffffff;
    /* Branco */
    --black-color: #343a40;
    /* Preto */
    --light-gray: #f8f9fa;
    /* Cinza claro */
    --dark-gray: #343a40;
    /* Cinza escuro */
    --shadow-color: rgba(0, 0, 0, 0.15);
    /* Sombra */
    --vasky-azul: #271c9e;
    --vasky-laranja: #fba61c;

}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-y: auto;

    user-select: none;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}




header {
    text-align: center;
}


header button {
    width: auto;
}



.centralize {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}




input[type="radio"] {
    width: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes textBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.spinner {
    border: 8px solid var(--light-gray);
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--white-color);
    font-size: 24px;
    box-shadow: 0 4px 8px var(--shadow-color);
    backdrop-filter: blur(5px);
    /* Adiciona um efeito de desfoque */
    z-index: 10;
}

.loading-text {
    animation: textBlink 1.5s infinite;
}

.loading label {
    font-size: 24px;
}

.login-button {
    cursor: pointer;
    margin-bottom: 10px;
    border: none;
    /* Remover bordas padrão */
    border-radius: 4px;
    /* Bordas arredondadas */
    transition: background-color 0.3s, box-shadow 0.3s;
    /* Suave transição */
}

button:active {
    opacity: 0.8;
}

button[disabled] {
    opacity: 0.8;
}






button.fab {
    width: 54px;
    height: 54px;
    border-radius: 50px;
    font-size: 24px;
    box-shadow: 2px 2px 2px gray;
}

button.fab.fixed {
    position: fixed;
}

button.fab.bottom {
    bottom: 32px;
}

button.fab.right {
    right: 32px;
}

.clear {
    background: transparent;
    color: var(--black-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    /* Bordas arredondadas */
    padding: 10px 20px;
    /* Espaçamento interno */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    /* Suave transição */
}

.clear:hover {
    background-color: var(--light-gray);
    /* Cor de fundo no hover */
    box-shadow: 0 4px 8px var(--shadow-color);
    /* Sombra suave no hover */
}

.outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    /* Bordas arredondadas */
    padding: 10px 20px;
    /* Espaçamento interno */
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    /* Suave transição */
}

.outline:hover {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 4px 8px var(--shadow-color);
    /* Sombra suave no hover */
}

.solid {
    background: var(--success-color);
    /* Verde sucesso */
    color: var(--white-color);
    border: none;
    border-radius: 4px;
    /* Bordas arredondadas */
    padding: 10px 20px;
    /* Espaçamento interno */
    box-shadow: 0 2px 4px var(--shadow-color);
    /* Sombra suave */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* Suave transição */
}

.solid:hover {
    background: var(--success-hover);
    /* Verde escuro para hover */
    box-shadow: 0 4px 8px var(--shadow-color);
    /* Sombra mais pronunciada no hover */
}

/*
button:focus {
    outline: none; 
    box-shadow: 0 0 0 1px rgba(251, 255, 0, 0.5); 
}
*/

.error {
    background: red;
    color: yellow;
    display: none;
    padding: 10px;
    font-size: small;
    margin-bottom: 20px;
    border-radius: 5px;
}

.transaction-info {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* Estilo para o FAB */
.fab {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 16px;
    right: 16px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}

.fab:hover {
    background-color: #666;
}






.vertical-all {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.vertical {
    width: 100%;
}

.horizontal-all {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-width: min-content;
}




.negrito {
    font-weight: bold;
}


.infoTop {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}