/* Base - Mobile First */
body.fundo-pagina {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    padding: 10px;
    margin: 0;
    color: #333;
}

.titulo-central {
    text-align: center;
    font-size: 1.8rem;
    margin: 20px 0;
}

.rodape {
    text-align: center;
    font-size: 1rem;
    margin: 40px 0 10px;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ccc;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

label {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
}

input, select {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.botoes-acoes {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.botoes-acoes button,
#voltar {
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

button:hover,
#voltar:hover {
    background-color: #0056b3;
}

.container-matriculados {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px auto;
    max-width: 600px;
    padding: 0 10px;
}

.container-matriculados .bolha {
    background-color: #e0f7fa;
    border: 2px solid #00acc1;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #006064;
    box-shadow: 0 0 8px rgba(0, 172, 193, 0.3);
    transition: transform 0.2s;
    white-space: nowrap;
    max-width: 100%;
    overflow-x: auto;
}

.container-matriculados .bolha:hover {
    transform: scale(1.05);
}

/* Responsivo para tablets e desktops */
@media screen and (min-width: 600px) {
    .botoes-acoes {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .botoes-acoes button,
    #voltar {
        flex: 1 1 40%;
        max-width: 45%;
    }

    .container-matriculados .bolha {
        font-size: 1rem;
        padding: 12px 15px;
    }
}
