* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
}

.app-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.app-wrapper--otp {
    max-width: 420px;
}

.app-wrapper--pass {
    max-width: 520px;
}

.banner img,
.footer-banner img {
    width: 100%;
    max-width: 640px;
    display: block;
}

.form-container {
    max-width: 640px;
    width: 100%;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.form-container h2 {
    color: #003366;
    margin-bottom: 10px;
}

.form-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
}

.phone-input {
    display: flex;
    align-items: center;
    width: 100%;
}

.phone-input span {
    padding: 8.5px 10px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.phone-input input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    color: #333;
    flex: 1;
    box-sizing: border-box;
}

.phone-placeholder {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    padding-left: 2px;
    text-align: left;
    margin-bottom: 15px;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.otp-input:focus {
    border-color: #007bff;
}

.submit-button {
    min-width: 120px;
    padding: 12px;
    background-color: #1DA446;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.submit-button:hover {
    background-color: #0056b3;
}

.resend-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.resend-link:hover {
    text-decoration: underline;
}

.scroll-container {
    width: 100%;
    max-height: 220px;
    overflow: hidden;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

.item {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
}

.item img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.item .info {
    display: flex;
    flex-direction: row;
    gap: 5px;
    font-size: 16px;
    color: #333;
}

.item:hover {
    background-color: #f9f9f9;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

html[dir="rtl"] body { direction: rtl; }
html[dir="ltr"] body { direction: ltr; }

.premium-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  width: 100%;
  max-width: 280px;
  position: relative;
}
.p-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #888;
  background: rgba(150, 150, 150, 0.08);
  border: 1px solid rgba(150, 150, 150, 0.2);
  transition: all 0.5s ease-in-out;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.p-line {
  flex: 1;
  height: 3px;
  background: rgba(150, 150, 150, 0.15);
  transition: all 0.5s ease-in-out;
  z-index: 1;
  margin: 0 -2px;
}
.p-step.active {
  background: linear-gradient(135deg, #18B83A, #28E050);
  color: #ffffff;
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}
.p-step.active::before {
  content: '';
  position: absolute;
  top: -3px; right: -3px; bottom: -3px; left: -3px;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFDF00, #D4AF37, #FFF8DC);
}
.p-step.dimmed {
  background: #18B83A;
  color: #ffffff;
  border: 1px solid #14932d;
  transform: scale(1);
  box-shadow: none;
}
.p-line.active {
  background: linear-gradient(90deg, #18B83A, #FFDF00);
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}
@keyframes premiumPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}
.p-step.pulse {
  animation: premiumPulse 1.5s infinite;
}

