.logo {
    text-align: center;
    background: #009b4c;
    padding: 1% 10%;
    height: 40px;
}

.logo img {
    /* width: 100px; */
    height: 100%;
}

body {
    margin: 0;
}

.content {
    text-align: center;
}

.content iframe {
    width: 100%;
    height: 1000px;
}

p#error {
    font-size: 23px;
    color: #ea5455;
}

.order-card {
    border: 1px solid #d1d1d1;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
    background: #fff;
  }

  .card-header {
    background-color: #009b4c;
    color: white;
    padding: 15px;
    font-weight: 600;
  }

  .table-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
  }

  .table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #333;
  }

  .header-row {
    font-weight: bold;
    color: #000;
    border-bottom: 2px solid #eee !important;
  }

  .total-row {
    font-size: larger;
    font-weight: bold;
    color: #000;
    border-bottom: 0 !important;

  }

  .sub-text-row {
    color: #94a3b8;
  }

  .action-area {
    padding: 15px;
  }

  .pay-btn {
    width: 100%;
    background-color: #009b4c;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 16px;
    font-weight: bold;
    cursor: pointer;
  }
  .pay-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Success */
.success-message, .error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  text-align: center;
  padding: 40px 20px;
  max-width: 500px;
  width: 100%;
  margin: auto;
}

.success-message__icon, .error-message__icon {
  width: 90px;
  height: 90px;
  margin-bottom: 8px;
  animation: scaleSuccess 0.5s ease-in-out;
}

.success-message__icon circle {
  fill: #009b4c;
  stroke: #009b4c;
  stroke-width: 2;
}

.error-message__icon circle {
  fill: #ea5455;
  stroke: #ea5455;
  stroke-width: 2;
}

.success-message__icon path {
  stroke: #ffffff;
}

.success-message__title {
  font-size: 48px;
  font-weight: 700;
  color: #009b4c;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.failed-message__title {
  font-size: 48px;
  font-weight: 700;
  color: #ea5455;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.success-message__content p {
  font-size: 24px;
  color: #555;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500 !important;
  text-wrap: nowrap;
}

.failed-message__content p {
  font-size: 24px;
  color: #555;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500 !important;
  text-wrap: nowrap;
}

@keyframes scaleSuccess {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}


  @media (max-width: 400px) {
    .table-grid, .table-row {
      font-size: 0.8rem;
    }
  }


  .success-message, .error-message {
    text-align: center;
    padding: 20px;
  }

  .success-container {
    text-align: center;
    padding: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  }

  .check-icon {
    width: 80px;
    height: 80px;
    fill: #009b4c;
    margin-bottom: 20px;
  }

  .success-message {
    color: #009b4c;
    font-size: 2rem;
    font-weight: bold;
  }


  #payment-message .error-message {
    padding: 10px;
    color: #ea5455;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Skeleton */
  :root {
    --sk-base-color: #f2f2f2;
    --sk-shimmer-color: #ffffff;
    --card-border-color: #eaeaea;
  }

  .skeleton-card {
    border: 1px solid var(--card-border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  .shimmer-animated {
    background: linear-gradient(90deg,
        var(--sk-base-color) 25%,
        var(--sk-shimmer-color) 50%,
        var(--sk-base-color) 75%);
    background-size: 200% 100%;
    animation: shimmer-load 1.5s infinite linear;
  }

  @keyframes shimmer-load {
    0% {
      background-position: 200% 0;
    }

    100% {
      background-position: -200% 0;
    }
  }

  .sk-header {
    height: 55px;
    width: 100%;
    background-color: #009b4c;
    display: flex;
    align-items: center;
    padding-left: 15px;
  }

  .sk-header-text {
    height: 18px;
    width: 35%;
    border-radius: 4px;
  }

  .sk-body {
    padding: 15px 15px 5px 15px;
  }

  .sk-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
  }

  .sk-line {
    height: 14px;
    border-radius: 4px;
  }

  .sk-line.item {
    width: 80%;
  }

  .sk-line.qty {
    width: 40%;
    justify-self: center;
  }

  .sk-line.price {
    width: 60%;
    justify-self: end;
  }

  .sk-total {
    border-top: 1px solid var(--card-border-color);
    padding-top: 15px;
    margin-top: 10px;
  }

  .sk-total-text {
    width: 25%;
    height: 16px;
    background-color: #ddd;
    border-radius: 4px;
  }

  .sk-total-price {
    width: 40%;
    height: 18px;
    justify-self: end;
    border-radius: 4px;
  }

  .sk-action {
    padding: 0 15px 15px 15px;
  }

  .sk-btn-placeholder {
    height: 40px;
    width: 100%;
    border-radius: 16px;
  }

  :root {
    --brand-green: #009b4c;
    --bg-light-green: #f4f9f6;
    --text-dark: #1a2e22;
    --text-muted: #5c6d63;
    --border-color: #e2ede7;
  }

    /* .collapsibleClass { */
      .summary-container {
        max-width: 420px;
        margin: 10px auto;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background-color: var(--bg-light-green);
        border-radius: 16px;
        border: 1px solid var(--border-color);
        overflow: hidden;
      }

      .due-summary-container {
        max-width: 420px;
        margin: 10px auto;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background-color: var(--bg-light-green);
        border-radius: 16px;
        border: 1px solid var(--border-color);
        overflow: hidden;
      }
  
      /* Header / Trigger */
      .summary-header {
        display: flex;
        align-items: center;
        padding: 16px;
        /* cursor: pointer; */
        user-select: none;
      }
  
      .green-bar {
        width: 4px;
        height: 24px;
        background-color: var(--brand-green);
        border-radius: 2px;
        margin-right: 12px;
      }

      .grey-bar {
        width: 4px;
        height: 24px;
        background-color: var(--text-muted);
        border-radius: 2px;
        margin-right: 12px;
      }
  
      .summary-header h2 {
        margin: 0;
        font-size: 1.2rem;
        color: var(--text-dark);
        flex-grow: 1;
      }
  
      /* Arrow Icon */
      .chevron {
        width: 20px;
        transition: transform 0.3s ease;
      }
  
      .summary-container.open .chevron {
        transform: rotate(180deg);
      }

      .due-summary-container.open .chevron {
        transform: rotate(180deg);
      }
  
      /* Collapsible Content */
      .summary-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding: 0 24px;
      }
  
      .summary-container.open .summary-content {
        max-height: 400px;
        padding-bottom: 6px;
      }

      .due-summary-container.open .summary-content {
        max-height: 400px;
        padding-bottom: 6px;
      }

  
      /* List Items */
      .summary-row {
        display: flex;
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
      }
  
      .summary-label {
        color: var(--text-muted);
        font-weight: 500;
      }
  
      .summary-value {
        color: var(--text-dark);
        font-weight: 600;
      }
      .summary-success-value{
        color: var(--brand-green);
        font-weight: 600;
      }

      /* Base badge styles */
.badge-outline {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 20px;
    border: 1px solid transparent;
    background-color: transparent;
    letter-spacing: 0.025em;
}

  /* Success Outline (Green) */
  .badge-outline-success {
      color: #009b4c; /* Using your brand green */
      border-color: #009b4c;
  }
  .badge-outline-success:hover {
      background-color: rgba(0, 155, 76, 0.05);
  }

  /* Secondary Outline (Gray) */
  .badge-outline-secondary {
      color: #6c757d;
      border-color: #6c757d;
  }

  .badge-outline-secondary:hover {
      background-color: rgba(108, 117, 125, 0.05);
  }
    /* } */