/* =========================
   STEP2ENGLISH - LOGIN PAGE ONLY
========================= */

/* إخفاء الدخول التقليدي */
body.path-login #login .group_1,
body.path-login #login .group_2,
body.path-login #login #loginbtn,
body.path-login #login input[name="username"],
body.path-login #login input[name="password"],
body.path-login #login button[type="submit"] {
  display: none !important;
}

/* شكل زر Google */
body.path-login .potentialidplist .potentialidp .btn-secondary {
  font-family: 'Nunito', sans-serif !important;
  color: #002E94 !important;
  font-weight: bold !important;
}

body.path-login .potentialidplist .potentialidp .btn-secondary:hover {
  color: #002E94 !important;
}

body.path-login .potentialidplist .potentialidp .btn-secondary:active,
body.path-login .potentialidplist .potentialidp .btn-secondary:focus {
  border-radius: 5px !important;
  font-size: 20px !important;
  background-color: #fff !important;
  border-color: #fff !important;
}

/* إخفاء Guest login */
body#page-login-index .mt-2 {
  display: none !important;
}

/* إخفاء روابط Signup والعنوان */
body.path-login #course-header,
body.path-login a[href*="login/signup.php"],
body.path-login a.flaticon-user-x[href*="signup.php"],
body.path-login .signup_place h4 {
  display: none !important;
}

/* مسافة أيقونة جوجل */
body.path-login .potentialidp .btn img {
  margin-right: 5px !important;
  margin-inline-end: 5px !important;
}

/* الرسالة أعلى الأزرار */
#page-login-index .potentialidplist::before,
body.pagelayout-login .potentialidplist::before {
  content: "يرجى تسجيل الدخول للمتابعة" !important;
  display: block !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: -6px !important;
  margin-bottom: 14px !important;
  white-space: nowrap !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,0.18) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
  color: rgba(255,255,255,0.98) !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45) !important;
  max-width: calc(100% - 24px) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
  direction: rtl !important;
  text-align: center !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* موبايل */
@media (max-width: 767px) {
  #page-login-index .potentialidplist::before,
  body.pagelayout-login .potentialidplist::before {
    font-size: 22px !important;
    padding: 11px 16px !important;
    margin-top: -4px !important;
    margin-bottom: 12px !important;
  }
}
