/* ==========================================================================
   Wholesale: Profile (storefront/profile). Navy #0B2E4F, teal #0F6E8C on #EEF6FA, grey #4A6378,
   amber #92400E on #FEF3C7 (salesman / company person), green #15803D on #DCFCE7 (shop owner),
   red #B91C1C (Forget me)
   ========================================================================== */

.profile-empty {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-empty__icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #EEF6FA;
    color: #0F6E8C;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-card.profile-who {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
}

.profile-who__avatar {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 999px;
    background: #0B2E4F;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-who__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.profile-who__name {
    font-size: 18px;
    color: #0B2E4F;
    overflow-wrap: anywhere;
}

.profile-who__kind {
    padding: 2px 10px;
    border-radius: 999px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 12px;
    font-weight: 800;
}

.profile-who__kind--owner {
    background: #DCFCE7;
    color: #15803D;
}

.profile-who__fine {
    font-size: 13px;
    color: #4A6378;
}

.profile-facts {
    margin: 0 0 8px;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 14px;
    font-size: 14px;
}

.profile-facts dt {
    color: #4A6378;
}

.profile-facts dd {
    margin: 0;
    font-weight: 700;
    color: #10243A;
    overflow-wrap: anywhere;
}

.profile-shops {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-shops__row {
    padding: 8px 10px;
    border: 1px solid #C7DDE8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-shops__initial {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 10px;
    background: #EEF6FA;
    color: #0B2E4F;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-shops__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    color: #4A6378;
}

.profile-shops__text strong {
    font-size: 15px;
    color: #10243A;
    overflow-wrap: anywhere;
}

.flow-card.profile-out {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.profile-out__button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #B91C1C;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

/* "Remove" on a saved shop (red #B91C1C), and the message after (green #15803D on #DCFCE7) */
.profile-shops__text {
    flex: 1 1 auto;
}

.profile-shops__remove-form {
    flex: none;
}

.profile-shops__remove {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid #FECACA;
    border-radius: 10px;
    background: #FFFFFF;
    color: #B91C1C;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.flow-alert--done {
    border-color: #BBF7D0;
    background: #DCFCE7;
    color: #15803D;
}

.profile-shops__mobile {
    white-space: nowrap;
}

/* Nothing ordered here yet: the retailer's own details saved on this phone (Change, Forget on this phone) */
.profile-phone {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-phone__list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-phone__list div {
    display: flex;
    gap: 10px;
    font-size: 15px;
}

.profile-phone__list dt {
    flex: none;
    width: 72px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.profile-phone__list dd {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.profile-phone__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-phone__actions form {
    margin: 0;
}
