.bms-join {
	--join-green: #1f8f55;
	--join-green-dark: #126d3f;
	--join-green-soft: #eaf7ef;
	--join-yellow: #ffd500;
	--join-ink: #2f332f;
	--join-muted: #6f766f;
	--join-line: #dfe7e1;
	--join-bg: #f5f7f5;
	--join-shadow: 0 18px 45px rgba(26, 72, 47, .1);
	direction: rtl;
	color: var(--join-ink);
	background: var(--join-bg);
	line-height: 1.55;
}

.bms-join *,
.bms-join *::before,
.bms-join *::after { box-sizing: border-box; }
.bms-join button,
.bms-join input,
.bms-join textarea,
.bms-join select { font: inherit; }
.bms-join [hidden] { display: none !important; }
.bms-join__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.bms-join__container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.bms-join__hero {
	padding: 64px 0 48px;
	color: #fff;
	background: radial-gradient(circle at 15% 15%, rgba(255,255,255,.16), transparent 30%), linear-gradient(135deg, var(--join-green-dark), #28a967);
}

.bms-join__hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.bms-join__hero h1 { margin: 14px 0; color: inherit; font-size: clamp(40px, 5vw, 66px); line-height: 1.05; }
.bms-join__hero-copy > p { max-width: 680px; color: rgba(255,255,255,.9); font-size: 19px; }

.bms-join__pill { display: inline-flex; align-items: center; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.bms-join__pill--dark { border: 1px solid rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.14); }
.bms-join__pill--green { color: var(--join-green-dark); background: var(--join-green-soft); }

.bms-join__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s, opacity .2s;
}
.bms-join__button:hover { transform: translateY(-1px); }
.bms-join__button:focus-visible,
.bms-join__plan-option:focus-visible,
.bms-join__upload-button:focus-visible,
.bms-join__privacy input:focus-visible + label {
	outline: 3px solid #0b5fcc;
	outline-offset: 3px;
}
.bms-join__button:disabled { opacity: .55; cursor: wait; }
.bms-join__button--primary { color: #222; background: var(--join-yellow); }

.bms-join__card { border: 1px solid var(--join-line); border-radius: 22px; background: #fff; box-shadow: var(--join-shadow); }
.bms-join__plan-selector { padding: 25px; color: var(--join-ink); }
.bms-join__plan-selector > h2 { margin: 0 0 5px; }
.bms-join__plan-selector > p { margin: 0 0 18px; color: var(--join-muted); }
.bms-join__plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

body button.bms-join__plan-option {
	position: relative;
	padding: 18px;
	border: 2px solid var(--join-line);
	border-radius: 18px;
	color: var(--join-ink);
	background: #fff;
	text-align: right;
	cursor: pointer;
}
body button.bms-join__plan-option.is-selected { border-color: var(--join-green); background: var(--join-green-soft); box-shadow: 0 0 0 4px rgba(31,143,85,.09); }
body button.bms-join__plan-option:disabled { opacity: .55; cursor: not-allowed; }
.bms-join__plan-heading { display: flex; justify-content: space-between; gap: 10px; }
.bms-join__plan-heading strong { font-size: 23px; }
.bms-join__plan-heading b { color: var(--join-green-dark); }
.bms-join__plan-option ul { margin: 12px 0 0; padding: 0; list-style: none; }
.bms-join__plan-option li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; font-size: 14px; }
.bms-join__plan-option li::before { content: "✓"; display: grid; flex: 0 0 auto; width: 19px; height: 19px; place-items: center; border-radius: 50%; color: var(--join-green-dark); background: #fff; font-size: 12px; font-weight: 900; }
.bms-join__plan-option li.is-off { color: #8d938e; }
.bms-join__plan-option li.is-off::before { content: "–"; color: #999; background: #f0f1f0; }
.bms-join__plan-status { margin-top: 16px; padding: 15px; border: 1px solid #cfe5d7; border-radius: 15px; background: linear-gradient(135deg, #f2fbf5, #fff); }
.bms-join__plan-status strong { color: var(--join-green-dark); }
.bms-join__plan-status p { margin: 4px 0 0; color: var(--join-muted); font-size: 14px; }
.bms-join__admin-notice { padding: 10px 12px; border-radius: 10px; color: #7a6200 !important; background: #fff4c7; font-size: 13px; }

.bms-join__section { padding: 68px 0; }
.bms-join__section-title { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.bms-join__section-title h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.bms-join__section-title p { margin: 0; color: var(--join-muted); font-size: 18px; }
.bms-join__compare-wrap { overflow: auto; border: 1px solid var(--join-line); border-radius: 20px; background: #fff; }
.bms-join__compare { width: 100%; min-width: 680px; border-collapse: collapse; }
.bms-join__compare th,
.bms-join__compare td { padding: 14px 16px; border-bottom: 1px solid var(--join-line); text-align: center; }
.bms-join__compare th:first-child,
.bms-join__compare td:first-child { text-align: right; }
.bms-join__compare thead th { color: var(--join-green-dark); background: #eef8f2; }
.bms-join__compare tr:last-child td { border-bottom: 0; }

.bms-join__form { position: relative; max-width: 960px; margin: auto; padding: 32px; }
.bms-join__form-section { padding: 24px 0; border-bottom: 1px solid var(--join-line); }
.bms-join__form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.bms-join__form-head h2 { margin: 0 0 4px; font-size: 24px; }
.bms-join__form-head p { margin: 0; color: var(--join-muted); }
.bms-join__form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.bms-join__field { display: flex; flex-direction: column; gap: 7px; }
.bms-join__field--full { grid-column: 1 / -1; }
.bms-join__field > span:first-child { font-size: 14px; font-weight: 800; }
.bms-join__field input,
.bms-join__field textarea,
.bms-join__field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbd6ce; border-radius: 13px; outline: none; background: #fff; }
.bms-join__field textarea { min-height: 120px; resize: vertical; }
.bms-join__field input:focus,
.bms-join__field textarea:focus,
.bms-join__field select:focus { border-color: var(--join-green); box-shadow: 0 0 0 3px rgba(31,143,85,.12); }

.bms-join__upload { display: flex; min-height: 130px; align-items: center; justify-content: center; flex-direction: column; padding: 20px; border: 2px dashed #bdc9c0; border-radius: 16px; color: var(--join-muted); background: #fafcfb; text-align: center; cursor: pointer; }
.bms-join__upload strong { display: block; color: var(--join-ink); }
.bms-join__upload small { margin-bottom: 12px; }
.bms-join__field .bms-join__file-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.bms-join__upload-button {
	min-height: 42px;
	padding: 8px 18px;
	border: 1px solid var(--join-green);
	border-radius: 999px;
	color: #fff;
	background: var(--join-green-dark);
	font-weight: 800;
	cursor: pointer;
}
.bms-join__file-status { margin-top: 8px; color: var(--join-muted); font-size: 13px; }
.bms-join__preview { width: 100%; margin-top: 16px; }
.bms-join__preview:empty { display: none; }
.bms-join__preview figure { flex: 0 0 auto; margin: 0; }
.bms-join__preview img {
	display: block;
	width: 104px;
	height: 104px;
	border: 1px solid var(--join-line);
	border-radius: 12px;
	object-fit: cover;
	background: #fff;
}
.bms-join__preview--single { display: flex; justify-content: center; }
.bms-join__preview--cover img { width: min(280px, 100%); aspect-ratio: 16 / 7; height: auto; }
.bms-join__preview--gallery {
	display: flex;
	gap: 10px;
	max-width: 100%;
	overflow-x: auto;
	padding: 2px 2px 8px;
	scrollbar-width: thin;
}
.bms-join__privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-top: 22px;
	font-weight: 700;
}
.bms-join__privacy input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--join-green-dark); }
.bms-join__privacy a { color: var(--join-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.bms-join__error {
	max-width: 960px;
	margin: 0 auto 18px;
	padding: 14px 18px;
	border: 2px solid #b42318;
	border-radius: 12px;
	color: #7a1710;
	background: #fff1f0;
	font-weight: 800;
}
.bms-join__form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 24px; }
.bms-join__form-actions small { max-width: 620px; color: var(--join-muted); }
.bms-join__loading { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: inherit; background: rgba(255,255,255,.82); font-weight: 800; }
.bms-join__loading span { width: 24px; height: 24px; border: 3px solid #d7e7dc; border-top-color: var(--join-green); border-radius: 50%; animation: bms-join-spin .7s linear infinite; }
@keyframes bms-join-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	.bms-join *,
	.bms-join *::before,
	.bms-join *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.bms-join__success { max-width: 760px; margin: 40px auto; padding: 40px; border: 1px solid var(--join-line); border-radius: 22px; background: #fff; box-shadow: var(--join-shadow); text-align: center; }
.bms-join__success-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 18px; place-items: center; border-radius: 50%; color: var(--join-green-dark); background: var(--join-green-soft); font-size: 34px; font-weight: 900; }
.bms-join__success h1 { margin: 0 0 10px; font-size: 40px; }
.bms-join__success p { margin: 0 0 24px; color: var(--join-muted); font-size: 18px; }

@media (max-width: 1000px) {
	.bms-join__hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	.bms-join__hero { padding: 46px 0 38px; }
	.bms-join__plan-grid,
	.bms-join__form-grid { grid-template-columns: 1fr; }
	.bms-join__section { padding: 48px 0; }
	.bms-join__form { padding: 22px; }
	.bms-join__form-actions { align-items: stretch; flex-direction: column; }
	.bms-join__form-actions .bms-join__button { width: 100%; }
	.bms-join__success { padding: 30px 22px; }
	.bms-join__success h1 { font-size: 32px; }
}