* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    padding: 20px; /* Espaço extra nas bordas para telas pequenas */
}

.container {
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    color: #4a90e2;
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333;
}

select, input[type="text"], input[type="password"], button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    background-color: #f9f9f9;
}

button {
    background-color: #4a90e2;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    border: none;
}

button:hover {
    background-color: #357ab8;
}

h2 {
    color: #333;
    margin-top: 20px;
    text-align: center;
}

p {
    font-size: 18px;
    color: #4a90e2;
    text-align: center;
    word-wrap: break-word;
}

.error {
    color: red;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* Media Query para dispositivos móveis */
@media (max-width: 600px) {
    body {
        height: auto; /* Ajusta a altura em telas menores */
    }

    .container {
        padding: 15px;
        max-width: 100%;
        box-shadow: none;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    label {
        font-size: 14px;
    }

    select, input[type="text"], input[type="password"], button {
        font-size: 14px;
        padding: 8px;
    }

    p {
        font-size: 16px;
    }
}
