* {margin:0; padding:0; box-sizing:border-box; font-family:'Segoe UI',Tahoma,Arial,sans-serif;}

body {
  background:#f7f7f7;
  color:#333;
}

/* ===== الهيدر ===== */
.bank-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f7f7f7;
  padding:10px 20px;
  border-bottom:1px solid #ddd;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-left {
  display:flex;
  align-items:center;
  gap:15px;
}

.login-btn {
  background:#f37021;
  color:#fff;
  font-weight:bold;
  padding:10px 18px;
  border-radius:0;
  text-decoration:none;
  transition:.3s;
}
.login-btn:hover {background:#d95f18;}

.phone-icon img {height:22px;}
.bank-logo {height:28px;}

.header-right .menu-toggle {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
}
.menu-toggle span {
  display:block;
  width:24px;
  height:2px;
  background:#333;
  border-radius:2px;
}

/* ===== الفورم ===== */
.main-content {
  display:flex;
  justify-content:center;
  align-items:center;
  padding:40px 20px;
}

.login-card {
  background:#fff;
  border-radius:10px;
  padding:30px;
  max-width:350px;
  width:100%;
  box-shadow:0 4px 15px rgba(0,0,0,0.1);
  text-align:center;
}

.form-logo {width:60px; margin-bottom:15px;}
.login-card h2 {margin-bottom:20px; color:#333;}

.login-card input {
  width:100%;
  padding:12px;
  margin:8px 0;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:14px;
}

.submit-btn {
  width:100%;
  background:#f37021;
  border:none;
  color:#fff;
  padding:12px;
  margin-top:10px;
  border-radius:6px;
  font-weight:bold;
  cursor:pointer;
}
.submit-btn:hover {background:#e55d12;}

.note {margin-top:10px; color:#f37021; font-weight:bold; font-size:13px;}
.app-link {margin-top:15px; font-size:14px; color:#444;}

/* ===== الفوتر ===== */
.footer {
  margin-top:30px;
  padding:15px;
  background:#fff;
  display:flex;
  justify-content:flex-start;
}
.contact-box {
  display:flex;
  align-items:center;
  background:#f37021;
  color:#fff;
  border-radius:50px;
  padding:5px 15px;
  gap:10px;
}
.contact-img {
  width:40px;
  height:40px;
  border-radius:50%;
  border:2px solid #fff;
}

/* Responsive */
@media(max-width:768px){
  .bank-logo {height:24px;}
  .login-btn {padding:8px 14px; font-size:14px;}
  .menu-toggle span {width:20px;}
}
/* ===== شاشة التحميل ===== */
.loading-screen {
  position:fixed;
  inset:0;
  display:none;
  justify-content:center;
  align-items:center;
  background:rgba(0,0,0,0.8);
  z-index:9999;
  animation: fadeIn 0.3s ease forwards;
}

.loading-logo img {
  width:100px;
  opacity:0;
  animation: logoAnim 2s ease forwards;
}

@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}

@keyframes logoAnim {
  0% {opacity:0; transform:scale(0.5);}
  50% {opacity:1; transform:scale(1.1);}
  100% {opacity:1; transform:scale(1);}
}
/* خطأ الإدخال */
.error-text {
  display:block;
  margin-top:5px;
  color:red;
  font-size:13px;
}
.countdown {
  margin-top:10px;
  font-size:16px;
  color:#2a2a2a;
  font-weight:bold;
}
.sub-text {
  font-size:13px;
  color:#555;
  margin-bottom:15px;
}
.sub-text {
  font-size:13px;
  color:#555;
  margin-bottom:15px;
}
.input-group {
  position: relative;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.input-group input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  padding-left: 40px; /* مساحة لعلامة السؤال */
}

/* مربع علامة السؤال */
.help-icon {
  position: absolute;
  left: 10px; /* صار بالشمال */
  top: 50%;
  transform: translateY(-50%);
  background: #999;
  color: #fff;
  border-radius: 4px;
  width: 22px;
  height: 22px;
  font-size: 14px;
  text-align: center;
  line-height: 22px;
  cursor: pointer;
  user-select: none;
}

/* Tooltip */
.help-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
  max-width: 220px; /* عرض ثابت */
  white-space: normal; /* يسمح بالنزول لسطر جديد */
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 10;
}

/* عند الضغط */
.help-icon.active::after {
  opacity: 1;
}

/* متجاوب مع الموبايل */
@media (max-width: 480px) {
  .help-icon::after {
    max-width: 160px;
    font-size: 12px;
    left: 25px;
  }
}
