/* ========== Bootstrap 4 Padding & Margin Classes ========== */

/* ========== Bootstrap 4 Style Padding & Margin Classes ========== */

/* Padding */
.p-0 { padding: 0px !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/* Padding - Individual sides */
.pt-0 { padding-top: 0px !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pr-0 { padding-right: 0px !important; }
.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

.pb-0 { padding-bottom: 0px !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pl-0 { padding-left: 0px !important; }
.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

/* Margin */
.m-0 { margin: 0px !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

/* Margin - Individual sides */
.mt-0 { margin-top: 0px !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mr-0 { margin-right: 0px !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

.mb-0 { margin-bottom: 0px !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-0 { margin-left: 0px !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }

/* Responsive (sm, md, lg, xl) versions will be added next... */


/* Padding */
.p-0 { padding: 0px !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

/* Margin */
.m-0 { margin: 0px !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

/* ========== Bootstrap 4 Responsive Padding & Margin Classes ========== */

/* Small (≥576px) */
@media (min-width: 576px) {
  .p-sm-0 { padding: 0px !important; }
  .p-sm-1 { padding: 0.25rem !important; }
  .p-sm-2 { padding: 0.5rem !important; }
  .p-sm-3 { padding: 1rem !important; }
  .p-sm-4 { padding: 1.5rem !important; }
  .p-sm-5 { padding: 3rem !important; }

  .m-sm-0 { margin: 0px !important; }
  .m-sm-1 { margin: 0.25rem !important; }
  .m-sm-2 { margin: 0.5rem !important; }
  .m-sm-3 { margin: 1rem !important; }
  .m-sm-4 { margin: 1.5rem !important; }
  .m-sm-5 { margin: 3rem !important; }
}

/* Medium (≥768px) */
@media (min-width: 768px) {
  .p-md-0 { padding: 0px !important; }
  .p-md-1 { padding: 0.25rem !important; }
  .p-md-2 { padding: 0.5rem !important; }
  .p-md-3 { padding: 1rem !important; }
  .p-md-4 { padding: 1.5rem !important; }
  .p-md-5 { padding: 3rem !important; }

  .m-md-0 { margin: 0px !important; }
  .m-md-1 { margin: 0.25rem !important; }
  .m-md-2 { margin: 0.5rem !important; }
  .m-md-3 { margin: 1rem !important; }
  .m-md-4 { margin: 1.5rem !important; }
  .m-md-5 { margin: 3rem !important; }
}

/* Large (≥992px) */
@media (min-width: 992px) {
  .p-lg-0 { padding: 0px !important; }
  .p-lg-1 { padding: 0.25rem !important; }
  .p-lg-2 { padding: 0.5rem !important; }
  .p-lg-3 { padding: 1rem !important; }
  .p-lg-4 { padding: 1.5rem !important; }
  .p-lg-5 { padding: 3rem !important; }

  .m-lg-0 { margin: 0px !important; }
  .m-lg-1 { margin: 0.25rem !important; }
  .m-lg-2 { margin: 0.5rem !important; }
  .m-lg-3 { margin: 1rem !important; }
  .m-lg-4 { margin: 1.5rem !important; }
  .m-lg-5 { margin: 3rem !important; }
}

/* Extra Large (≥1200px) */
@media (min-width: 1200px) {
  .p-xl-0 { padding: 0px !important; }
  .p-xl-1 { padding: 0.25rem !important; }
  .p-xl-2 { padding: 0.5rem !important; }
  .p-xl-3 { padding: 1rem !important; }
  .p-xl-4 { padding: 1.5rem !important; }
  .p-xl-5 { padding: 3rem !important; }

  .m-xl-0 { margin: 0px !important; }
  .m-xl-1 { margin: 0.25rem !important; }
  .m-xl-2 { margin: 0.5rem !important; }
  .m-xl-3 { margin: 1rem !important; }
  .m-xl-4 { margin: 1.5rem !important; }
  .m-xl-5 { margin: 3rem !important; }
}

/* ========== Bootstrap 4 Positioning Classes ========== */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }

.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }

.top-sm-5 { top: 5px !important; }
.top-md-10 { top: 10px !important; }
.top-lg-20 { top: 20px !important; }
.top-lg-30 { top: 30px !important; }
.top-lg-40 { top: 40px !important; }
.top-lg-50 { top: 50px !important; }

.left-sm-5 { left: 5px !important; }
.left-md-10 { left: 10px !important; }
.left-lg-20 { left: 20px !important; }

/* ========== Bootstrap 4 Table Classes ========== */

/* Base table styling */
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
  }
  
  .table th,
  .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
  }
  
  .table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
  }
  
  .table tbody + tbody {
    border-top: 2px solid #dee2e6;
  }
  
  /* Bordered table */
  .table-bordered {
    border: 1px solid #dee2e6;
  }
  
  .table-bordered th,
  .table-bordered td {
    border: 1px solid #dee2e6;
  }
  
  /* Striped table */
  .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  /* Hoverable table */
  .table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
  }
  
  /* Responsive table */
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Small table */
  .table-sm th,
  .table-sm td {
    padding: 0.3rem;
  }
  
  /* Text alignment */
  .table .text-center {
    text-align: center !important;
  }
  
  .table .text-right {
    text-align: right !important;
  }
  
  .table .text-left {
    text-align: left !important;
  }
  
  /* Table header colors */
  .table-primary th {
    background-color: #007bff;
    color: #fff;
  }
  
  .table-secondary th {
    background-color: #6c757d;
    color: #fff;
  }
  
  .table-success th {
    background-color: #28a745;
    color: #fff;
  }
  
  .table-danger th {
    background-color: #dc3545;
    color: #fff;
  }
  
  .table-warning th {
    background-color: #ffc107;
    color: #212529;
  }
  
  .table-info th {
    background-color: #17a2b8;
    color: #fff;
  }
  
  .table-light th {
    background-color: #f8f9fa;
    color: #212529;
  }
  
  .table-dark th {
    background-color: #343a40;
    color: #fff;
  }
  

  /* ========== Bootstrap 4 Text Classes ========== */

/* Text alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

/* Text transformation */
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Text wrapping and truncation */
.text-nowrap { white-space: nowrap !important; }
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Font weight & style */
.font-weight-bold { font-weight: 700 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-light { font-weight: 300 !important; }
.font-italic { font-style: italic !important; }

/* Text colors */
.text-primary { color: #007bff !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #343a40 !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #ffffff !important; }

/* Background colors for text */
.bg-primary { background-color: #007bff !important; color: #fff !important; }
.bg-secondary { background-color: #6c757d !important; color: #fff !important; }
.bg-success { background-color: #28a745 !important; color: #fff !important; }
.bg-danger { background-color: #dc3545 !important; color: #fff !important; }
.bg-warning { background-color: #ffc107 !important; color: #212529 !important; }
.bg-info { background-color: #17a2b8 !important; color: #fff !important; }
.bg-light { background-color: #f8f9fa !important; color: #212529 !important; }
.bg-dark { background-color: #343a40 !important; color: #fff !important; }
.bg-white { background-color: #ffffff !important; color: #212529 !important; }

/* ========== Bootstrap 4 List Classes ========== */

/* Unstyled List */
.list-unstyled {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  
  /* Inline List */
  .list-inline {
    padding-left: 0 !important;
    list-style: none !important;
    display: flex;
    gap: 10px;
  }
  
  .list-inline-item {
    display: inline-block;
  }
  
  /* Nested Lists */
  .list-nested ul {
    margin-left: 20px;
  }
  
  /* List item styling */
  .list-item-primary { color: #007bff !important; }
  .list-item-secondary { color: #6c757d !important; }
  .list-item-success { color: #28a745 !important; }
  .list-item-danger { color: #dc3545 !important; }
  .list-item-warning { color: #ffc107 !important; }
  .list-item-info { color: #17a2b8 !important; }
  .list-item-light { color: #f8f9fa !important; }
  .list-item-dark { color: #343a40 !important; }
  
  /* List with custom bullets */
  .list-check {
    list-style-type: none;
  }
  
  .list-check li::before {
    content: '\2713'; /* Checkmark */
    margin-right: 8px;
    color: #28a745;
  }
  
  .list-arrow {
    list-style-type: none;
  }
  
  .list-arrow li::before {
    content: '\2192'; /* Arrow */
    margin-right: 8px;
    color: #007bff;
  }
  
  .list-dot {
    list-style-type: disc;
    margin-left: 20px;
  }
  
  /* Responsive List */
  @media (max-width: 576px) {
    .list-inline {
      display: block !important;
    }
  }
  
  