/* ===== Common Styles and Utilities ===== */

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Arial";
}

/* Body */
body {
  padding: 0px !important;
  background: #d1e8ff;
}

/* Links */
a {
  text-decoration: none;
  color: rgb(255, 255, 255) !important;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: white;
}

/* Horizontal Rule */
hr {
  height: 1px;
  border: 0;
  color: red;
  background-color: gray;
  margin: 15px auto 10px auto;
}

/* ===== Card Styles ===== */
.bg-success-gradient{
	background-image: linear-gradient(to right, #FF830F 0%, #FFD50F 100%) !important;
  }
  
  .bg-danger-gradient{
	background-image: linear-gradient(to right, #fa709a 0%, #fe8f40 100%) !important;
  }
  
  .bg-warning-gradient{
	background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%) !important;
  }
  
  .bg-info-gradient{
	background-image: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%) !important;
  }
  
  .bg-inverse-gradient{
	background-image: linear-gradient(to right, #434343 0%, black 100%) !important;
  }
.card {
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.07), 0 2px 9px 0 rgba(3, 1, 14, 0.06);
  color: #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background: #fff;
  overflow: hidden;
  border: #333 0.5px solid;
  transition: box-shadow 0.3s ease-in-out;
  padding: 10px;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card2 {
  margin: 5px;
  color: #000 !important;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  border: 0.5px solid;
      border: 1px solid rgb(204, 204, 204);
  border-radius: 5px;
  background: #ffffff;
  background-clip: border-box;
      border-radius: 4px;
    box-shadow: rgb(0 0 0 / 20%) 2px 2px 3px;
    transition: visibility 0s 
linear 0.3s, opacity 0.3s 
linear 0s;
}

.card3 {
  color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  border-color: #fff;
  border-radius: 5px;
  background: transparent;
  background-clip: border-box;
}

.card4 {
  margin: 5px;
  color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  border: 0.5px solid;
  border-color: #d4d4d4;
  border-radius: 5px;
  background: #ffffff;
  background-clip: border-box;
}

.card-options a:not(.btn) {
  margin-left: 0px;
}

.card-options a:not(.btn):hover {
  text-decoration: none;
}

/* ===== Form Controls ===== */

.form-control {
  width: 100%;
  padding: 0.4rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #000000;
  background: #fff;
  border: 1px solid #000000 !important;
  border-radius: 6px;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-control:focus {
  border: 1px solid #ffffff;
  outline: none;
  box-shadow: 0 0 10px rgb(0, 0, 0);
}

.form-control2233 {
  display: block;
  width: 100%;
  padding: 0.075rem 0.75rem;
  font-size: 0.8075rem;
  line-height: 1.6;
  color: #000000;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 5px;
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.form-control223344 {
  display: block;
  width: 100%;
  padding: 0.00000rem 0.00rem;
  font-size: 0.0000000rem;
  line-height: 1.6;
  color: #0208FE;
  background: linear-gradient(to right, #0208FE, #0208FE);
  border: 0.1px none #000;
  border-radius: 5px;
  transition: border-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
  float: left;
}

/* ===== Buttons ===== */

.pace-order {
  padding: 5px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin-right: 50%;
  margin-left: 20px;
  height: 40px;
  text-align: center;
  border: 1px solid yellow;
  background-size: 300% 100%;
  border-radius: 20px;
  -moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  background-image: linear-gradient(to right, #151DF3, #151DF3, #151DF3, #29E3D1, #0C13D4, #151DF3, #29E3D1);
}

.pace-order:hover {
  border: 2px solid black;
  background-position: 100% 0;
  -moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

/* ===== Modals ===== */

.modal-title {
  display: inline-block;
}

.modal-right .modal-dialog {
  margin: 0 auto;
  margin-right: 0px;
  margin-top: 0;
  margin-bottom: 0 !important;
  height: 100%;
  max-width: 600px;
}

.news_announcement .modal-right .modal-dialog {
  max-width: 420px;
}

.news_announcement .modal-header {
  color: white;
  background: #05d0a0;
  background: -webkit-linear-gradient(45deg, #05d0a0, #9fd6ef) !important;
  background: -moz-linear-gradient(45deg, #05d0a0, #9fd6ef) !important;
  background: -o-linear-gradient(45deg, #05d0a0, #9fd6ef) !important;
  background: linear-gradient(45deg, #05d0a0, #9fd6ef) !important;
}

.news_announcement .modal-content {
  height: 100vh;
}

.news_announcement .modal-content .modal-body {
  background: #f7f7f7;
  padding: 0.5rem;
}

.news_announcement .news-item .card {
  margin-bottom: 0.5rem;
}

.news_announcement .news-item .card .card-header {
  min-height: 0.5rem;
  padding: 0.5rem 0.5rem;
}

.news_announcement .news-item .card .desc > ul {
  padding-left: 5px;
}

.news-annoucement .table td > ul {
  padding-left: 10px;
}

/* ===== Tables ===== */

.table th,
.text-wrap table th {
  text-transform: capitalize !important;
  font-size: 0.75rem !important;
}

/* ===== Pagination ===== */

.pagination > li > a {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #495057;
  background-color: #fff;
  border: 1px solid #dee2e6;
}



/* ===== Page Overlay ===== */

#page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}



/* ===== Icon Buttons (WhatsApp, Bell) ===== */

.whatsapp-fix {
  width: 40px;
  height: 40px;
  background: #29AD37;
  border-radius: 20px;
  border: 2px solid #ccc;
  border-color: white;
}

.bell-fix {
  width: 35px;
  height: 35px;
  background: #0BD199;
  border-radius: 20px;
  border: 2px solid #ccc;
  border-color: white;
}

.custom-whatsapp-button {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-top: 10px;
}

.custom-whatsapp-icon {
  width: 100%;
  height: 100%;
}

/* ===== Utility Classes ===== */

.main-content {
  padding-top: 70px;
}

.slct {
  border-bottom: 2px;
  border-color: red;
}

#whole-flex {
  position: absolute;
  flex-direction: column;
  text-align: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -10;
}

/* ===== Responsive Utilities ===== */

@media (max-width: 720px) {
  .order_resume {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ededed;
  }
}

@media (max-width: 992px) {
  .modules-lists .module-item .product-name {
    max-width: 230px;
  }
}

/* ===== Module Lists ===== */

.modules-lists .module-item .product-price {
  font-size: 22px;
  font-weight: 600;
}

.modules-lists .module-item .product-name {
  font-size: 16px;
  font-weight: 600;
  max-width: 300px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* ===== settings/sidebar ===== */

  .sidebar {
    background-color: #f8f9fa;
    border: 1px solid #000000ff;
    padding: 0;
    width: 170px;
    overflow-y: auto;
    height: calc(100vh - 20px);
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
  }

  .sidebar-section {
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
  }

  .sidebar-section:last-child {
    border-bottom: none;
  }

  .sidebar-header {
    padding: 12px 16px;
    background-color: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
    flex-shrink: 0;
  }

  .sidebar-header h5 {
    font-size: 12px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
  }

  .sidebar-header i {
    color: #6c757d;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }

  .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #6c757d ! important;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    background-color: transparent;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sidebar-link:hover {
    background-color: #e9ecef;
    color: #212529 !important;
  }

  .sidebar-link.active {
    background-color: #007bff;
    color: #fff !important;
    border-left-color: #0056b3;
  }

  .sidebar-link.active i {
    color: #fff;
  }

  .sidebar-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: inherit;
    font-size: 14px;
  }

  .sidebar-link span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(170px - 70px);
  }

  /* Scrollbar Styling */
  .sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .sidebar::-webkit-scrollbar-track {
    background: #f1f3f5;
  }

  .sidebar::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
  }

  .sidebar::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
  }

  /* Firefox Scrollbar */
  .sidebar {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f1f3f5;
  }

  /* Tablet/Desktop */
  @media (min-width: 769px) {
    .sidebar {
      width: 170px;
      display: flex;
    }
  }

  /* Mobile - Full Width List */
  @media (max-width: 768px) {
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
      border: 1px solid #dee2e6;
      max-height: none;
    }

    .sidebar-link {
      padding: 12px 16px;
      font-size: 14px;
    }

    .sidebar-link span {
      max-width: none;
    }
  }

  @media (max-width: 480px) {
    .sidebar {
      width: 100%;
    }

    .sidebar-link {
      padding: 10px 12px;
      gap: 10px;
      font-size: 13px;
    }

    .sidebar-header {
      padding: 10px 12px;
    }

    .sidebar-header h5 {
      font-size: 11px;
    }
  }