:root {
    --azul-claro: #4e73df;
    --azul-escuro: #224abe;
    --branco: #ffffff;
    --cinza-claro: #f8f9fc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Gabarito', Tahoma, Geneva, Verdana, sans-serif;
}


body{font-family:'Gabarito';
background-image: url("https://mapadobolsa.com/imgs/bg2.png");
 background-repeat: repeat;

width:100%;
height:105vh;    
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background-color: var(--branco);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-family:'Poppins';
    color: var(--azul-escuro);
    margin-bottom: 2px;
}

h1 i {
    margin-right: 10px;
}

.card {
    background-color: var(--branco);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--azul-escuro);
}

input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

input[type="tel"]:focus {
    border-color: var(--azul-claro);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.25);
}

button{
    background-color: var(--azul-claro);
    color: var(--branco);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
}

.meulink {
    background-color: var(--azul-claro);
    color: var(--branco);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-decoration:none;
    text-align:center;
    width: 100%;
}

button:hover {
    background-color: var(--azul-escuro);
}

.meulink:hover {
    background-color: var(--azul-escuro);
}

.btn-impressao {
    background-image: linear-gradient(to right, #00bf8f 0%, #001510  51%, #00bf8f  100%);
    text-shadow: 2px 2px black;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



.novaBusca {
    width:100%;
    background-image: linear-gradient(to right, #6441A5, #2a0845);
    font-family:'Poppins';text-decoration:none; color:#fff; text-align:center;
    text-shadow: 2px 2px black;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.btMaisMedicos {
    width:100%;
    margin-top:36px;
    background-image: linear-gradient(to right, #6441A5, #2a0845);
    border-top:1px dotted #ccc; text-align:center; font-family:'Gabarito';  
    text-shadow: 2px 2px black;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;

    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



.btBuscarFolha {
    width:100%;
    margin-top:36px;
    background-image: linear-gradient(to right, #136a8a, #267871);
    border-top:1px dotted #ccc; text-align:center; font-family:'Gabarito';  
    text-shadow: 2px 2px black;
    color: white;
    font-weight: bold;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;

    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.resultados {
    margin-top: 30px;
}

.resultado-item {
    padding: 15px;
    border-bottom: 1px solid #eee;

}



.mensagem {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.erro {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.config-pasta {
    margin-top: 20px;
    padding: 15px 15px 5px 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid var(--azul-claro);
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .card {
        padding: 20px;
    }
}


.blink {
animation: blink 1s ease-in;
}

@keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}


.blink2 {
animation: blink 5s ease-in;
}

@keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}



.blink3 {
animation: blink 10s ease-in;
}

@keyframes blink {
0% {
opacity: 0;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}


/* Estilos do Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-top {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #555;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index:9999;
}

.close-top:hover {
    color: #000;
}

.modal-body {
    padding: 20px 0;
}

.close-bottom {
    display: block;
    margin: 20px auto 0;
    padding: 8px 20px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.close-bottom:hover {
    background-color: #333;
}

.modal-link {
    cursor: pointer;
    color: var(--azul-claro);
    text-decoration: underline;
}

.modal-link:hover {
    color: var(--azul-escuro);
}