/* تنسيق صفحة دخول اللوحة: خانة الإيميل وكلمة السر والزرار بنفس الثيم. تنسيق بس، مفيش أي تغيير في الـ id أو الـ JS */
#passcode-gate .passcode-input-container,
#passcode-gate .passcode-input-container > div {
  display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 12px !important; width: 100% !important;
}
#passcode-gate .passcode-card input,
#passcode-gate .passcode-input-container input {
  box-sizing: border-box !important; width: 100% !important; height: 52px !important; min-height: 52px !important; flex: none !important; margin: 0 !important; padding: 0 16px !important;
  background: #0d1729 !important; color: #fff !important; -webkit-text-fill-color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.3) !important; border-radius: var(--border-radius-md, 14px) !important;
  font-family: inherit !important; font-size: 16px !important; font-weight: 500 !important; text-align: right !important; direction: rtl;
  letter-spacing: 0 !important; word-spacing: 0 !important; outline: none !important; box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease; appearance: none; -webkit-appearance: none;
}
/* البريد الإلكتروني بيتكتب بحروف إنجليزي، فنكتبه من الشمال */
#passcode-gate input[type="email"] { direction: ltr; text-align: left !important; }
#passcode-gate input[type="email"]::placeholder { direction: rtl; text-align: right; }
/* كلمة السر: التباعد بين الحروف بس لما يكتب (النقط)، مش في الـ placeholder (ده اللي كان بيبوّظ الحروف العربي) */
#passcode-gate input[type="password"] { text-align: left !important; direction: ltr; }
#passcode-gate input[type="password"]:placeholder-shown { text-align: right !important; direction: rtl; }
#passcode-gate input[type="password"]:not(:placeholder-shown) { letter-spacing: 6px !important; font-size: 20px !important; }
#passcode-gate .passcode-card input::placeholder { color: rgba(160, 174, 196, 0.75) !important; -webkit-text-fill-color: rgba(160, 174, 196, 0.75); letter-spacing: 0 !important; opacity: 1; font-size: 15px; }
#passcode-gate .passcode-card input:focus {
  border-color: #f59e0b !important; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18), 0 0 18px rgba(245, 158, 11, 0.25) !important;
}
#passcode-gate .passcode-card input:-webkit-autofill {
  -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 100px #121c33 inset !important; caret-color: #fff;
}
#passcode-gate #submit-passcode {
  width: 100% !important; height: 52px !important; margin: 4px 0 0 !important; border: none !important; border-radius: var(--border-radius-md, 14px) !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%) !important; color: #1a1205 !important; -webkit-text-fill-color: #1a1205;
  font-family: inherit !important; font-size: 17px !important; font-weight: 800 !important; cursor: pointer;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.28) !important; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
#passcode-gate #submit-passcode:hover { filter: brightness(1.06); box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4) !important; }
#passcode-gate #submit-passcode:active { transform: translateY(1px); }
#passcode-gate #submit-passcode:focus-visible { outline: 3px solid rgba(245, 158, 11, 0.5); outline-offset: 2px; }
