/* --- Base Container --- */
/* Container for auth forms */
/* Wrapper for full screen center layout */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #0f0f8e; /* Or any base background */
  overflow: hidden; /* This keeps scrollbar hidden */
}
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers auth-container vertically */
  align-items: center;     /* Centers horizontally */
  background-color: #4242c9; /* Or your preferred background */
  overflow: hidden;
}

.auth-container {
  max-width: 400px;
  width: 100%;
  background: #5656d3;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-family: Arial, sans-serif;
  /* margin removed */
}

/* Title */
.auth-container h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
}


/* Form layout */
.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  padding: 12px 14px;
  margin-bottom: 16px;
  border: none;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 15px;
}

.auth-form input::placeholder {
  color: #555;
}

/* Password field group with icon */
.password-group {
  position: relative;
  margin-bottom: 16px;
}

.input-with-code {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.input-with-code span {
  padding: 8px 12px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-weight: bold;
}
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.phone-row select,
.phone-row input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#countrySelect {
  width: 140px;
}

#countryCode {
  width: 70px;
  background: #f0f0f0;
  text-align: center;
}

#mobileNumber {
  flex: 1;
}

.password-group input {
  width: 93%;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

/* Checkbox label aligned */
.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
  color: #fff;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
}

/* Sign Up / Sign In button */
.auth-form button[type="submit"] {
  background-color: #ffffff;
  color: #0f0f8e;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 14px;
  transition: background-color 0.3s;
}

.auth-form button[type="submit"]:hover {
  background-color: #cddfff;
}

/* Google Button */
.google-btn-icon {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  margin-bottom: 14px;
}

.google-btn-icon img {
  width: 33px;
  height: 30px;
}

.google-btn-icon:hover {
  background-color: #f1f1f1;
}

/* Divider text */
.or-divider {
  text-align: center;
  color: #fff;
  margin: 16px 0;
  position: relative;
}

.or-divider::before,
.or-divider::after {
  content: "";
  display: inline-block;
  height: 1px;
  width: 35%;
  background: #ccc;
  vertical-align: middle;
  margin: 0 10px;
}

/* Switch Sign In/Sign Up link */
.switch-link {
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.switch-link a {
  color: #f1f1f1;
  text-decoration: underline;
}

.switch-link a:hover {
  color: #ddd;
}


/* --- Forgot Password --- */
.forgot-password {
  text-align: right;
  font-size: 13px;
  margin-top: -10px;
  margin-bottom: 15px;
}

.forgot-password a {
  color: #f0f0f0;
  text-decoration: underline;
}

.forgot-password a:hover {
  color: #ccc;
}
.select-group {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

.select-group select {
  width: 100%;
  padding: 10px 35px 10px 10px; /* Right padding for arrow */
  border-radius: 6px;
  border: 1px solid #af4949;
  font-size: 16px;
  background-color: #eceff0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

form {
  flex-grow: 1;
}

.recharge-card {
  background: #fff;
  margin: 40px auto;
  padding: 25px 30px;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(0,0,0,0.08);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.recharge-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
  background-color: #385de2;
  padding: 12px 0;
  border-radius: 12px;
  margin: 40px auto 80px;
}

.deposit-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #385de2;
  padding: 12px 15px;
  border-radius: 12px;
  cursor: pointer;
  background: #f9faff;
  transition: 0.3s ease;
}

.option:hover {
  background: #f0f3ff;
}

.option input[type="radio"] {
  transform: scale(1.3);
  margin-right: 12px;
}

.method-label {
  font-weight: 600;
  flex: 1;
  margin-left: 10px;
}

.option img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.amount-section label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  margin-top: 15px;
}

.amount-input {
  display: flex;
  align-items: center;
  border: 2px solid #385de2;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.amount-input span {
  font-size: 18px;
  margin-right: 8px;
  color: #333;
}

.amount-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: none;
}

.conversion,
.usd-display {
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
}

.confirm-btn {
  width: 100%;
  padding: 12px;
  background: #385de2;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.confirm-btn:hover {
  background: #2c47b8;
}

.info-note {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 15px;
}
/* Modal Background */
.modal {
  display: block; /* Change to 'none' if you're controlling it with JavaScript */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  font-size: 18px;
}
/* Header styling */
.header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #111; /* or your theme's header color */
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.back-arrow {
    margin-right: 15px;
    text-decoration: none;
    color: white;
    font-size: 20px;
}

/* Center content */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.placeholder {
    font-size: 18px;
    color: #888;
}

.timezone-info {
  font-size: 0.9em;
  color: #555;
  margin-top: 10px;
  text-align: center;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #ffffff;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.google-btn:hover {
  background-color: #f1f1f1;
}

.google-btn img {
  width: 20px;
  height: 20px;
}


