.begard-ul-profile-block {
	direction: rtl;
	margin-bottom: 28px;
}

.begard-ul-profile-panel {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px 28px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.begard-ul-profile-panel__title {
	margin: 0 0 6px;
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: #111827;
}

.begard-ul-profile-panel__desc {
	margin: 0 0 20px;
	color: #6b7280;
	font-size: 0.9rem;
	line-height: 1.6;
}

.begard-ul-profile-role-inline {
	display: inline-block;
	margin-inline-start: 8px;
	padding: 3px 12px;
	font-size: 0.85rem;
	font-weight: 600;
	background: #2563eb;
	color: #fff;
	border-radius: 6px;
	vertical-align: middle;
}

.begard-ul-profile-role-badge {
	display: inline-block;
	padding: 3px 12px;
	font-size: 0.8rem;
	font-weight: 600;
	background: #2563eb;
	color: #fff;
	border-radius: 6px;
}

.begard-ul-profile-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
	align-items: start;
}

.begard-ul-profile-field {
	margin: 0;
	min-width: 0;
}

.begard-ul-profile-field--full {
	grid-column: 1 / -1;
}

.begard-ul-profile-field__head {
	margin-bottom: 8px;
}

.begard-ul-profile-field__label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	color: #1f2937;
	margin: 0;
}

.begard-ul-profile-field__hint {
	display: block;
	margin-top: 4px;
	font-size: 0.8rem;
	color: #6b7280;
	line-height: 1.5;
	font-weight: 400;
}

.begard-ul-profile-field__legacy {
	margin: 8px 0 0;
	font-size: 0.8rem;
	color: #9ca3af;
}

.begard-ul-input,
.begard-ul-profile-field input.begard-ul-input,
.begard-ul-profile-field textarea.begard-ul-input,
.begard-ul-profile-field select.begard-ul-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.9rem;
	line-height: 1.4;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.begard-ul-input:focus {
	border-color: #2563eb;
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.begard-ul-input:disabled {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}

.begard-ul-location__row,
.begard-ul-response-time__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.begard-ul-location__sub-label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8rem;
	font-weight: 500;
	color: #4b5563;
}

.begard-ul-socials__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}

.begard-ul-socials__row {
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr auto;
	gap: 10px;
	align-items: center;
}

.begard-ul-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	line-height: 1.3;
}

.begard-ul-btn--ghost {
	background: #f9fafb;
	border-color: #d1d5db;
	color: #374151;
}

.begard-ul-btn--ghost:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.begard-ul-btn--danger {
	width: 36px;
	height: 36px;
	padding: 0;
	background: #fef2f2;
	border-color: #fecaca;
	color: #b91c1c;
	font-size: 1.25rem;
}

.begard-ul-btn--danger:hover {
	background: #fee2e2;
}

.begard-ul-profile-submit {
	margin: 24px 0 0;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

.begard-ul-profile-notice {
	margin-bottom: 14px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.9rem;
}

.begard-ul-profile-notice--success {
	background: #ecfdf5;
	border: 1px solid #6ee7b7;
	color: #065f46;
}

.begard-ul-profile-dl {
	margin: 0;
}

.begard-ul-profile-dl__row {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 12px 20px;
	padding: 14px 0;
	border-bottom: 1px solid #f3f4f6;
	align-items: start;
}

.begard-ul-profile-dl__row:last-child {
	border-bottom: 0;
}

.begard-ul-profile-dl dt {
	margin: 0;
	font-weight: 600;
	font-size: 0.9rem;
	color: #374151;
}

.begard-ul-profile-dl dd {
	margin: 0;
	color: #4b5563;
	font-size: 0.9rem;
	line-height: 1.6;
	word-break: break-word;
}

.begard-ul-profile-social-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.begard-ul-profile-social-list li + li {
	margin-top: 8px;
}

.begard-ul-profile-social-list a {
	color: #2563eb;
	text-decoration: none;
}

.begard-ul-profile-social-list a:hover {
	text-decoration: underline;
}

.begard-ul-profile-block--dashboard {
	margin-top: 28px;
}

.begard-ul-profile-about {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.begard-ul-profile-about .begard-ul-profile-panel {
	border: 0;
	box-shadow: none;
	padding: 0;
	background: transparent;
}

.begard-ul-profile-panel__subtitle {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
	color: #1f2937;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.begard-ul-profile-role-line {
	margin: 0 0 12px;
}

.begard-ul-profile-guest-notice {
	margin-top: 16px;
	padding: 16px 18px;
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 10px;
}

.begard-ul-profile-guest-notice__text {
	margin: 0 0 12px;
	color: #92400e;
	font-size: 0.9rem;
	line-height: 1.6;
}

.begard-ul-profile-guest-notice__actions {
	margin: 0;
}

.begard-ul-profile-guest-notice__btn {
	display: inline-block;
	text-decoration: none;
}

@media (max-width: 768px) {
	.begard-ul-profile-panel {
		padding: 18px 16px;
	}

	.begard-ul-profile-fields {
		grid-template-columns: 1fr;
	}

	.begard-ul-location__row,
	.begard-ul-response-time__row {
		grid-template-columns: 1fr;
	}

	.begard-ul-socials__row {
		grid-template-columns: 1fr;
	}

	.begard-ul-profile-dl__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
