* {
    box-sizing: border-box;
}

body {
    background-color: #4EA595;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    padding: 20px;
}

.card {
    background-color: #fcf6c7;
    border: solid 2px #5a3d31b4;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    padding: 25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #4a2f13;
    overflow-wrap: break-word;
}

.card h3 {
    font-weight: 500;
}

.negrito {
    font-weight: bold;
}

.data {
    font-family: 'Montserrat', 'Century Gothic', sans-serif;
    font-style: italic;
    font-weight: 300;
    color: #2b2b2b;
}

.aba-nav {
    display: flex;
    background-color: #ded7b1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.aba {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #a89f7a;
    overflow-wrap: break-word;
}

.aba a {
    color: #a89f7a;
    text-decoration: none;
    display: block;
}

.aba.ativa {
    background-color: #5a3d31;
    color: #ffffff;
    border-radius: 20px;
}

.aba.ativa a {
    color: #fff;
    text-decoration: none;
}

.titulo-formulario {
    color: #5a3d31;
    text-align: center;
    font-size: 48px;
    margin-bottom: 25px;
    overflow-wrap: break-word;
}

.campo-grupo {
    display: flex;
    align-items: flex-end;
    margin-bottom: 18px;
    width: 100%;
}

.campo-grupo label {
    display: none;
}

.input-linha {
    width: 100%;
    flex: 1;
    border: none;
    border-bottom: 2px solid #6b3e2e;
    background: transparent;
    outline: none;
    padding: 2px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: bold;
    color: #4a2f13;
}

.input-linha::placeholder {
    color: #4a2f13;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: bold;
    opacity: 1;
}

.input-caixa {
    border: 2px solid #5a3d31;
    border-radius: 20px;
    background: transparent;
    padding: 6px 15px;
    color: #b0a880;
    font-size: 1rem;
    outline: none;
    width: 100%;
    max-width: 220px;
}

.criar-conta {
    display: block;
    width: 80%;
    margin: 25px auto 10px auto;
    background-color: #5a3d31;
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.criar-conta a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.link-entrar {
    text-align: center;
    font-size: 0.85rem;
    color: #5a3d31;
    margin-top: 15px;
    font-weight: bold;
    overflow-wrap: break-word;
}

.link-entrar a {
    color: #1F5482;
    text-decoration: none;
}

.politica-termos {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #5a3d31;
    margin-top: 20px;
    font-weight: bold;
    overflow-wrap: break-word;
}

.politica-termos input {
    margin-right: 8px;
    accent-color: #5a3d31;
    flex-shrink: 0;
}

.politica-termos a {
    color: #1F5482;
    text-decoration: none;
    margin: 0 3px;
}

@media (max-width: 425px) {
    img {
        max-height: 70px;
        padding: 10px;
    }

    .card {
        width: 92%;
        padding: 15px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .titulo-formulario {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .aba {
        padding: 8px;
        font-size: 0.95rem;
    }

    .campo-grupo {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .campo-grupo label {
        margin-bottom: 5px;
    }

    .input-linha, 
    .input-caixa {
        width: 100%;
        max-width: 100%;
    }

    .criar-conta {
        width: 100%;
        font-size: 0.95rem;
    }

    .politica-termos {
        align-items: flex-start;
        font-size: 0.75rem;
        text-align: left;
    }
}

@media (min-width: 426px) and (max-width: 768px) {
    .card {
        width: 85%;
        max-width: 450px;
        padding: 20px;
    }

    .titulo-formulario {
        font-size: 2.2rem;
    }

    .input-caixa {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    .card {
        max-width: 500px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
    }
}