/* ===== Estilo Base - Dark Mode Elegante ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', sans-serif;
}

/* ===== Fundo Geral ===== */
body {
    background: linear-gradient(135deg, #0d1117, #161b22);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #e6edf3;
}

/* ===== Header ===== */
header {
    display: flex;
    align-items: center;
    background-color: #1f2933;
    border-bottom: 2px solid #3b82f6;
    padding: 15px 25px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

header h1 {
    flex: 1;
    text-align: center;
    color: #60a5fa;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Seta Voltar ===== */
.voltar {
    font-size: 1.8rem;
    color: #9ca3af;
    text-decoration: none;
    transition: 0.3s ease;
}

.voltar:hover {
    color: #a78bfa;
    transform: translateX(-4px);
}

/* ===== Conteúdo Principal ===== */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.conteudo {
    background-color: #1c1f26;
    border-radius: 12px;
    padding: 45px 40px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 1px solid #2d3748;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.conteudo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* ===== Título e Texto ===== */
.conteudo h2 {
    color: #60a5fa;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
}

.conteudo p {
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== Formulários ===== */
label {
    display: block;
    font-weight: 500;
    margin-top: 20px;
    color: #9ca3af;
    font-size: 0.9rem;
    text-align: left;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

input {
    margin-top: 8px;
    margin-bottom: 15px;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 6px;
    width: 85%;
    background-color: #111827;
    color: #f3f4f6;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.4);
    outline: none;
}

/* ===== Botão ===== */
button {
    margin-top: 30px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* ===== Resultado ===== */
#resultado {
    margin-top: 35px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981; /* Verde de sucesso */
    transition: color 0.5s ease;
}

/* ===== Resultado de Erro ===== */
.resultado-erro {
    color: #ef4444 !important;
}
