/* =========================
   TABLET: Force Column Layout
========================= */
@media (max-width: 1024px) {

    .show-on-mobile {
        display: none;
    }

    .hide-on-mobile {
        display: block;
    }

    .show-on-tablet {
      display: block;
    }
    
    .hide-on-tablet {
        display: none;
    }

    .group-discount-calculator {
        padding: 30px 0px;
    }   

    /* Stack the two main columns */
    .calculator-row {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }
    
    /* Reset BOTH columns to vertical */
    .calculator-col.col-md-6 {
      flex: 0 0 100%;
      width: 100%;
      display: flex;
      flex-direction: column !important;  /* 🔴 critical */
      align-items: flex-start !important; /* 🔴 critical */
      gap: 14px;
    }
  
    /* -------- ROW 1: Quantity + Price -------- */
    .calculator-col.col-md-6:first-child {
      flex-direction: row !important;  /* 🔴 critical - keep Quantity and Price in same row */
      align-items: center !important;
      gap: 16px;
    }
  
    .quantity-section {
      flex: 0 0 auto;
      width: auto;
    }
  
    .quantity-controls {
      width: auto;
      display: flex;
    }
  
    .quantity-input {
      width: 160px;
      flex: 0 0 auto;
    }
  
    .price-display {
      flex: 0 0 auto;
      width: auto;
      display: flex;
      justify-content: flex-start;
      margin-top: 20px;
    }
  
    /* -------- ROW 2: Subtotal + Button -------- */
    /* Separator between row 1 and row 2 */
    .calculator-col.col-md-6:last-child {
      position: relative;
      padding-top: 22px;
      margin-top: 22px;
      border-top: 2px solid #D6EDFF;
      flex-direction: row !important;
      align-items: center !important;
      gap: 18px;
      justify-content: flex-start;
      text-align: left;
      width: 100%;
      min-width: 100%;
      margin-left: 0px;
    }
  
    .subtotal-section {
      flex: 0 0 auto;
      width: auto;
      text-align: left;
      padding-left: 0;
      border-left: none;
      margin: 0;
    }
  
    .subtotal-section label {
      text-align: left;
    }
  
    .buy-now-btn {
      flex: 0 0 auto;
      width: auto;
      white-space: nowrap;
      margin-top: 0;
      margin-left: 18px;
      padding: 14px 26px;
      font-size: 16px;
      background: #000;
    }
    
    .buy-now-btn:hover {
        background: #000;
    }
    
    .buy-now-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .pricing-tier-title {
        font-size: 18px;
        line-height: 22px;
        font-weight: 600;
        color: #0f172a;
        margin-bottom: 18px;
        letter-spacing: -0.3px;
    }

    .pricing-tier-table th:first-child {
        background: #0078C6;
        width: 100px;
    }

    /* Manage Team Section - Both columns in one row */
    .manage-team-section {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        align-items: flex-start;
    }

    .manage-team-info {
        flex: 1;
        min-width: 0;
    }

    .corporate-form-wrapper {
        flex: 2;
        min-width: 0;
        padding:8px;
    }

    .corporate-form {
        min-width: 0;
        padding:16px;
    }

    /* Form - Stack inputs vertically (one per row) */
    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group {
        width: 100%;
    }

    .manage-team-title {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .manage-team-desc {
        margin-bottom: 2px;
    }
    .manage-team-features li {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 0;
        color: #000;
        font-size: 12px;
        font-weight: 500;
    }

    .corporate-submit-btn {
        width: 100%;
        background: #000;
        color: #fff;
        border: none;
        padding: 9px 7px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
        letter-spacing: 0.2px;
    }

  }
  