/* ================================================
   🎨 CSS — Tela de Sucesso (sucesso.css)
   ================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: #ffffff;
    /* Usa o mesmo fundo da tela de cadastro para uma transição suave */
    background-image: linear-gradient(to top, rgba(15, 76, 92, 0.6), rgba(15, 76, 92, 0.5)), url('mae_e_filho.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.success-container {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.icon {
    margin-bottom: 10px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

p {
    font-size: 18px;
    line-height: 1.6;
    color: #f0f0f0;
}

/* Destaque para o nome do usuário */
#userName {
    font-weight: bold;
    color: #ffffff;
}

.purpose-text {
    font-style: italic;
    opacity: 0.9;
}

.home-button {
    display: inline-block;
    margin-top: 20px;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.home-button:hover {
    background-color: #ffffff;
    color: #0f4c5c;
}

/* Ajuste para telas menores */
@media (max-width: 480px) {
    h1 {
        font-size: 20px;
    }
    p {
        font-size: 16px;
    }
}
