.bg-warning {
    background-color: #ffc107;
    padding: 0.5rem;
}

.bg-warning span {
    font-weight: bold;
    color: #fff;
    font-size: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.btn {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn-primary {
    background-color: #b38f00 !important;
    border-color: #007bff;
    color: #fff;
}

.analytics_table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

.analytics_table_head {
    background-color: #f8f9fa;
}

.analytics_table_head td {
    padding: 0.75rem;
    font-weight: bold;
}

.analytics_table_body td {
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
}

.recent-report__chart {
    width: 100%;
    height: 350px;
}

.subtitle {
    font-weight: 100;
    font-size: 0.6rem;
}

.input-group {
    display: flex;
    align-items: center;
}

.input-group-prepend {
    margin-right: -1px;
}

.input-group-text {
    padding: 0.375rem 0.75rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-xl-6, .col-md-6, .col-sm-12, .col-lg-6 {
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 1200px) {
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 576px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}


/*custom */

.flex-row {
        /*padding-left: 10px;*/
        padding-right: 40px;
      display: flex;
      width: 100%;
      gap: 1rem;
      min-height: 200px; /* Set a minimum height for consistency */
    }

    .column-primary {
      flex: 0 0 40%;
      /*background-color: #f0f4f8;*/
      padding: 1rem;
    }

    .column-secondary {
      flex: 0 0 33%;
      /*background-color: #e6f0fa;*/
      /*padding: 1rem;*/
    }
    
    .column-secondary > div {
      padding: 0.75rem !important;
    }

    .column-tertiary {
      flex: 0 0 20%;
      display: flex;
      flex-direction: column;
      gap: 0rem;
      padding: 0; /* Remove all padding for consistent spacing */
      align-items: stretch; /* Ensure children stretch to fill width */
    }

    .stacked-item--top {
      /*background-color: #d4edda;*/
      padding: 0; /* Remove all padding for consistent spacing */
      flex: 1; /* Equal height distribution */
    }

    .stacked-item--bottom {
      /*background-color: #f8d7da;*/
      padding: 0; /* Remove all padding for consistent spacing */
      flex: 1; /* Equal height distribution */
    }
    
    .column-secondary {
          padding-left: 3rem !important;
          padding-bottom: 3rem !important;
      }
      
      .cstmr_product_table {
          max-width: 100%;
          padding: 20px;
          margin-left: 0px;
          overflow-x: auto;
          -webkit-overflow-scrolling: touch;
      }
      
      .cstmr_product_table #cstmr_product_table{
          width: 100%;
          border-collapse: separate;    /* needed to enable border-spacing */
          border-spacing: 15px 0;       /* horizontal gap of 15px between columns */
          table-layout: auto;
          white-space: nowrap;
      }

    /* Mobile-friendly adjustments */
    @media (max-width: 768px) {
      .flex-row {
        flex-direction: column;
        gap: 0.5rem;
      }
      #ox3, #ox4 {
          padding: 3rem !important;
      }
      .ftm {
          font-size: 1.5rem !important;
      }
      #donutChart {
          margin-left: -36px;
      }
      .analytics_table {
          border-collapse: collapse !important;
      }
      .inox{
          padding: 20px;
          margin-bottom: 20px;
      }
      
      .column-secondary {
          padding-left: 3rem !important;
          padding-top: 0px !important;
          padding-bottom: 50px !important;
      }

      .column-primary,
      .column-secondary,
      .column-tertiary {
        flex: 0 0 100%; /* Consistent padding for mobile 
      }

      .stacked-item--top,
      .stacked-item--bottom {
        padding: 0.5rem; /* Consistent padding for mobile */
      }
    }
.stacked-item--top {
  /*background-color: #d4edda;*/
  padding: 0;
  margin: 13px 0 -12px 0 !important; /* margin-top: -10px; margin-bottom: 25px; */
}

.stacked-item--bottom {
  /*background-color: #f8d7da;*/
  padding: 0;
  margin: 10px 0 30px 0 !important; /* margin-top: -10px; margin-bottom: 25px; */
}

.special-btn {
    background-color: #e31b29 !important;
    color: #fff !important;
}


@media (max-width: 575.98px) {
  .flex-row {
    display: block !important;
  }
  .flex-row > div.column-primary,
  .flex-row > div.column-secondary,
  .flex-row > div.column-tertiary,
  .stacked-item--top,
  .stacked-item--bottom {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    margin-bottom: 1rem !important;
    box-sizing: border-box !important;
  }
  /* Adjust font sizes and spacing */
  .flex-row > div.column-primary p,
  .flex-row > div.column-secondary p,
  .stacked-item--top p,
  .stacked-item--bottom p {
    font-size: 2em !important;
  }
  .flex-row > div.column-primary h4 span,
  .flex-row > div.column-secondary h4 span,
  .stacked-item--top h4 span,
  .stacked-item--bottom h4 span {
    font-size: 2rem !important;
  }
  .flex-row > div.column-primary h4 small,
  .flex-row > div.column-secondary h4 small,
  .stacked-item--top h4 small,
  .stacked-item--bottom h4 small {
    font-size: 1rem !important;
  }
  .flex-row > div.column-primary h2,
  .flex-row > div.column-secondary h2,
  .stacked-item--top h2,
  .stacked-item--bottom h2 {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 575.98px) {
  #ox2 h2 {
    font-size: 1.25rem !important;
    margin-top: 15px !important;
  }
  #ox2 h2 small {
    font-size: 0.75rem !important;
  }
  #ox2 p {
    font-size: 1.5rem !important;
  }
  #ox2 h4 span {
    font-size: 1.5rem !important;
  }
  #ox2 h4 small {
    font-size: 1rem !important;
  }
}
