/* Reseller Plans Row Layout */
.reseller-plans-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

/* Plan Card Styles */
.reseller-plan-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}

.reseller-plan-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.plan-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
  margin-top: 0px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff1493;
  margin-bottom: 0.5rem;
}

.plan-duration {
  font-size: 1rem;
  font-weight: 400;
  color: #888;
  margin-left: 0.2rem;
}

.plan-discount {
  background: #ffe3f2;
  color: #ff1493;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  background: linear-gradient(90deg, #ff1493 0%, #ff6fcf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 20, 147, 0.08);
  transition: background 0.2s, transform 0.1s;
}

.cta-btn:hover {
  background: linear-gradient(90deg, #c2006a 0%, #ff1493 100%);
  transform: translateY(-2px) scale(1.04);
}

.pachi-image-reseller {
  vertical-align: middle;
  margin: 0px;
}

/* Responsive */
@media (max-width: 800px) {
  .reseller-plans-row {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .reseller-plan-card {
    width: 90%;
    min-width: unset;
    max-width: 400px;
  }
}

/* Reseller One-Time Section Styles */
.reseller-onetime-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
  margin: 0 auto 0 auto;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reseller-onetime-section .plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

.reseller-onetime-section .plan-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
  line-height: 1.7rem;
}

.reseller-onetime-section .highlight-amount {
  color: #ff1493;
  font-weight: 800;
  font-size: 1.2em;
}

.reseller-onetime-section .highlight-discount {
  background: #ffe3f2;
  color: #ff1493;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  font-size: 1em;
  margin-left: 0.2rem;
}

.reseller-onetime-section .cta-btn {
  width: 100%;
}

@media (max-width: 800px) {
  .reseller-onetime-section {
    max-width: 95%;
    padding: 1.2rem 1rem;
  }
}

.deposit-row {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Spinner for loading indicator on deposit button */
.spinner {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #555;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.deposit-reseller-summary-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 15px;
}

/* .deposit-reseller-flex-row {
  display: flex;
  align-items: center;
  gap: 16px;
} */

.add-balance-reseller-btn {
  padding: 10px 20px;
  font-size: 1rem;
  background: whitesmoke;
  color: #333;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  /* width: 100%; */
  margin-left: auto;
}

.add-balance-reseller-btn:hover {
  /* background: linear-gradient(90deg, #c2006a 0%, #ff1493 100%); */
  transform: translateY(-1px);
}

/* Modal styles for add reseller balance */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content-deposit {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-button {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.close-button:hover {
  color: #333;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #ff1493;
}

.quick-deposit-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.quick-deposit-btn {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 2px solid #e1e1e1;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.quick-deposit-btn:hover {
  background: #ff1493;
  color: #fff;
  border-color: #ff1493;
}

.continue-deposit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #ff1493 0%, #ff6fcf 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.continue-deposit-btn:hover {
  background: linear-gradient(90deg, #c2006a 0%, #ff1493 100%);
}

.continue-deposit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.deposit-list {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

/* Reseller Toggle Buttons */
.reseller-toggle-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 15px;
  /* justify-content: center; */
}

.reseller-toggle-btn {
  padding: 0.8rem 1.5rem;
  background: #f8f9fa;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  transition: all 0.2s;
  min-width: 140px;
}

.reseller-toggle-btn:hover {
  background: #e9ecef;
  /* border-color: #ff1493; */
  color: #ff1493;
}

.reseller-toggle-btn.active {
  background: linear-gradient(90deg, #ff1493 0%, #ff6fcf 100%);
  border-color: #ff1493;
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 20, 147, 0.2);
}

.reseller-toggle-btn.active:hover {
  background: linear-gradient(90deg, #c2006a 0%, #ff1493 100%);
}

/* Responsive for toggle buttons */
@media (max-width: 600px) {
  .reseller-toggle-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .reseller-toggle-btn {
    min-width: unset;
    width: 100%;
  }
}

.deposit-reseller-summary {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* --- Reseller Transfer Section Styles --- */
.reseller-transfer-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
  margin: 15px auto 15px auto;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reseller-transfer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
  margin-top: 0pxg;
}

.reseller-transfer-section .form-group {
  width: 100%;
  margin-bottom: 1.2rem;
  text-align: left;
}

.reseller-transfer-section label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
  display: block;
}

.reseller-transfer-section input[type="text"] {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e1e1e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  margin-top: 0.2rem;
}

.reseller-transfer-section input[type="text"]:focus {
  outline: none;
  border-color: #ff1493;
}

.reseller-transfer-section .continue-deposit-btn {
  width: 100%;
}

.transfer-message {
  margin-top: 1rem;
  font-size: 1rem;
  min-height: 1.2em;
  color: #ff1493;
  text-align: center;
}

@media (max-width: 800px) {
  .reseller-transfer-section {
    max-width: 95%;
    padding: 1.2rem 1rem;
  }
}