        <style>
        .gs-order-success-wrapper {
          display: flex;
          justify-content: center;
          padding: 60px 20px;
        }
        .gs-order-success-card {
          max-width: 640px;
          width: 100%;
          background: #ffffff;
          border-radius: 20px;
          padding: 32px 28px;
          border: 1px solid #e2e8f0;
          box-shadow: 0 18px 45px rgba(15,23,42,0.12);
          text-align: center;
        }
        .gs-success-icon {
          width: 64px;
          height: 64px;
          border-radius: 999px;
          margin: 0 auto 18px;
          display: flex;
          align-items: center;
          justify-content: center;
          background: rgba(50,108,217,0.08);
        }
        .gs-success-icon svg {
          width: 40px;
          height: 40px;
        }
        .gs-success-circle {
          fill: #e0f2fe;
        }
        .gs-success-check {
          fill: none;
          stroke: #326cd9;
          stroke-width: 2.4;
          stroke-linecap: round;
          stroke-linejoin: round;
        }
        .gs-order-success-card h1 {
          font-size: 24px;
          font-weight: 800;
          color: #0f172a;
          margin-bottom: 10px;
        }
        .gs-order-success-card p {
          font-size: 14px;
          color: #4b5563;
          margin-bottom: 6px;
        }
        .gs-success-actions {
          margin-top: 22px;
          display: flex;
          gap: 14px;
          justify-content: center;
          flex-wrap: wrap;
        }
        .gs-success-btn {
          display: inline-block;
          padding: 10px 22px;
          border-radius: 999px;
          background: #326cd9;
          color: #ffffff;
          font-size: 14px;
          font-weight: 600;
          text-decoration: none;
          box-shadow: 0 10px 22px rgba(50,108,217,0.45);
          transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
        }
        .gs-success-btn:hover {
          background: #244aa5;
          transform: translateY(-1px);
          box-shadow: 0 14px 28px rgba(50,108,217,0.55);
        }
        .gs-success-link {
display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #314873;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(50,108,217,0.45);
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
            
        }


.gs-profile-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #e5e7eb;
}

.gs-profile-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gs-profile-subtitle {
    margin-bottom: 24px;
    color: #9ca3af;
}

.gs-profile-section {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 30px;
    border: 1px solid rgba(148,163,184,0.2);
}

.gs-profile-section h2 {
    margin-bottom: 14px;
}

.gs-profile-form .gs-form-group {
    margin-bottom: 16px;
}

.gs-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #000;
}

.gs-form-group input {
    width: 100%;
    padding: 10px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    color: white;
}

.gs-btn-primary {
    background: #326cd9;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    color: white;
    margin-top: 12px;
    font-size: 14px;
}

.gs-btn-primary:hover {
    background: #244aa5;
}


.gs-order-section {
  background: #f8fafc;
  padding: 60px 20px;
}

.gs-order-container {
  max-width: 1100px;
  margin: 0 auto;
}

.gs-order-header {
  text-align: center;
  margin-bottom: 40px;
}

.gs-order-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.gs-order-header p {
  font-size: 15px;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto;
}

.gs-order-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* SUMMARY */
.gs-order-summary {
  flex: 0 0 30%;
  min-width: 260px;
}

.gs-order-summary h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.gs-summary-note {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
}

.gs-summary-box {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.05);
}

.gs-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e7eb;
}

.gs-summary-row:last-child {
  border-bottom: none;
}

.gs-summary-row span {
  color: #6b7280;
}

.gs-summary-row strong {
  color: #111827;
}

.gs-summary-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gs-summary-bullets li {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

.gs-summary-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #326cd9;
  position: absolute;
  left: 0;
  top: 7px;
}

/* FORM AREA */
.gs-order-form-wrapper {
  flex: 1 1 60%;
  min-width: 300px;
}

.gs-order-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 24px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15,23,42,0.08);
}

.gs-form-group--inline-title {
  margin-bottom: 16px;
}

.gs-form-group--inline-title h2 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.gs-form-group--inline-title p {
  font-size: 13px;
  color: #6b7280;
}

.gs-form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.gs-form-row--bottom {
  align-items: flex-end;
}

.gs-field {
  flex: 1 1 200px;
}

