/* Bedaya Registration — CR-002 Phase 1 */
.bo-reg .bo-hidden { display: none !important; }
.bo-pass-wrap { position: relative; }
.bo-pass-wrap input { padding-inline-end: 64px !important; }
.bo-eye {
	position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%);
	background: transparent; border: 0; color: #1a56db; font-size: 13px; cursor: pointer; padding: 4px 6px;
}
.bo-eye:focus-visible { outline: 2px solid #1a56db; border-radius: 4px; }
.bo-hint { font-size: 12px; color: #555; margin-top: 4px; }
.bo-msg { font-size: 13px; color: #b42318; margin-top: 4px; min-height: 0; }
.bo-msg:empty { display: none; }
.bo-invalid { border-color: #b42318 !important; }
.bo-wa-help {
	position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 9999;
	background: #25d366; color: #fff !important; text-decoration: none; font-weight: 600;
	padding: 10px 16px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); font-size: 14px;
}
.bo-wa-help:focus-visible { outline: 3px solid #0b5; }
/* v0.1.1: Tutor Pro's password block is left-aligned; align it like the other fields (right in Arabic). */
.bo-reg .tutor-password-strength-checker,
.bo-reg .tutor-password-field,
.bo-reg .tutor-password-field label,
.bo-reg .bo-hint { text-align: start; }
/* v0.1.2: WhatsApp button never covers the form on phones */
@media (max-width: 782px) {
	body.bo-has-wa { padding-bottom: 72px; }
	body.bo-typing .bo-wa-help { display: none !important; }
	.bo-wa-help { padding: 8px 14px; font-size: 13px; bottom: 12px; }
}
/* v0.1.2: REG-CM-01 [bedaya_start] */
.bo-start { display: grid; gap: 14px; max-width: 520px; margin: 24px auto; }
.bo-start-btn {
	display: block; padding: 18px 20px; border-radius: 12px; border: 2px solid #1a56db; background: #fff;
	color: #1a2b4c !important; text-decoration: none; text-align: start; transition: background .15s;
}
.bo-start-btn strong { display: block; font-size: 20px; color: #1a56db; margin-bottom: 4px; }
.bo-start-btn span { font-size: 14px; color: #555; }
.bo-start-btn:hover, .bo-start-btn:focus-visible { background: #eef3ff; outline: none; }
.bo-start-login { text-align: center; margin-top: 6px; }
.bo-pass-wrap > input { margin-bottom: 0 !important; }
/* v0.2.0 REG-ST-08 */
.bo-stage-select { width: 100%; min-height: 44px; }
.bo-btn { display: inline-block; background: #1a56db; color: #fff !important; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.bo-mystage { max-width: 1100px; margin: 24px auto; }
.bo-stage-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.bo-stage-pick .bo-stage-select { flex: 1 1 260px; width: auto; }
.bo-mystage-title { font-size: 24px; margin: 6px 0 16px; }
.bo-mystage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.bo-mystage-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; padding: 12px; text-decoration: none; color: #1a2b4c !important; }
.bo-mystage-card img, .bo-mystage-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; background: #eef3ff; display: block; height: auto; }
.bo-mystage-card strong { font-size: 16px; line-height: 1.5; }
.bo-mystage-card .bo-btn { align-self: flex-start; font-size: 14px; }
.bo-mystage-empty { background: #f8fafc; border: 1px dashed #c7d2fe; border-radius: 12px; padding: 18px; }
.bo-mystage-all { margin-top: 16px; }
.bo-stage-bar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 9998; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: #0b1f44; color: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 14px; }
.bo-stage-later { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 8px; padding: 7px 12px; cursor: pointer; }
body.bo-has-wa .bo-stage-bar { bottom: 68px; }
.bo-archive-note { background: #eef3ff; border: 1px solid #c7d2fe; color: #1a2b4c; border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; font-size: 14px; }
.bo-archive-note a { margin-inline-start: 8px; font-weight: 600; }
