#coupons_list {
    margin-bottom: 20px;
  }
  
  #coupons_list h3 {
    font-weight: bold;
  }
  
  /* #all_coupon_container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  } */
  #all_coupon_container {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    display:flex;
    flex-wrap: wrap; 
    gap:10px;
    /* max-width: 480px; */
  }

  .coupon-container {
    flex: 0 0 calc(50% - 5px);
    box-sizing: border-box;
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(255, 162, 0, 0.1);
    color: #404040;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    /* max-width: 480px; */
    overflow: hidden;
  }

  .coupon-container::before,
  .coupon-container::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid rgba(255, 162, 0, 0.05);
    border-radius: 50%;
    top: 50%; 
    transform: translateY(-50%);
    z-index: 1;
  }

  /* 左邊 */
  .coupon-container::before {
    left: -10px;
  }

  /* 右邊 */
  .coupon-container::after {
    right: -10px;
  }
  
  .coupon-container:hover {
    background-color:  rgba(255, 162, 0, 0.3);
    border-color: #1e1e1e;
  }
  
  .coupon-content {
    text-align: center;
  }
  
  .coupon-content .discount-info {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 5px;
  }
  
  .coupon-content .code {
    font-size: 0.8em;
    font-weight: 500;
    margin-bottom: 5px;
    word-break: break-word;
  }
  
  .coupon-content .coupon-expire {
    border-top:1px dashed rgba(255, 162, 0, 0.3);
    font-size: 0.8em;
    color: #777;
  }
  #gc-loading-overlay {
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gc-loading-text {
      background: #fff;
      padding: 2rem 3rem;
      border: 2px solid #000;
      border-radius: 8px;
      font-size: 18px;
      font-weight: bold;
      box-shadow: 0 0 15px rgba(0,0,0,0.2);
  }