@font-face {
    font-family: 'DM Sans';
    src: url('../assets/fonts/DM_Sans/DMSans-VariableFont.ttf') format('truetype');
}

/* Muda a cor de fundo e do texto quando selecionado */
::selection {
  background-color: var(--segundaria); /* cor de fundo da seleção */
  color: var(--primaria);           /* cor do texto selecionado */
}

/* Para navegadores mais antigos do Firefox */
::-moz-selection {
  background-color: var(--segundaria);
  color: var(--primaria);
}
button {
    border-radius: 12px !important;
}

:root {
--primaria:#1C385D;
--segundaria:#FFCC00;
--textos:#3F3F3F;
--destaque:;
    --cor-fundo:#F2F4F7;
}

* {
 font-family: "DM Sans", sans-serif;
 color: var(--textos);

}

body {
    width: 100%;
margin: 0 auto;
background-color: var(--cor-fundo);

}


#confirm-popup .confirm-overlay {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.5);
    z-index:9999;
}

#confirm-popup .confirm-box {
    position: fixed;
    top:50%; left:50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    z-index:9999999;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#confirm-popup .confirm-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#confirm-popup .btn-confirm-yes {
    background-color: var(--primaria);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#confirm-popup .btn-confirm-no {
    background-color: var(--primaria);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#toast-container {
    position: fixed;
    top: 40%; /* você pode mudar para 50% e centralizar vertical se quiser */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* permite clicar nos elementos atrás */
}

.toast {
    min-width: 250px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.mensage-box {
    width: 80%;
    margin: auto;
    color: #ccc;
    margin-bottom: 40px;
    font-style: italic;
    text-align: justify;
}



@media (max-width: 600px) {  

h1 {
font-size: 27px !important;
}

h2 {

font-size: 25px !important;
}

h3 {

font-size: 17px !important;

}
label {
line-height:1;
font-size: 14px !important;

}
span {

   line-height:1;
font-size: 13px; 
}
p {

line-height:1;
font-size: 13px !important;

}
}