/* Estilo Global */
body {
    background-color: #000; /* Fundo preto */
    color: #fff; /* Texto branco */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h2 {
    color: #e60000; /* Título vermelho */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Estilo do Formulário */
form {
    background-color: rgba(255, 255, 255, 0.1); /* Fundo translúcido */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(230, 0, 0, 0.5); /* Sombra com tom vermelho */
    width: 300px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input[type="text"], input[type="email"], input[type="password"], select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background-color: #333; /* Fundo dos inputs em preto */
    color: #fff; /* Texto branco */
}

input[type="submit"] {
    background-color: #e60000; /* Botão vermelho */
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #ff1a1a; /* Vermelho mais claro no hover */
}

/* Estilo de Feedback */
.success {
    color: #00cc00;
    margin-top: 10px;
}

.error {
    color: #ff1a1a;
    margin-top: 10px;
}

/* Estilo Sutil de Velocidade */
form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #e60000, transparent);
    animation: speed-line 1.5s linear infinite;
}

@keyframes speed-line {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}
