.mh-account-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.6rem 1rem;
	border: 1px solid #c9c9c9;
	background: #fff;
	cursor: pointer;
}

.mh-account-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	visibility: hidden;
	pointer-events: none;
}

.mh-account-modal.is-open {
	visibility: visible;
	pointer-events: auto;
}

.mh-account-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #2E2E2E33;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.mh-account-modal.is-open .mh-account-modal-overlay {
	opacity: 1;
}

.mh-account-modal-content {
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: transparent;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	overflow: hidden;
}

.mh-account-modal.is-open .mh-account-modal-content {
	transform: translateX(0);
}

.mh-account-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
}

body.mh-modal-open {
	overflow: hidden;
}

.mh-account-layout {
	display: flex;
	flex: 1;
	min-height: 0;
}

.mh-account-tabs {
	display: flex;
	flex-direction: column;
}

.mh-account-tab {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	text-align: inherit;
	cursor: pointer;
}

.mh-account-tab-content {
	display: flex;
	flex: 1;
	min-height: 0;
}

.mh-account-panel {
	display: none;
	flex: 1;
	min-height: 0;
	overflow-y: auto;
}

.mh-account-panel.active {
	display: flex;
	flex-direction: column;
}

.mh-account-readonly p {
	margin: 0 0 0.75rem;
}

.mh-account-notice {
	padding: 0.75rem 1rem;
	border-radius: 10px;
	margin-top: 1rem;
	font-size: 14px;
}

.mh-account-notice-success {
	background: #e6f6ec;
	color: #0f5132;
}

.mh-account-notice-error {
	background: #fde8e8;
	color: #842029;
}

.mh-account-form {
	margin: 0;
}

.mh-account-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
}

.mh-account-grid-single {
	grid-template-columns: 1fr;
}

.mh-account-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px;
}

.mh-account-field input {
	width: 100%;
	border: 1px solid transparent;
	background: #f6f6f6;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 16px;
	line-height: 1.4;
}

.mh-account-field select {
	width: 100%;
	border: 1px solid transparent;
	background: #f6f6f6;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 16px;
	line-height: 1.4;
}

.mh-account-field input:focus,
.mh-account-field select:focus {
	outline: none;
	border-color: #7d8471;
	background: #fff;
}

.mh-account-actions {
	margin-top: 24px;
}

.mh-account-save-btn {
	border: 0;
	background: #2f3a2b;
	color: #fff;
	padding: 12px 20px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
}

.mh-account-field-full {
	grid-column: 1 / -1;
}

.mh-account-hint {
	margin: 10px 0 0;
	color: #5f5f5f;
	font-size: 14px;
}

.mh-membership-registration input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]) {
	width: 100%;
}

.mh-membership-registration select {
	width: 100%;
}

.mh-form-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mh-expertise-checklist .mh-expertise-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mh-expertise-checklist .mh-expertise-list .mh-expertise-list {
	padding-left: 20px;
	margin-top: 8px;
}

.mh-expertise-checklist .mh-expertise-item {
	margin: 0 0 8px;
}

.mh-expertise-checklist .mh-expertise-item > label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mh-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
}

.mh-toggle-label input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mh-toggle-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
	flex: 0 0 44px;
	background: #c9c9cf;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.mh-toggle-switch::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform 0.2s ease;
}

.mh-toggle-label input[type="checkbox"]:checked + .mh-toggle-switch {
	background: #a0b73b;
}

.mh-toggle-label input[type="checkbox"]:checked + .mh-toggle-switch::after {
	transform: translateX(20px);
}

.mh-toggle-text {
	font-size: inherit;
	line-height: 1.2;
}

#team-members-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mh-team-member-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 2fr auto;
	gap: 16px;
	align-items: end;
}

.mh-remove-team-member {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 56px;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.mh-remove-team-member img {
	display: block;
	width: 24px;
	height: 24px;
}

#team-members-section #add-team-member {
	align-self: flex-start;
	display: inline-flex;
	width: auto;
}

.mh-upload-area {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border: 2px dashed #769c49;
	border-radius: 24px;
}

.mh-upload-area.is-dragover {
	background: rgba(118, 156, 73, 0.06);
}

.mh-upload-content {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mh-upload-icon {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
}

.mh-upload-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mh-upload-title {
	margin: 0;
	font-weight: 600;
}

.mh-upload-subtitle {
	margin: 0;
}

.mh-upload-area.has-file .mh-upload-subtitle {
	display: none;
}

.mh-upload-area input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#logo-upload-area #select-file-btn {
	display: inline-flex;
	width: auto;
	flex: 0 0 auto;
}

.mh-payment-card {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding: 28px;
	background: #f4f4f4;
	border-radius: 20px;
}

.mh-price-main {
	margin: 0;
	text-align: center;
}

.mh-price-period {
	margin: 0;
	text-align: center;
}

.mh-payment-divider {
	height: 1px;
	background: #e1e1e1;
}

.mh-price-breakdown {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mh-price-breakdown p {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
}

.mh-price-breakdown .mh-total {
	font-weight: 700;
}

.mh-or-divider {
	margin: 0;
	text-align: center;
}

@media (max-width: 768px) {
	.mh-team-member-grid {
		grid-template-columns: 1fr;
	}

	.mh-remove-team-member {
		width: 24px;
		height: 24px;
	}

	.mh-upload-area {
		flex-direction: column;
		align-items: flex-start;
	}

	.mh-account-modal-content {
		width: 100%;
	}

	.mh-account-layout {
		flex-direction: column;
	}

	.mh-account-tabs {
		flex-direction: row;
		min-width: auto;
		border-left: none;
		border-bottom: 2px solid #e0e0e0;
	}

	.mh-account-tab {
		border-left: none;
		border-bottom: 3px solid transparent;
		margin-left: 0;
	}

	.mh-account-tab.active {
		border-bottom-color: #7d8471;
	}

	.mh-account-grid {
		grid-template-columns: 1fr;
	}
}
