@font-face { font-family: 'SwaEstedad'; src: url('fonts/Estedad.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
/* فرم ورود با پیامک؛ هم‌خانوادهٔ پنل (تم استخر) */
@font-face { font-family: 'SwaVazir'; src: url('fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
.swa-box {
	--ink: #0e1726; --aqua: #1747d6; --aqua-d: #0f33a0; --line: #e1e8f3; --tile: #eef3fb; --muted: #5a6880;
	position: relative;
	max-width: 400px;
	margin: 1.5rem auto;
	padding: 1.6rem 1.4rem 1.4rem;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	color: var(--ink);
	font: 400 1rem/1.9 'SwaEstedad', 'SwaVazir', Vazirmatn, Tahoma, system-ui, sans-serif;
	overflow: hidden;
}
.swa-box::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 7px; background: repeating-linear-gradient(90deg, #2dd4bf 0 14px, #fff 14px 28px, #1747d6 28px 42px, #fff 42px 56px); }
.swa-box label { display: block; margin-bottom: .3rem; font-weight: 600; }
.swa-box input[type="tel"], .swa-box input[type="text"] {
	width: 100%; box-sizing: border-box; padding: .7rem .8rem; margin-bottom: .9rem;
	border: 1px solid #8d9bb5; border-radius: 10px; font: inherit; font-size: 1.15rem; letter-spacing: .08em; text-align: left; background: #fff; color: var(--ink);
}
.swa-box input:focus-visible, .swa-btn:focus-visible { outline: 3px solid #3b6bff; outline-offset: 2px; }
.swa-box fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 .9rem; padding: .6rem .9rem; }
.swa-box fieldset label { font-weight: 400; display: block; margin: .25rem 0; }
.swa-btn { display: inline-block; padding: .6rem 1.3rem; border: 1px solid var(--aqua); border-radius: 10px; background: var(--aqua); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.swa-btn:hover { background: var(--aqua-d); }
.swa-btn[disabled] { opacity: .6; cursor: progress; }
.swa-btn-secondary { background: #fff; color: var(--aqua-d); margin-inline-start: .5rem; }
.swa-msg { min-height: 1.5rem; margin: .9rem 0 0; color: #0f7b4f; }
.swa-msg.swa-error { color: #b42318; }
