/* Main Content */
.main-content {
    /* max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem; */
  }
  
  /* @media (min-width: 640px) {
    .main-content {
      padding: 3rem 1.5rem;
    }
  }
  
  @media (min-width: 1024px) {
    .main-content {
      padding: 3rem 2rem;
    }
  } */
  
  /* Hero Section */
  .hero-section {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .badge:hover {
    background: #bfdbfe;
  }
  
  .hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 640px) {
    .hero-title {
      font-size: 3rem;
    }
  }
  
  .hero-description {
    font-size: 1.25rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.75;
  }
  
  /* Sections */
  .section {
    margin-bottom: 4rem;
  }
  
  .card {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* background: rgba(255, 255, 255, 0.7); */
    backdrop-filter: blur(4px);
    border-radius: 0.5rem;
  }
  
  .card-content {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    /* color: #0f172a; */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .section-title svg {
    color: #2563eb;
  }
  
  .text-lg {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.75;
  }
  
  .text-base {
    /* color: #334155; */
    /* color: var(--bs-base-color); */
    margin-bottom: 0;
  }

  .btn.btn-sm.copy-btn{

  }
  
  /* Feature Grid */
  .feature-grid {
    display: grid;
    margin-bottom: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 1.3rem;
  }
  
  @media (min-width: 768px) {
    .feature-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .feature-grid.two_column{
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .feature-card {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
  }
  
  .feature-blue {
    background: linear-gradient(to right, #eff6ff, #e0e7ff);
    border-color: #bfdbfe;
  }
  
  .feature-green {
    background: linear-gradient(to right, #f0fdf4, #d1fae5);
    border-color: #86efac;
  }
  
  .feature-purple {
    background: linear-gradient(to right, #faf5ff, #ede9fe);
    border-color: #d8b4fe;
  }
  
  .feature-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    margin-top: 0.5rem;
  }
  
  .feature-description {
    color: #475569;
    font-size: 0.875rem;
  }
  
  /* Code Block */
  /* .code-block {
    position: relative;
    background: #1e293b;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
  } */
  
  /* .code-block pre {
    color: #e2e8f0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
  } */
  
  /* .copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #334155;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem;
    cursor: pointer;
    color: #e2e8f0;
    transition: background 0.2s;
  }
  
  .copy-btn:hover {
    background: #475569;
  } */
  
  /* .inline-code {
    background: #f1f5f9;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Monaco', 'Courier New', monospace;
  } */
  
  /* Info Boxes */
  .info-box {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid;
    margin-top: 1.5rem;
  }
  
  .info-blue {
    /* background: #eff6ff; */
    background: var(--bs-bg-acent);
    border-color: #bfdbfe;
  }
  
  .info-green {
    background: #f0fdf4;
    border-color: #86efac;
  }

  .info-box.info-green p{
    color: #000;
  }
  
  .info-amber {
    background: #fffbeb;
    border-color: #fcd34d;
  }
  
  .info-purple {
    background: #faf5ff;
    border-color: #d8b4fe;
  }
  
  .info-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
  }
  
  .info-list {
    list-style: none;
    color: #334155;
  }
  
  .info-list li {
    margin-bottom: 0.25rem;
  }
  
  /* Separator */
  .separator {
    height: 1px;
    background: #e2e8f0;
    margin: 2rem 0;
  }
  
  /* Subsection */
  .subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    /* color: #0f172a; */
    margin-bottom: 1rem;
  }
  
  /* Comparison Table */
  .comparison-table {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
  }
  
  .comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
  }
  
  .comparison-table thead {
    background: #f8fafc;
  }
  
  .comparison-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
  }
  
  .comparison-table td {
    padding: 0.75rem 1rem;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .comparison-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  .comparison-table tbody tr:hover {
    background: #f8fafc;
  }
  
  /* Commission Section */
  .commission-section {
    margin-bottom: 3rem;
  }
  
  .commission-title {
    font-size: 1.25rem;
    font-weight: 600;
    /* color: #0f172a; */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .badge-number {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .badge-blue {
    background: #dbeafe;
    color: #1e40af;
  }
  
  .badge-green {
    background: #d1fae5;
    color: #065f46;
  }
  
  .commission-points {
    margin-bottom: 1.5rem;
  }
  
  .setup-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .setup-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .setup-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.5rem;
  }
  
  .setup-title {
    font-weight: 600;
    /* color: #0f172a; */
    margin-bottom: 0.75rem;
  }
  
  .setup-list {
    list-style: none;
    font-size: 0.875rem;
    color: #475569;
  }
  
  .setup-list li {
    margin-bottom: 0.5rem;
  }
  
  .setup-description {
    font-size: 0.875rem;
    color: #475569;
  }
  
  .setup-subtitle {
    font-weight: 600;
    /* color: #0f172a; */
    margin-bottom: 1rem;
  }
  
  .setup-single {
    /* background: #f8fafc; */
    background: var(--bs-dark-bg-subtle);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
  }
  
  /* Gateway Grid */
  .gateway-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .gateway-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  .gateway-card {
    padding: 1.5rem;
    border-radius: 0.5rem;
  }
  
  .gateway-default {
    background: #f8fafc;
  }
  
  .gateway-config {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
  }
  
  .gateway-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
  }
  
  .gateway-list {
    list-style: none;
    color: #334155;
    margin-top: 0.5rem;
  }
  
  .gateway-list li {
    margin-bottom: 0.25rem;
  }



  /* ------------------ */
  .calculator-grid-tx-split {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* margin: 2rem 0; */
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .calculator-grid-tx-split {
        grid-template-columns: 1fr 1fr;
    }
}

.calculator-grid-tx-split .card {
    /* background: rgba(255, 255, 255, 0.9); */
    border-radius: 0.75rem;
    /* padding:10px 1.5rem; */
    padding: 10px 1.5rem 15px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    backdrop-filter: blur(8px);
}
.calculator-grid-tx-split .input-group {
    /* margin-bottom: 1rem; */
    margin-bottom: 5px;
    /* display: block; */
    width: 100%;
}

.calculator-grid-tx-split label {
    display: block;
    margin-bottom: 0.5rem;
    /* color: #374151; */
}

.calculator-grid-tx-split input , .calculator-grid-tx-split select{
    width: 100%;
    padding: 0.2rem 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem !important;
    transition: all 0.2s;
}

.calculator-grid-tx-split input:focus {
    outline: none;
    ring: 2px solid #E5E7EB;
}

.calculator-grid-tx-split .tooltip-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.calculator-grid-tx-split .tooltip {
    visibility: hidden;
    position: absolute;
    background-color: #374151;
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.calculator-grid-tx-split .tooltip-wrapper:hover .tooltip {
    visibility: visible;
}

.calculator-grid-tx-split .result-box {
    /* background-color: #E4E9F2; */
    background-color: #f5f5f5;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.calculator-grid-tx-split .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 0.5rem; */
}

.calculator-grid-tx-split .result-note {
    font-size: 0.75rem;
    /* color: #6B7280; */
    color: #0082c8;
    font-weight: bold;
    /* margin-left: 1rem; */
    margin-top: 3px;
}
.calculator-grid-tx-split h2{
    /* margin-top: 0;
    margin-bottom: 5px; */
    margin: 5px 0 15px 0;
    /* font-size: 1.55rem; */
    font-size: 1.1rem;
    font-weight: bold;
}

.calculator-grid-tx-split .result-group {
    /* margin-top: 1.5rem; */
    /* display: block; */
}
.calculator-grid-tx-split .text-green {
    color: #156813;
    font-weight: bold;
    background: #c1e5c0;
    margin: 0.5rem 0;
    padding: 5px;
}
.calculator-grid-tx-split .text-red{
    color: #b10303;
    background: #fbcbcb;
    font-weight: bold;
    margin: 0.5rem 0;
    padding: 5px;
}
.calculator-grid-tx-split .sub-div{
    /* padding: 3px 10px 3px 10px; */
}
.calculator-grid-tx-split .result-title{
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.calculator-grid-tx-split-top{
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin: 2rem 0;
    align-items: center;

    background: rgba(255, 255, 255, 0.9);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 0.75rem;
}
@media (min-width: 768px) {
    .calculator-grid-tx-split-top {
        grid-template-columns: 1fr 1fr;
    }
}
.calculator-grid-tx-split-top .card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    padding: 1.5rem;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
    backdrop-filter: blur(8px);
    box-shadow: none;
}
.calculator-grid-tx-split-top .input-group {
    margin-bottom: 1rem;
    /* display: block; */
    width: 100%;
}

.calculator-grid-tx-split-top label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
}

.calculator-grid-tx-split-top input , .calculator-grid-tx-split-top select{
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem !important;
    transition: all 0.2s;
}

.calculator-grid-tx-split-top input:focus {
    outline: none;
    ring: 2px solid #E5E7EB;
}
#calculator_tx_fee_show{
    color:#0082c8 ;
}
#marketplace_affiliate_details_direct_api .card,
#marketplace_affiliate_details_hosted .card{
  background: none;
}
#marketplace_affiliate_details_direct_api, #marketplace_affiliate_details_hosted{
  padding: 0 20px;
}