@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.logo-valueup img {
    max-width: 150px;
    margin-bottom: 20px;
}

h1 {
    color: #ff355d;
    font-weight: 600;
    margin-bottom: 30px;
}

#formInscricao {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.flash-danger,
.flash-success {
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.flash-danger {
    background-color: #fde8ea;
    color: #8a1327;
    border: 1px solid #f5b7c0;
}

.flash-success {
    background-color: #e8f6ee;
    color: #0f5a2f;
    border: 1px solid #bde3cc;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* Garante que o padding não estoure a largura */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#formInscricao h1{
    color:#ff355d; 
    font-weight:600; 
    margin:0 0 30px; 
    text-align:center; 
    font-size:2rem; 
}

/* Efeito ao clicar no campo (Foco) */
.form-group input:focus {
    outline: none;
    border-color: #ff355d;
    box-shadow: 0 0 0 3px rgba(126, 1, 69, 0.2);
}

/* Estilo para o placeholder */
.form-group input::placeholder {
    color: #aaa;
}

/* Adicionando um botão que não estava no seu código mas é essencial */
button, input[type="submit"] {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff355d, #ff5f7f);;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #ff355d, #ff5f7f);
}

/* Estilos para select (combobox) em cadastro */
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ff355d;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select:focus {
    outline: none;
    border-color: #ff355d;
    box-shadow: 0 0 0 3px #ff355d;
}

/* Placeholder arrow spacing for select */
.form-group select {
    background-image: linear-gradient(45deg, transparent 50%, #020101 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

/* Classe para esconder elementos visualmente mantendo acessibilidade */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {

    body{
        padding:20px;
        justify-content:center;
    }

    #formInscricao{
        width:100%;
        max-width:450px;
        padding:35px 30px;
    }

    #formInscricao h1{
        font-size:1.8rem;
        margin-bottom:25px;
    }

    .logo-valueup img{
        max-width:150px;
    }
}

.mens{
    background-color: #27ae60;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 480px){

    body{
        padding:20px;
    }

    .logo-valueup{
        margin-top:20px;
    }

    .logo-valueup img{
        max-width:120px;
        margin-bottom:10px;
    }

    #formInscricao{
        width:100%;
        padding:25px 20px;
        border-radius:10px;
    }

    #formInscricao h1{
        font-size:1.5rem;
        margin-bottom:20px;
    }

    .form-group input,
    .form-group select,
    input[type="submit"],
    button{
        padding:12px;
        font-size:16px;
    }

}