/* LABELS & INPUTS */
.gs-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.gs-field label span {
  color: #ef4444;
}

.gs-field input,
.gs-field select,
.gs-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 11px;
  font-size: 14px;
  color: #111827;
  background: #f9fafb;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.gs-field textarea {
  resize: vertical;
}

.gs-field input:focus,
.gs-field select:focus,
.gs-field textarea:focus {
  outline: none;
  border-color: #326cd9;
  box-shadow: 0 0 0 1px rgba(50,108,217,0.35);
  background: #ffffff;
}

/* CONSENT & CHECKBOX */
.gs-consent {
  max-width: 360px;
}

.gs-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

.gs-checkbox input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.gs-consent-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

/* SUBMIT */
.gs-submit-wrapper {
  text-align: right;
}

.gs-submit-btn {
  background: #326cd9;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(50,108,217,0.4);
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
}

/* حالت غیرفعال */
.gs-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.gs-submit-btn:hover:not(:disabled) {
  background: #274fa4;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(50,108,217,0.5);
}

.gs-submit-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(50,108,217,0.35);
}

.gs-submit-note {
  font-size: 12px;
  color: #6b7280;
  margin-top: 6px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gs-order-layout {
    flex-direction: column;
  }
  .gs-order-summary {
    order: 2;
  }
  .gs-order-form-wrapper {
    order: 1;
  }
}

