html, body {
    margin: 0;
    padding: 0;
    overflow-y: hidden; /* 👈 This prevents vertical scrollbar */
    height: 100%;
}

#ci-footer {
    display: none;
}

/* Data table styles */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-top: 2em;
  text-align: left;
}

.data-table thead {
  background-color: #f5f7fa;
  color: #32363a;
  font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.data-table tbody tr:hover {
  background-color: #f0f4f8;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
}

.data-table tfoot td {
  background-color: #f5f7fa;
  color: #32363a;
  font-weight: 700;
}

/* End of data table styles */
.white-btn {
  background-color: #ffffff;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  font-weight: 500;
  color: #0064d9;
  padding: 8px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
}

.white-btn:hover {
  background-color: #eae9e9;
}

.green-btn {
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.green-btn:hover {
  background-color: #218838;
}

.blue-btn {
  background-color: #0064d9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.blue-btn:hover {
  background-color: #004ca3;
}

.red-btn {
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.red-btn:hover {
  background-color: #c82333;
}

.hidden {
  display: none !important;
}

.success-message {
  color: #28a745;
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}

.error-message {
  color: #dc3545;
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Pagination styles */
.pagination-nav {
  display: flex;
  justify-content: center;
  margin-top: 1em;
}

.pagination {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.5em;
}

.pagination li {
  display: inline;
}

.pagination li a {
  text-decoration: none;
  padding: 0.5em 1em;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #0064d9;
  background-color: #ffffff;
}

.pagination li a:hover {
  background-color: #f0f4f8;
}

.pagination li.active a {
  background-color: #0064d9;
  color: #ffffff;
  cursor: not-allowed;
  border: none;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink {
  flex-shrink: 1;
}
.flex-basis {
  flex-basis: auto;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.jusstify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

/* Pagination styles end */

#page-content {
  display: flex;
  padding: 0.1em;
  gap: 1em;
}

#warehouse-content {
  width: 100%;
}

#database-content {
  width: 100%;
}

/* Pagination styles end */

#tab-bom .tab-content {
  min-height: 200px;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100%;
}

#table_calc {
  margin: 0;
  padding: 0;
  width: 100%;
}




ui5-tab:focus {
  outline: none !important;
}

/* Remove the rounded focus ring specifically for the selected tab header */
ui5-tab[selected]::part(tab-header) {
  outline: none !important;
  box-shadow: none !important;
}

/* If you want to also ensure the tab's inner part doesn't show any outline when focused */
ui5-tab[selected]::part(tab) {
  outline: none !important;
  box-shadow: none !important;
}

.user-details {
  display: none;
  background-color: #ffffff;
  padding: 1em;
  box-shadow: rgba(34, 53, 72, 0.2) 0px 0px 2px 0px, rgba(34, 53, 72, 0.2) 0px 2px 4px 0px;
}



