/* ===== Modal Content ===== */
.modal-content {
  padding: 16px;
  background: #fff;
  overflow-y: auto;
}

/* ===== Sections ===== */
.form-section {
  margin-bottom: 20px;
}

/* ===== Labels ===== */
.form-section label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* ===== Inputs ===== */
.form-section input[type="text"],
.form-section input[type="tel"] {
  width: 100%;
  box-sizing: border-box;

  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;

  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;

  outline: none;
}

.form-section input:focus {
  border-color: #431C7C;
}

/* ===== Phone Row ===== */
.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.country-code {
  padding: 12px 10px;
  border-radius: 10px;
  background: #f3f3f3;
  font-size: 14px;
  color: #555;
  border: 1px solid #ddd;
}

/* ===== Send Code Button ===== */
#sendVerificationCodeBtn {
  margin-top: 12px;
  width: 100%;
  height: 42px;

  border-radius: 12px;
  border: none;

  background: #431C7C;
  color: #fff;
  font-size: 15px;
  font-weight: 500;

  cursor: pointer;
}

/* ===== Verification Section ===== */
#verificationSection {
  margin-top: 12px;
}

/* ===== Verification Code Inputs ===== */
.verification-code-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.verification-code-row input {
  width: 100%;
  max-width: 42px;
  height: 42px;

  text-align: center;
  font-size: 18px;
  font-weight: 500;

  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
}

.verification-code-row {
  direction: ltr;
}

input.verified {
  background: #f2f2f2;
  color: #777;
}


.verification-code-row input:focus {
  border-color: #431C7C;
}

/* ===== Verification Hint ===== */
.verification-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

#resendCodeBtn {
  color: #431C7C;
  font-weight: 500;
  cursor: pointer;
}


/* שינוי פרטים */
.change-details {
  margin-top: 10px;
  text-align: left;
}

#changeDetailsLink {
  color: #1a73e8;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

/* שדות נעולים אחרי אימות */
input.verified {
  background: #eef4ff;
  color: #555;
}

/* helper */
.hidden {
  display: none;
}


.anikan-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #323232;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 90%;
  text-align: center;
}

.anikan-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.anikan-toast.success {
  background: linear-gradient(to right, #2e7d32, #43a047);
}

.anikan-toast.error {
  background: linear-gradient(to right, #b71c1c, #e53935);
}

.anikan-toast.info {
  background: linear-gradient(to right, black, #431C7C);
}

.order-pay-btn {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;

  background: linear-gradient(to right, black, #431C7C);
  color: #fff;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;
}

/* ===== Force COLORFUL Pay Button ===== */
#submitOrderButton,
#orderPayButton,
#continueToPayment,
#continueFromDelivery {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;

  background: linear-gradient(
    90deg,
    #431C7C 0%,
    #8B2FC9 35%,
    #C13584 65%,
    #E53935 100%
  );
  color: #fff;

  font-size: 16px;
  font-weight: 700;
  cursor: pointer;

  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.35);
}

#orderPayButton:hover,
#continueToPayment:hover,
#continueFromDelivery:hover {
  filter: brightness(1.05);
}