@media (max-width: 600px) {
  .gs-order-header h1 {
    font-size: 26px;
  }
  .gs-order-form {
    padding: 18px 16px 22px;
  }
}


        .gs-dashboard-section {
          padding: 60px 20px;
          background: #f8fafc;
        }
        .gs-dashboard-container {
          max-width: 1000px;
          margin: 0 auto;
        }
        .gs-dashboard-card {
          background: #ffffff;
          border-radius: 20px;
          padding: 28px 24px;
          border: 1px solid #e2e8f0;
          box-shadow: 0 12px 32px rgba(15,23,42,0.08);
        }
        .gs-dashboard-card--center {
          text-align: center;
        }
        .gs-dashboard-card--center h1 {
          font-size: 24px;
          font-weight: 800;
          color: #0f172a;
          margin-bottom: 10px;
        }
        .gs-dashboard-card--center p {
          font-size: 14px;
          color: #4b5563;
          margin-bottom: 18px;
        }
        .gs-dashboard-btn {
          display: inline-block;
          padding: 10px 22px;
          border-radius: 999px;
          background: #326cd9;
          color: #ffffff;
          font-size: 14px;
          font-weight: 600;
          text-decoration: none;
          box-shadow: 0 10px 22px rgba(50,108,217,0.45);
          transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
        }
        .gs-dashboard-btn:hover {
          background: #244aa5;
          transform: translateY(-1px);
          box-shadow: 0 14px 28px rgba(50,108,217,0.55);
        }
        
        
         .gs-wallet-section{padding:60px 20px;background:#f8fafc}
        .gs-wallet-container{max-width:800px;margin:0 auto}
        .gs-wallet-card{background:#fff;border-radius:18px;padding:24px 20px;border:1px solid #e2e8f0;box-shadow:0 10px 26px rgba(15,23,42,.08);margin-bottom:20px}
        .gs-wallet-card--center{text-align:center}
        .gs-wallet-card--center h1{font-size:24px;font-weight:800;color:#0f172a;margin-bottom:10px}
        .gs-wallet-card--center p{font-size:14px;color:#4b5563;margin-bottom:18px}
        .gs-wallet-btn{display:inline-block;padding:10px 22px;border-radius:999px;background:#326cd9;color:#fff;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 10px 22px rgba(50,108,217,.45);transition:background .2s ease,transform .15s ease,box-shadow .15s ease}
        .gs-wallet-btn:hover{background:#244aa5;transform:translateY(-1px);box-shadow:0 14px 28px rgba(50,108,217,.55)}
        
        
        
            .gs-dashboard-section {
      padding: 60px 20px;
      background: #f8fafc;
    }
    .gs-dashboard-container {
      max-width: 1000px;
      margin: 0 auto;
    }
    .gs-dashboard-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      gap: 16px;
      flex-wrap: wrap;
    }
    .gs-dashboard-header h1 {
      font-size: 24px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 4px;
    }
    .gs-dashboard-header p {
      font-size: 14px;
      color: #6b7280;
    }
    .gs-dashboard-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 20px 18px 22px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 10px 26px rgba(15,23,42,0.08);
      margin-bottom: 20px;
    }
    .gs-dashboard-empty {
      text-align: center;
      padding: 30px 16px;
    }
    .gs-dashboard-empty h2 {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 6px;
    }
    .gs-dashboard-empty p {
      font-size: 14px;
      color: #6b7280;
      margin-bottom: 14px;
    }
    .gs-dashboard-btn {
      display: inline-block;
      padding: 9px 20px;
      border-radius: 999px;
      background: #326cd9;
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 10px 22px rgba(50,108,217,0.45);
      transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
    }
    .gs-dashboard-btn:hover {
      background: #244aa5;
      transform: translateY(-1px);
      box-shadow: 0 14px 28px rgba(50,108,217,0.55);
    }
    .gs-dashboard-table-wrapper {
      width: 100%;
      overflow-x: auto;
    }
    .gs-dashboard-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .gs-dashboard-table thead {
      background: #f1f5f9;
    }
    .gs-dashboard-table th,
    .gs-dashboard-table td {
      padding: 10px 8px;
      text-align: left;
      border-bottom: 1px solid #e5e7eb;
      white-space: nowrap;
    }
    .gs-dashboard-table th {
      font-weight: 600;
      color: #111827;
      font-size: 12px;
    }
    .gs-dashboard-table td {
      color: #374151;
    }
    .gs-dashboard-table tbody tr:hover {
      background: #f9fafb;
    }
    .gs-dashboard-segment-cell {
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .gs-dashboard-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
    }
    .gs-dashboard-link {
      font-size: 12px;
      color: #326cd9;
      text-decoration: none;
      font-weight: 600;
    }
    .gs-dashboard-link:hover {
      text-decoration: underline;
    }
    .gs-dashboard-link--download {
      color: #16a34a;
    }
    .gs-status-pill {
      display: inline-flex;
      align-items: center;
      padding: 3px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.01em;
    }
    .gs-status-pill--new {
      background: #eff6ff;
      color: #1d4ed8;
    }
    .gs-status-pill--review {
      background: #fef3c7;
      color: #92400e;
    }
    .gs-status-pill--progress {
      background: #e0f2fe;
      color: #075985;
    }
    .gs-status-pill--ready {
      background: #ecfdf3;
      color: #15803d;
    }
    .gs-status-pill--delivered {
      background: #dcfce7;
      color: #166534;
    }
    .gs-status-pill--hold {
      background: #fee2e2;
      color: #991b1b;
    }

    /* کارت جزئیات */
    .gs-dashboard-detail-card {
      margin-bottom: 24px;
    }
    .gs-detail-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .gs-detail-card-header h2 {
      font-size: 18px;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 2px;
    }
    .gs-detail-card-header p {
      font-size: 13px;
      color: #6b7280;
    }
    .gs-detail-close {
      font-size: 12px;
      color: #6b7280;
      text-decoration: none;
    }
    .gs-detail-close:hover {
      text-decoration: underline;
    }
    .gs-detail-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px 18px;
      margin-bottom: 16px;
    }
    .gs-detail-item {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .gs-detail-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #9ca3af;
      font-weight: 600;
    }
    .gs-detail-value {
      font-size: 14px;
      color: #111827;
      font-weight: 500;
    }
    .gs-detail-block {
      margin-top: 10px;
    }
    .gs-detail-block .gs-detail-text {
      font-size: 13px;
      color: #4b5563;
      margin-top: 4px;
      white-space: pre-line;
    }
    .gs-detail-actions {
      margin-top: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
    }
    .gs-detail-download-btn {
      display: inline-block;
      padding: 8px 18px;
      border-radius: 999px;
      background: #16a34a;
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 10px 22px rgba(22,163,74,0.35);
      transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
    }
    .gs-detail-download-btn:hover {
      background: #15803d;
      transform: translateY(-1px);
      box-shadow: 0 14px 28px rgba(22,163,74,0.45);
    }
    .gs-detail-hint {
      font-size: 12px;
      color: #6b7280;
    }

    /* دکمه View price */
    .gs-price-toggle {
      border: none;
      background: #eff6ff;
      color: #1d4ed8;
      border-radius: 999px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      margin-right: 6px;
    }
    .gs-price-toggle--active {
      background: #1d4ed8;
      color: #ffffff;
    }
    .gs-price-value {
      font-size: 12px;
      color: #111827;
      font-weight: 600;
    }

    @media (max-width: 600px) {
      .gs-dashboard-header h1 {
        font-size: 20px;
      }
      .gs-dashboard-card {
        padding: 16px 12px 18px;
      }
      .gs-dashboard-table th,
      .gs-dashboard-table td {
        padding: 8px 6px;
      }
    }
    
    .gs-wallet-alert{
      margin-bottom:10px;
      padding:8px 10px;
      border-radius:8px;
      font-size:12px;
      
    /*  background-color: #ff4b4b;*/
    /*border-radius: 7px;*/
    /*padding: 0.5rem;*/
    /*text-align: center;*/
    /*margin-bottom: 1rem;*/
    /*color: #fff;*/
    /*font-weight: bold;*/
    }
    .gs-wallet-alert--error{
      background:#fee2e2;
      color:#991b1b;
      border:1px solid #fecaca;
      text-align: center;
    font-weight: bold;
    }
    .gs-wallet-alert--success{
      background:#ecfdf3;
      color:#166534;
      border:1px solid #bbf7d0;
      text-align: center;
    font-weight: bold;
    }

.gs-wallet-btn-inline{
  display:inline-block;
  margin-left:8px;
  padding:5px 12px;
  border-radius:999px;
  background:#326cd9;
  color:#fff;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
}
.gs-wallet-btn-inline:hover{
  color: #fff!important;
}


    .gs-wallet-section{padding:60px 20px;background:#f8fafc}
    .gs-wallet-container{max-width:800px;margin:0 auto}
    .gs-wallet-card{background:#fff;border-radius:18px;padding:24px 20px;border:1px solid #e2e8f0;box-shadow:0 10px 26px rgba(15,23,42,.08);margin-bottom:20px}
    .gs-wallet-card h1{font-size:22px;font-weight:800;color:#0f172a;margin-bottom:6px}
    .gs-wallet-subtitle{font-size:14px;color:#6b7280;margin-bottom:16px}
    .gs-wallet-card h2{font-size:18px;font-weight:700;color:#0f172a;margin-bottom:10px}
    .gs-wallet-balance-row{display:flex;flex-wrap:wrap;gap:18px;align-items:flex-start}
    .gs-wallet-balance-box{flex:1 1 180px;background:#ff7f0f;border-radius:16px;padding:16px 18px;color:#e5e7eb}
    .gs-wallet-balance-label{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#ffffff;font-weight:600}
    .gs-wallet-balance-value{display:block;margin-top:6px;font-size:24px;font-weight:800;color:#f9fafb}
    .gs-wallet-topup-box{flex:2 1 260px}
    .gs-wallet-topup-box form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
    .gs-wallet-topup-box label{width:100%;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9ca3af;font-weight:600}
    .gs-wallet-topup-box input[type=number]{flex:1 1 120px;border-radius:999px;border:1px solid #d1d5db;padding:8px 12px;font-size:14px}
    .gs-wallet-btn-small{border:none;cursor:pointer;padding:8px 16px;border-radius:999px;background:#326cd9;color:#fff;font-size:13px;font-weight:600;box-shadow:0 10px 22px rgba(50,108,217,.45);transition:background .2s ease,transform .15s ease,box-shadow .15s ease}
    .gs-wallet-btn-small:hover{background:#244aa5;transform:translateY(-1px);box-shadow:0 14px 28px rgba(50,108,217,.55)}
    .gs-wallet-hint{width:100%;font-size:12px;color:#9ca3af;margin-top:4px}
    .gs-wallet-empty{font-size:13px;color:#6b7280}
    .gs-wallet-table-wrapper{overflow-x:auto;margin-top:10px}
    .gs-wallet-table{width:100%;border-collapse:collapse;font-size:13px}
    .gs-wallet-table th,.gs-wallet-table td{padding:8px 6px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap}
    .gs-wallet-table thead{background:#f1f5f9}
    .gs-wallet-table th{font-weight:600;color:#111827;font-size:12px}
    .gs-wallet-table td{color:#374151}
    .gs-wallet-table tbody tr:hover{background:#f9fafb}
    @media(max-width:600px){
      .gs-wallet-card{padding:18px 14px}
      .gs-wallet-balance-row{flex-direction:column}
    }

.gs-login-wrapper{
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px;
  background:#fff;
}

.gs-login-card{
  width:100%;
  max-width:420px;
  background:#fff!important;
  border-radius:18px;
  padding:32px 26px;
  box-shadow:0 24px 60px rgba(15,23,42,0.75);
  border:1px solid rgba(148,163,184,0.18);
  color:#e5e7eb;
}

.gs-login-title{
  font-size:22px;
  font-weight:700;
  margin-bottom:6px;
}

.gs-login-subtitle{
  font-size:13px;
  color:#9ca3af;
  margin-bottom:20px;
}

.gs-login-alert{
  background:#fee2e2;
  color:#991b1b;
  border-radius:10px;
  padding:10px 12px;
  font-size:13px;
  margin-bottom:14px;
  border:1px solid #fecaca;
}

.gs-login-form .gs-form-group{
  margin-bottom:14px;
}

.gs-login-form label{
  display:block;
  font-size:12px;
  margin-bottom:4px;
  color:#ddd;
}

.gs-login-form input[type="text"],
.gs-login-form input[type="password"]{
  width:100%;
  border-radius:10px;
  border:1px solid #1f2937;
  background:#fff;
  padding:9px 11px;
  font-size:13px;
  color:#000000;
  outline:none;
  transition:0.2s ease;
}

.gs-login-form input[type="text"]:focus,
.gs-login-form input[type="password"]:focus{
  border-color:#326cd9;
  box-shadow:0 0 0 1px rgba(50,108,217,0.5);
}

.gs-form-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:8px 0 16px;
}

.gs-checkbox{
  display:flex;
  align-items:center;
  font-size:12px;
  color:#9ca3af;
}

.gs-checkbox input{
  margin-right:6px;
}

.gs-login-link{
  font-size:12px;
  color:#93c5fd;
  text-decoration:none;
}

.gs-login-link:hover{
  text-decoration:underline;
}

.gs-login-btn{
  width:100%;
  border:none;
  cursor:pointer;
  border-radius:999px;
  padding:9px 14px;
  background:#326cd9;
  color:#f9fafb;
  font-size:14px;
  font-weight:600;
  margin-top:4px;
  transition:0.2s ease;
}

.gs-login-btn:hover{
  background:#244aa5;
}

.gs-login-footer{
  margin-top:14px;
  font-size:12px;
  color:#9ca3af;
  text-align:center;
}

.gs-login-footer a{
  color:#ff7f0f;
  text-decoration:none;
  font-weight:500;
}

.gs-login-footer a:hover{
  text-decoration:underline;
}

/* حالت logged-in message */
.gs-login-box--loggedin{
  background:#fff;
  padding:30px 22px;
  border-radius:14px;
  color:#e5e7eb;
  text-align:center;
}

.gs-login-box--loggedin .gs-login-btn{
  width:auto;
  margin-top:10px;
}

.gs-billing-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #000;
}

.gs-billing-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.gs-billing-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.gs-billing-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.gs-billing-summary-item {
    flex: 1 1 200px;
    background: #326cd9;
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.2);
    padding: 14px 16px;
}

.gs-billing-summary-label {
    display: block;
    font-size: 12px;
    color: #cacaca;
    margin-bottom: 4px;
}

.gs-billing-summary-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.gs-billing-table-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.2);
    padding: 18px 16px;
}

.gs-billing-section-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: bold;
  color: #fff;
}

.gs-billing-empty {
    font-size: 14px;
    color: #9ca3af;
}

.gs-billing-table-wrapper {
    overflow-x: auto;
}

.gs-billing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.gs-billing-table th,
.gs-billing-table td {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(51,65,85,0.7);
    text-align: left;
    white-space: nowrap;
}

.gs-billing-table th {
    font-weight: 600;
    color: #fff;
    background: #002b7b;
}

.gs-billing-amount {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.gs-billing-amount-credit {
    color: #22c55e;
}

.gs-billing-amount-debit {
    color: #f97316;
}

/* Badges */
.gs-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.gs-badge-success {
    background: rgba(34,197,94,0.1);
    border-color: rgba(34,197,94,0.7);
    color: #000;
}

.gs-badge-warning {
    background: rgba(234,179,8,0.1);
    border-color: rgba(234,179,8,0.7);
    color: #facc15;
}

.gs-badge-danger {
    background: rgba(248,113,113,0.1);
    border-color: rgba(248,113,113,0.7);
    color: #fecaca;
}

.gs-badge-neutral {
    background: rgba(148,163,184,0.1);
    border-color: rgba(148,163,184,0.6);
    color: #000;
}

@media (max-width: 640px) {
    .gs-billing-summary {
        flex-direction: column;
    }
}


/* ========== Pay with balance modal ========== */

.gs-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    font-family: inherit;
}

.gs-pay-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gs-pay-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45); /* یک بک‌گراند تیره نیمه شفاف */
    backdrop-filter: blur(3px);
}

/* خود دیالوگ */

.gs-pay-modal-dialog {
    position: relative;
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    z-index: 1;
    animation: gs-modal-pop-in 0.18s ease-out;
}

@keyframes gs-modal-pop-in {
    0% {
        transform: translateY(8px) scale(0.97);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.gs-pay-modal-message {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

/* دکمه‌ها */

.gs-pay-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.gs-pay-modal-actions button,
.gs-pay-modal-actions a {
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-size: 0.85rem;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Confirm = دکمه اصلی */

.gs-pay-modal-confirm {
    background: #326cd9;          /* رنگ برند GlobeScrape */
    color: #ffffff;
    border-color: #326cd9;
    font-weight: 500;
}

.gs-pay-modal-confirm:hover {
    background: #2851a7;
    border-color: #2851a7;
}

/* Cancel = دکمه خنثی */

.gs-pay-modal-cancel {
    background: #ffffff;
    color: #475569;
    border-color: #e2e8f0;
}

.gs-pay-modal-cancel:hover {
    background: #f8fafc;
    border-color: #cbd5f5;
}

/* Top up با استایل ثانویه (مثلاً با رنگ نارنجی) */

.gs-pay-modal-topup {
    background: #ffffff;
    color: #ff7f0f;
    border-color: #ff7f0f;
    font-weight: 500;
}

.gs-pay-modal-topup:hover {
    background: #fffbf5;
}

/* روی موبایل کمی پهن‌تر و بدون شَدو بیش از حد */

@media (max-width: 640px) {
    .gs-pay-modal-dialog {
        max-width: 100%;
        padding: 1.25rem 1.25rem;
        border-radius: 14px;
    }
}


/* ========== PAY with balance button ========== */

.gs-pay-with-balance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;

    padding: 0.4rem 0.95rem;
    border-radius: 999px;

    border: 1px solid #326cd9;
    background: #326cd9;

    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.01em;

    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 6px 14px rgba(50, 108, 217, 0.25);
    transition:
        background-color 0.18s ease-out,
        border-color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.1s ease-out;
}

/* حالت هاور */

.gs-pay-with-balance-btn:hover {
    background: #2851a7;
    border-color: #2851a7;
    box-shadow: 0 10px 20px rgba(40, 81, 167, 0.35);
    transform: translateY(-1px);
}

/* حالت کلیک شده (active) */

.gs-pay-with-balance-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(40, 81, 167, 0.35);
}

/* حالت غیرفعال (مثلاً وقتی JS در حال پردازش است) */

.gs-pay-with-balance-btn:disabled,
.gs-pay-with-balance-btn[disabled] {
    cursor: default;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
}

/* روی موبایل کمی جمع‌وجورتر */

@media (max-width: 640px) {
    .gs-pay-with-balance-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.78rem;
    }
}


html.gs-modal-open,
body.gs-modal-open {
    overflow: hidden;
}
