
h1 {
    margin-bottom: 20px;
    color: #333;
}

.complete-container {
    background-color: white;
    text-align: center;
    margin: 0 auto 40px auto;
    width: 350px;
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    border: 1px solid #ec6608;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.complete-container img {
    background-color: rgb(235, 235, 235);
    width: 320px;
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.complete-container h3 {
    margin: 5px 0;
}

.complete-container h3:hover {
    background-color: rgb(255, 189, 127);
    border-radius: 5px;
    transition: 0.7s;
}

.complete-container hr {
    margin: 0px 0; 
}

.complete-container img:hover {
    transform: scale(1.05);
}

#result {
    display: none; /* Esconde inicialmente */
}

a {
    margin-top: 30px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.form-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 5 colunas para os labels */
    gap: 25px; /* Espaço entre os itens */
    margin-bottom: 20px; /* Espaço abaixo de cada grupo */
}

label {
    text-align: center; /* Centraliza o texto do label */
}

input, select {
    width: 90%;
    padding: 8px;
    border: 1px solid #000000; /* Borda */
    border-radius: 8px; /* Bordas arredondadas */
}

.button_form {
    display: flex; 
    justify-content: flex-end; 
    margin-top: 20px;
}

.container {
    max-width: 900px;
    margin-top: 20px;
    padding: 20px;   
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #111820 !important; /* Azul padrão */
    color: white;
    margin-top: 30px;
}

.btn-primary:hover {
    background-color: #EC6405 !important; /* Laranja no hover */
}

.btn-secundary {
    display: inline-block; 
    background-color: #ffffff !important; 
    font-size: 10px;
    color: rgb(0, 0, 0);
    padding: 10px;
    margin: 0 auto;
}

.btn-secundary:hover {
    background-color: #EC6405 !important; /* Laranja no hover */
}

.red{
    color: red;
}

.details-container {
    width: 100%; 
}

.image-grid {
    display: flex; 
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.image-container {
    background-color: white;
    text-align: center;
    margin-bottom: 30px;
    width: 250px;
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ec6608;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.image-container img {
    background-color: rgb(235, 235, 235);
    width: 200px;
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}
.image-container img:hover {
    transform: scale(1.05);
}

.center{
    text-align: center;
}

.div-box {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    margin: auto;
    height: auto;
    border-radius: 10px;
    border: 2px solid #ec6608;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.div-title {
    background-color: rgb(255, 255, 255);
    max-width: 60%;
    padding: 1px;
    margin: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none; /* Escondido por padrão */
}

.loading-spinner {
    border: 8px solid #f3f3f3; /* Cor do fundo */
    border-top: 8px solid #ec6608; /* Cor do spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilo para o alerta */
.alert {
    opacity: 1;
    position: fixed;
    right: 20px;
    padding: 20px;
    background-color: #f44336;
    color: white;
    border-radius: 5px;
    z-index: 2000; 
    transition: opacity 0.3s ease;
}

.alert .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.alert .closebtn:hover {
    color: #bbb;
}

.alert.hidden {
    opacity: 0;
    pointer-events: none; 
    display: none;
}


.form-container {
    min-width: 500px;
    border-radius: 15px;
    border: 1px solid #ffffff;
    background-color: #3a3a3a;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    margin-top: 10vh;
    margin-bottom: 10vh;
    padding: 20px; 
}

.container-login {
    border-radius: 15px;
    border: 1px solid black;
    width: 100%; 
    margin: 10px; 
    background-color: #474647; 
    padding: 20px; 
    box-sizing: border-box;
}

.form-label {
    font-family: 'Arial', sans-serif;
    font-size: 16px; 
    font-weight: bold; 

}

.form-label-title{
    font-family: 'Arial', sans-serif;
    font-size: 20px; 
    font-weight: bold; 
    color: #333; 
    margin-bottom: 5px; 
}


.form-control{
    border-radius: 15px;
    border: 1px solid #ec6608;
}

.form-control:hover{
    border-radius: 15px;
    border: 1px solid #000000;
}

.col-12_2 {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}

.flash-message {
    display: none; /* Começa oculto */
    margin: 10px 0;
}

.tooltip {
    max-width: 400px;
    position: fixed;
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 8px;
    font-size: 15px;
    white-space: normal; 
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease-in-out; /* Transição suave para o aparecimento/desaparecimento */
    opacity: 0; /* Começa invisível */
}

.tooltip.show {
    opacity: 1; /* Torna a tooltip visível quando a classe show é adicionada */
}

.info-icon {
    cursor: pointer;
    margin-left: 5px;
}



@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 15px;
        align-items: center;
    }

    label {
        font-size: 12px;
    }
    
    .center{
        font-size: 16px;
    }

    .btn{
        font-size: 12px;
    }

    h3{
        font-size: 14px;
        margin-bottom: 10px;
    }

    .form-container {
        min-width: 90%; 
        max-width: 90%; 
        padding: 15px; 
    }

    .container-login {
        margin: 5px;
        padding: 15px;
    }

    .tooltip{
        max-width: 200px;
    }
}