/* ===== Fundo animado ===== */
body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(to bottom, #c2e9fb, #a1c4fd);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1000px 1000px 0 0;
    animation: wave 8s infinite linear;
}

@keyframes wave {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== Estilo dos formulários ===== */
.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 10; /* Fica acima das ondas */
}

h1, h2 {
    color: #333;
    margin-bottom: 25px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: bold;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.button-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: #ffffff;
    color: #0056b3;
    border: 1px solid #0056b3;
}

.btn-secondary:hover {
    background-color: #f2f2f2;
}

.redefinir-link {
    margin-top: 15px;
}

.redefinir-link a,
.cadastro-link a {
    color: #0056b3;
    text-decoration: none;
}

.redefinir-link a:hover,
.cadastro-link a:hover {
    text-decoration: underline;
}

.cadastro-link {
    margin-top: 20px;
    font-size: 14px;
}

#cadastro {
    display: none;
}

#cadastro:target {
    display: block;
}

#cadastro:target + #login {
    display: none;
}
