/* ==========================================
   PROFILE PAGE
========================================== */

.profile-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* HEADER */

.profile-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.profile-page__eyebrow {
    display: block;
    color: #16A34A;
    font-size: 10px;
    font-weight: 700;
}

.profile-page__header h1 {
    margin: 2px 0 0;
    color: #0F172A;
    font-size: 21px;
    font-weight: 800;
}

.profile-page__header p {
    margin: 3px 0 0;
    color: #64748B;
    font-size: 10px;
}

.profile-page__edit {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #BBF7D0;
    border-radius: 10px;
    background: #F0FDF4;
    color: #15803D;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}


/* PROFILE CARD */

.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
}

.profile-card__avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #DCFCE7;
    color: #15803D;
    font-size: 16px;
    font-weight: 800;
}

.profile-card__content {
    min-width: 0;
}

    .profile-card__content h2 {
        margin: 0;
        color: #0F172A;
        font-size: 14px;
        font-weight: 800;
    }

    .profile-card__content span {
        display: block;
        margin-top: 3px;
        color: #15803D;
        font-size: 9px;
        font-weight: 700;
    }

    .profile-card__content small {
        display: block;
        margin-top: 3px;
        color: #94A3B8;
        font-size: 8px;
    }


/* SECTION */

.profile-section {
    overflow: hidden;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    background: #fff;
}

.profile-section__heading {
    padding: 13px 14px;
}

    .profile-section__heading h2 {
        margin: 0;
        color: #334155;
        font-size: 11px;
        font-weight: 700;
    }

    .profile-section__heading p {
        margin: 3px 0 0;
        color: #94A3B8;
        font-size: 8px;
    }


/* INFO */

.profile-info-list,
.profile-action-list {
    border-top: 1px solid #EEF2F7;
}

.profile-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
}

    .profile-info-item +
    .profile-info-item {
        border-top: 1px solid #F1F5F9;
    }

    .profile-info-item span {
        color: #64748B;
        font-size: 9px;
    }

    .profile-info-item strong {
        max-width: 65%;
        overflow: hidden;
        color: #334155;
        font-size: 9px;
        font-weight: 700;
        text-align: right;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* ACTIONS */

.profile-action-item {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border: 0;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

    .profile-action-item +
    .profile-action-item {
        border-top: 1px solid #F1F5F9;
    }

    .profile-action-item > span:last-child {
        color: #CBD5E1;
        font-size: 17px;
    }

    .profile-action-item.is-danger {
        color: #DC2626;
    }
