/*
 * انضم كمعلم (v9.3): نموذج الطلب بنفس لغة بطاقة الدخول:
 * رأس بطاقة بثقبين وخط تخريم، حقول مرقّمة بمربعات أيقونات، وقائمة شروط بفقاعات تظليل. بلا حركة.
 */
.tj { --tj-cut: 84px; align-items: start; gap: clamp(16px, 2.4vw, 28px); }
.tj-tw { min-width: 0; filter: drop-shadow(0 1px 1px rgba(59, 29, 122, .06)) drop-shadow(0 18px 30px rgba(59, 29, 122, .13)); }
.form-card.tj-card {
	display: block; padding: 0 !important; border: 0 !important; border-radius: 24px !important; box-shadow: none !important; background: #fff;
	-webkit-mask: radial-gradient(circle 13px at 0 var(--tj-cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tj-cut), #0000 97%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 13px at 0 var(--tj-cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--tj-cut), #0000 97%, #000) right / 51% 100% no-repeat;
}
.tj-stub { display: flex; align-items: center; gap: 14px; height: var(--tj-cut); padding: 0 clamp(18px, 3vw, 32px); border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #FFF6E2, #FFFCF5); border-bottom: 2px dashed #EBD9AE; }
.tj-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fff; color: var(--amber-ink); box-shadow: inset 0 0 0 1px #F1E2BC; }
.tj-ico svg { width: 22px; height: 22px; }
.tj-stub-txt { display: grid; line-height: 1.35; min-width: 0; }
.tj-stub-txt small { font-size: .78rem; font-weight: 700; color: #A57A2A; }
.tj-stub-txt h2 { margin: 0 !important; font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem) !important; color: var(--heading) !important; -webkit-text-fill-color: var(--heading) !important; background: none !important; }
.tj-stub-txt h2::before, .tj-stub-txt h2::after { display: none !important; }
.tj-chip { margin-inline-start: auto; padding: 6px 12px; border-radius: 10px; border: 1.5px dashed #E2C47E; background: #fff; font-size: .8rem; font-weight: 800; color: var(--amber-ink); white-space: nowrap; }

.tj-body { display: grid; gap: 14px; padding: 22px clamp(18px, 3vw, 32px) 6px; counter-reset: tjq;
	background:
		linear-gradient(#CDBFEF, #CDBFEF) right 14px top 14px / 9px 9px no-repeat,
		linear-gradient(#CDBFEF, #CDBFEF) left 14px top 14px / 9px 9px no-repeat; }
.tj .f-row { gap: 14px; }
.tj .tj-f { margin: 0; }
.tj .tj-f > label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: .88rem; font-weight: 800; color: var(--heading); }
.tj .tj-f > label::before { counter-increment: tjq; content: counter(tjq, decimal-leading-zero); display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 5px; border-radius: 7px; background: var(--tint); color: var(--brand); font-family: var(--font-latin); font-size: .72rem; font-weight: 600; }
.tj-opt { margin-inline-start: auto; padding: 1px 8px; border-radius: 99px; background: #F3F0FA; font-size: .7rem; font-weight: 700; color: var(--ink-2); }

.tj .tj-f input, .tj .tj-f select, .tj .tj-f textarea {
	width: 100%; height: 50px; padding: 0 56px 0 14px; border: 1.5px solid #E4DEF2 !important; border-radius: 14px; background-color: #fff !important; box-shadow: none !important;
	background-repeat: no-repeat; background-position: right 6px center; background-size: 38px 38px;
	font: inherit; font-weight: 600; color: var(--ink); transition: none;
}
.tj .tj-f select { -webkit-appearance: none; appearance: none; padding-left: 40px; background-position: right 6px center, left 14px center; background-size: 38px 38px, 18px 18px; cursor: pointer; }
.tj .tj-f textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.8; background-image: none !important; resize: vertical; }
.tj .tj-f input::placeholder, .tj .tj-f textarea::placeholder { color: #A39BB8; font-weight: 500; }
.tj .tj-f input[dir="ltr"]::placeholder { direction: rtl; text-align: right; }
.tj .tj-f input:focus, .tj .tj-f select:focus, .tj .tj-f textarea:focus { outline: 0; border-color: var(--brand) !important; box-shadow: 0 0 0 4px rgba(124, 77, 224, .12) !important; }
.tj .ti-user input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.6 4.4-5.2 8-5.2s6.5 1.6 8 5.2'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-user input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c1.5-3.6 4.4-5.2 8-5.2s6.5 1.6 8 5.2'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-mail input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.6'/%3E%3Cpath d='M4 7.5l8 5.8 8-5.8'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-mail input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.6'/%3E%3Cpath d='M4 7.5l8 5.8 8-5.8'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-globe select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235E5480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
.tj .ti-globe select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235E5480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
.tj .ti-book select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z'/%3E%3Cpath d='M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235E5480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
.tj .ti-book select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z'/%3E%3Cpath d='M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235E5480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }
.tj .ti-star input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-star input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.9l-5.2 2.7 1-5.8-4.3-4.1 5.9-.9z'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-phone input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%23EFEAFB'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%235B33C6' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.6'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/g%3E%3C/svg%3E") !important; }
.tj .ti-phone input:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' rx='11' fill='%235B33C6'/%3E%3Cg transform='translate(10.4 10.4) scale(.8)' fill='none' stroke='%23FFFFFF' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.6'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/g%3E%3C/svg%3E") !important; }

.tj-foot { margin-top: 16px; padding: 16px clamp(18px, 3vw, 32px) 22px; border-top: 2px dashed #E2D9F3; }
.tj .tj-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding-inline: 56px; border-radius: 16px; font-size: 1.02rem; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23fff'/%3E%3Cpath d='M21 12l-6 6 6 6' fill='none' stroke='%235B33C6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 10px center / 36px 36px no-repeat, linear-gradient(135deg, #6A3FD6, #4F2BB5) !important; box-shadow: 0 12px 22px -14px rgba(79, 43, 181, .9); }
.tj .tj-submit:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='18' fill='%23fff'/%3E%3Cpath d='M21 12l-6 6 6 6' fill='none' stroke='%235B33C6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left 10px center / 36px 36px no-repeat, linear-gradient(135deg, #5B33C6, #42239C) !important; transform: none; }
.tj .form-msg { margin: 0; }

/* الجانب: بطاقة شروط بفقاعات تظليل */
.tj-side { position: sticky; top: 96px; gap: 12px !important; padding: 22px !important; border: 0 !important; border-radius: 22px !important; background: #FFFCF5 !important; box-shadow: inset 0 0 0 1.5px #F1E2BC !important; }
.tj-side-k { justify-self: start; padding: 3px 12px; border-radius: 99px; background: var(--amber-bg); color: var(--amber-ink); font-size: .76rem; font-weight: 800; }
.tj-side h3 { margin: 0; font-size: 1.1rem; color: var(--heading); }
.tj-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tj-checks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px #F1E8D2; font-size: .9rem; font-weight: 600; color: var(--ink); }
.tj-checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: radial-gradient(circle, #fff 0 3px, var(--teal) 3.5px); }
.tj-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 12px; border-radius: 14px; background: var(--tint) !important; color: var(--heading) !important; font-size: .86rem; line-height: 1.7; }
.tj-note svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

@media (max-width: 900px) { .tj-side { position: static; } }
@media (max-width: 560px) {
	.tj { --tj-cut: 74px; }
	.tj-stub { gap: 10px; }
	.tj-ico { width: 40px; height: 40px; }
	.tj-chip { padding: 4px 8px; font-size: .72rem; }
	.tj-body { background-position: right 8px top 8px, left 8px top 8px; background-size: 7px 7px; }
}
@media (max-width: 380px) { .tj-chip { display: none; } }

/* عناوين أقسام الصفحة بنفس شارة عناوين «من نحن» (شريط بنفسجي ونعناعي) */
.block-sec > h2.h-md, .tj-side h3 { position: relative; display: flex !important; align-items: center; gap: 12px; color: var(--deep, #3B1D7A) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
.block-sec > h2.h-md { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem) !important; }
.block-sec > h2.h-md::after { display: none !important; }
.block-sec > h2.h-md::before, .tj-side h3::before { content: "" !important; position: static !important; display: block !important; width: 30px; height: 10px; flex: none; border-radius: 10px; background: linear-gradient(90deg, var(--violet, #5C35BD) 0 50%, var(--mint, #6BCCA5) 50%) !important; transform: none !important; }
.tj-side h3::before { width: 24px; height: 8px; }
