/* Estrutura comum de formulários e dados de perfil. Variações ficam na página. */
:where(.form-components) .perfil-container {
    max-width: 1200px;

    margin: 40px auto;

    padding: 0 20px;
}
:where(.form-components) .perfil-card {
    background: white;

    border-radius: 20px;

    padding: 40px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
:where(.form-components) .perfil-header {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-bottom: 30px;
}
:where(.form-components) .perfil-avatar {
    width: 90px;

    height: 90px;

    border-radius: 50%;

    background: #ef4444;

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 40px;
}
:where(.form-components) .perfil-header h1 {
    margin: 0;

    font-size: 32px;
}
:where(.form-components) .perfil-header p {
    color: #777;

    margin-top: 5px;
}
:where(.form-components) .perfil-resumo {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 40px;
}

:where(.form-components) .perfil-dados {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 20px;
}

:where(.form-components) .campo {
    background: #fafafa;

    border-radius: 12px;

    padding: 15px;

    border: 1px solid #eee;
}

:where(.form-components) .campo-largo {
    grid-column: span 2;
}

:where(.form-components) .campo label {
    display: block;

    color: #888;

    font-size: 13px;

    margin-bottom: 6px;
}

:where(.form-components) .campo span {
    font-size: 16px;

    font-weight: 600;
}

:where(.form-components) .perfil-acoes {
    margin-top: 40px;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

:where(.form-components) .campo input:focus {
    outline: none;

    border-color: #ef4444;
}

:where(.form-components) .senha-box {
    display: flex;

    align-items: center;

    gap: 10px;
}
