body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f1a, #1c1c2b);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.8s ease-in-out;
}

form {
    display: flex;
    margin-top: 0em;
    unicode-bidi: isolate;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

h2 {
    margin-top: 0;
    text-align: center;
    color: #00ffcc;
    letter-spacing: 1px;
}

input {
    width: 95%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    background: #2c2c3e;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    outline: none;
    background: #3a3a55;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #00ffcc;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #00e6b8;
}

.erro {
    color: #ff4d4d;
    background: #2c0d0d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 500px) {
    .form-container {
        margin: 0 20px;
        padding: 30px 20px;
    }
}
