.profile-card {
    background: var(--surface, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius, 16px);
    padding: 1.75rem;
    max-width: 560px;
}

.profile-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.profile-card__error {
    color: var(--text-muted, #b8a8ac);
    font-size: 0.95rem;
}

.profile-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.profile-list__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.profile-list__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-list__row dt {
    color: var(--text-muted, #b8a8ac);
    font-size: 0.85rem;
    font-weight: 500;
}

.profile-list__row dd {
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-word;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(220, 38, 38, 0.15);
    color: var(--text, #faf5f6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.profile-btn:hover {
    background: rgba(220, 38, 38, 0.25);
}

.account-menu {
    position: relative;
}

.account-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.account-menu__name {
    font-size: 0.82rem;
    font-weight: 600;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__dropdown {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 210px;
    padding: 0.65rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 8, 10, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    z-index: 40;
}

.account-menu__meta {
    padding: 0.45rem 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.35rem;
}

.account-menu__meta strong {
    display: block;
    font-size: 0.88rem;
}

.account-menu__meta small {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
}

.account-menu__link {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    font-size: 0.86rem;
}

.account-menu__link:hover {
    background: rgba(255, 255, 255, 0.06);
}

.account-menu__link--danger {
    color: #fca5a5;
}

.profile-credentials {
    margin-top: 1.25rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.profile-credentials__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-credentials__hint {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.profile-credentials__badge {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.profile-credentials__badge--ok {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
}

.profile-credentials__badge--pending {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
}

.profile-credentials__alert {
    margin-bottom: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.84rem;
}

.profile-credentials__alert--success {
    background: rgba(34, 197, 94, 0.12);
    color: #bbf7d0;
}

.profile-credentials__alert--error {
    background: rgba(220, 38, 38, 0.12);
    color: #fecaca;
}

.profile-credentials__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-credentials__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.profile-credentials__field span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
}

.profile-credentials__field input {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    font: inherit;
}

.profile-credentials__actions {
    margin-top: 0.85rem;
}

.review-display__section-title {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
}

.review-display--seller {
    margin-top: 0.85rem;
}

@media (max-width: 600px) {
    .profile-credentials__grid {
        grid-template-columns: 1fr;
    }

    .profile-list__row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}
