/* Reset básico e definição de fonte */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #24578d, #4e7c99);
    padding: 20px;
    color: #333;
    flex-direction: column;
}

/* Logo */
.logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#logo {
    width: 100px;
}

#logo_eusebio {
    width: 210px;
}

#pontoshoppinglogo {
    width: 180px;
}

.logo img {
    margin-right: 20px;
}

/* Contêiner principal */
.container {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    margin: 0 auto;
}

/* Título */
h2 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 28px;
    color: #333;
}

/* Descrição */
p {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

input, select, button {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

input[type="date"] {
    background-color: #f9f9f9;
}

/* Botão de envio */
#cadastrar {
    background-color: #24578d;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
}

#cadastrar:hover {
    background: #1a3e64;
}

/* Estilo do input de arquivo */
.input-file {
    display: none;
}

/* Estilo do botão de upload */
.btn-upload {
    width: 100%;
    display: inline-block;
    padding: 10px 20px;
    background-color: #e63737;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.btn-upload:hover {
    background-color: #a72211;
}

/* Estilo para o nome do arquivo quando selecionado */
.file-name {
    margin-top: 10px;  /* Adicionando margem superior */
    font-size: 14px;
    color: #555;
    display: block; /* Faz o nome do arquivo ocupar toda a linha */
}

/* Estilo para as mensagens de sucesso ou erro */
.messages {
    background-color: #f3ecc4;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: #836400;
}

/* Links de navegação */
a {
    text-decoration: none;
    color: #24578d;
    font-size: 14px;
    margin-top: 10px;
}

a:hover {
    text-decoration: underline;
}

/* Ajustes para o link de cadastro abaixo do formulário */
form .ja-posso-cadastrar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Layout para a divisão de inputs */
.divisao {
    display: flex;
    justify-content: space-between;
}

.curriculo {
    width: 100%;
}

.cadastrar {
    width: 100%;
    margin-top: 20px;
}

#nome {
    width: 69%;
}

#data_nascimento {
    width: 29%;
}

#cidade,
#escolaridade,
#email {
    width: 49%;
}

#bairro,
#WhatsApp,
#senha {
    width: 49%;
}

.container-vagas {
    width: 100%;
    max-width: 900px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.t-vagas {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.t-descricao-vagas {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
}

.vagas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.vaga-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    justify-content: center;
}

.vaga-item:hover {
    transform: translateY(-5px);
    background-color: #f0f0f0;
}

.vaga-item input[type="checkbox"] {
    margin-right: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vaga-item input[type="checkbox"]:checked {
    background-color: #4caf50;
    border-color: #4caf50;
}

.vaga-item h3 {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.vaga-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

#logo_grupo{
    width: 310px;
}

/* Responsividade */
@media (max-width: 349px) {
 .container {
        padding: 20px;
    }

    .logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    #logo, #pontoshoppinglogo  {
        width: 50px;
        margin-right: 10px;
    }

    #logo_eusebio{
        width: 100px;
     }

    .divisao {
        flex-direction: column; /* Faz a divisão dos campos ficar vertical */
    }

    .curriculo, .cadastrar {
        width: 100%; /* Faz os campos de curriculo e cadastro ocuparem toda a linha */
    }

    #cidade, #bairro, #WhatsApp, #senha, #escolaridade, #email {
        width: 100%;
    }

    #data_nascimento {
        width: 100%;
        margin-left: 0;
    }

    #nome{
        width: 100%;
    }
    .container-vagas {
        padding: 30px;
    }

    .vaga-item {
        flex-direction: column; /* Coloca o conteúdo das vagas em coluna */
        text-align: center;
        padding: 15px;
    }

    .vaga-item input[type="checkbox"] {
        margin: 0 0 10px 0;
    }

    .t-vagas{
        font-size:20px;
    }

    .t-descricao-vagas{
        font-size: 16px !important;
    }
    h3{
        font-size: 15px !important;
    }

    .d-vaga{
        font-size: 15px !important;
    }

    h2{
        font-size: 22px !important;
    }

    #logo_grupo{
        width: 170px;
    }

}
@media (min-width: 350px) and (max-width: 599px) {
    .container {
        padding: 20px;
    }

    .logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    #logo, #pontoshoppinglogo  {
        width: 60px;
        margin-right: 10px;
    }

    #logo_eusebio{
        width: 140px;
     }

    .divisao {
        flex-direction: column; /* Faz a divisão dos campos ficar vertical */
    }

    .curriculo, .cadastrar {
        width: 100%; /* Faz os campos de curriculo e cadastro ocuparem toda a linha */
    }

    #cidade, #bairro, #WhatsApp, #senha, #escolaridade, #email {
        width: 100%;
    }

    #data_nascimento {
        width: 100%;
        margin-left: 0;
    }

    #nome{
        width: 100%;
    }
    .container-vagas {
        padding: 30px;
    }

    .vaga-item {
        flex-direction: column; /* Coloca o conteúdo das vagas em coluna */
        text-align: center;
        padding: 15px;
    }

    .vaga-item input[type="checkbox"] {
        margin: 0 0 10px 0;
    }

    .t-vagas{
        font-size:20px;
    }

    .t-descricao-vagas{
        font-size: 16px !important;
    }
    h3{
        font-size: 15px !important;
    }

    .d-vaga{
        font-size: 15px !important;
    }

    h2{
        font-size: 22px !important;
    }

    #logo_grupo{
        width: 210px;
    }
}

/* Para tablets (telas entre 600px e 900px) */
@media (min-width: 600px) and (max-width: 900px) {
    .divisao {
        flex-direction: row;
    }

    .curriculo, .cadastrar {
        width: 100%;
    }

    #cidade, #bairro, #WhatsApp, #senha {
        width: 48%;
    }

    #data_nascimento {
        width: 48%;
        margin-left: 10px;
    }

    #nome{
        width: 100%;
    }

    .vaga-item{
        text-align: center;
    }
}
