body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  background: #898da0;
}

html {
  scroll-behavior: smooth;
}

.container-fluid {
  margin-top: -10px;
}

/* ------------------------------------------------------------------------------------------- */

a {
  color: #777;
  text-decoration: none;
}
.padding-top {
  padding-top: 20px;
}
.login-page {
  width: 350px;
  margin: 5% 40% 6% auto;
  padding: 0 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}
.login-page .text-center {
  margin-bottom: 10px;
}
.box {
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}

/* ------------------------------------------------------------------------------------------- */

.page {
  position: relative;
  display: block;
  top: 70px;
  left: 0;
  padding: 35px 15px 20px 320px;
}

.page-lgn {
  position: relative;
  display: block;
  top: 50px;
  left: 0;
  padding: 35px 15px 20px 270px;
}

.dashboard-row {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.box-content {
  width: 250px;
  height: 130px;
}

/* ------------------------------------------------------------------------------------------- */

.bg-green {
  background-color: #a3c86d; /* Green */
}

.bg-blue {
  background-color: #7acbee; /* Blue */
}

.bg-blue2 {
  background-color: #7a83ee; /* Blue 2 */
}

.bg-orange {
  background-color: #ffa500; /* Orange */
}

.bg-purple {
  background-color: #6a0dad; /* Purple */
}

.bg-lightblue {
  background-color: #add8e6; /* Light Blue */
}

.bg-gold {
  background-color: #ffd700; /* Gold */
}

.bg-red {
  background-color: #ff6347; /* Red */
}

.bg-secondary1 {
  background-color: #f0f0f0; /* Default background color for inactive or neutral items */
}

/* ------------------------------------------------------------------------------------------- */

.panel-default > .panel-heading {
  background-color: #f5f5f5;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px;
}

.panel-box {
  width: 100%;
  height: 100%;
  text-align: center;
  border: none;
}

.panel-value {
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.panel-icon {
  padding: 30px;
  width: 40%;
  border-radius: 0;
  height: 100%;
  display: flex;
  justify-content: center;
}

.panel-icon {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}

.panel-value {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.panel-value h2 {
  font-size: 25px;
  margin-top: 10px;
}

.panel-icon i {
  line-height: 65px;
  font-size: 40px;
  color: #fff;
}

/* ------------------------------------------------------------------------------------------- */

#header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: #fff;
  height: 75px;
  width: 100%;
  line-height: 65px;
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

header > .logo {
  color: #fff;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  width: 65px;
  height: 100%;
  background-color: transparent;
  color: #3b7ceb;
  margin-left: 50px;
}

header .logo img {
  height: 100%;
  width: 100%;
}

#header .logo-text {
  font-family: "Poppins", sans-serif;
  width: 290px;
  margin-bottom: -10px;
  padding: 20px;
  color: rgb(34, 85, 138);
  font-size: 28px;
  font-weight: 600;
  display: flex;
  flex: 1;
}

#header .header-profile {
  margin-left: auto;
  margin-right: 20px;
}

.info-menu {
  height: 60px;
  margin: 0;
  line-height: 60px;
  padding: 0 20px;
}

.info-menu li.profile {
  position: relative; /* Ensures dropdown is positioned relative to this element */
  display: flex;
  align-items: center;
  margin-bottom: 20px; /* Adds space below the profile button */
}

.profile a.toggle {
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  position: relative;
  padding: 5px 20px 5px 5px;
  font-size: 18px;
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: #5978c5;
  border-radius: 30px;
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.profile a img {
  width: 40px;
  height: 40px;
  margin-left: 2px;
}

.profile a span {
  display: inline-block;
  margin-left: 10px;
  line-height: 30px;
  vertical-align: middle;
}

.profile a i {
  margin-left: 5px;
  vertical-align: middle;
}

/* ======================================= sidebar ========================================== */

.sidebar-img-logo {
  width: 40px;
  height: auto;
  margin-left: 5px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(2px 2px 0px #000000);
}

/* side bar menu */
.sidebar-menu-toggle,
.submenu-toggle,
.staff {
  width: 100%;
  padding: 10px;
}

.submenu-toggle.active {
  color: white;
}

.sidebar-img-icon {
  width: 25px;
  height: auto;
  margin-left: 10px;
  margin-right: 15px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(1px 1px 0px #000000);
}

/* Highlight icon on hover/active */
.sidebar ul li a:hover .sidebar-img-icon,
.sidebar ul li a.active .sidebar-img-icon {
  filter: brightness(200%) !important;
}

.sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 25px;
  padding: 65px 0 0;
  height: 100%;
  width: 320px;
  background: #f8f9f9;
  border-right: 1px solid #ddd;
  text-align: center;
}

.sidebar ul li,
.sidebar ul li a,
ul.submenu li,
ul.submenu li a {
  transition: all 0.2s ease-in-out;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar ul li {
  display: block;
}

/* Main menu hover and active: black background, white text */
.sidebar > ul > li:hover > a,
.sidebar > ul > li.active > a,
.sidebar > ul > li > a:hover,
.sidebar > ul > li > a.active {
  background-color: #425b9a !important;
  color: #fff !important;
}

.sidebar ul li a:hover span,
.sidebar ul li a.active span {
  color: #fff !important;
  font-weight: 600;
}

.sidebar ul li a,
ul.submenu li a {
  color: #fff !important;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  background: none !important;
  font-family: "Poppins", sans-serif;
}

/* Menu text styling */
.sidebar ul li a span,
.sidebar ul li i {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #5c5c5e;
  font-size: 14px;
  font-weight: 600;
}

.sidebar ul li a i {
  color: #aeb2b7;
  padding: 15px 22px;
  text-align: center;
}

/* Active main menu item */
.sidebar ul li a.active {
  background-color: #425b9a !important;
  color: #fff !important;
}

/* Submenu: default state (no highlight unless hovered/active) */
ul.submenu {
  display: none;
  position: relative;
  background: none !important;
  border: none !important;
}

/* Submenu items: only black on hover/active */
/* Sidebar links base style */
.sidebar ul li a,
ul.submenu li a {
  color: #aeb2b7;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  background: none !important;
}

/* Submenu: default state (no highlight unless hovered/active) */
ul.submenu li a {
  padding-left: 45px;
  background: none !important;
  color: #474848 !important;
  font-weight: 400;
}

ul.submenu li a:hover,
ul.submenu li a.active {
  background-color: #425b9a !important;
  color: #fff !important;
  font-weight: bold;
}

/* Submenu lines (optional, can keep or remove as desired) */
ul.submenu li:before,
ul.submenu li a:before {
  content: none;
  display: none;
}

/* ======================================= end sidebar ========================================== */

.btn {
  border-radius: 3px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.btn-primary {
  color: #fff;
  background-color: #51aded;
  border-color: #3d8fd8;
  padding: 8px 12px;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #3175b8;
  border-color: #3d8fd8;
}
.btn-success {
  background-color: #2ecc71;
}
.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active {
  background-color: #27ae60;
}
.btn-warning {
  background-color: #e7c13e;
  border-color: #dfba3c;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active {
  background-color: #d0ac2c;
  border-color: #dfba3c;
}
.btn-danger {
  background-color: #ed5153;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active {
  background-color: #bb282a;
}
.input-group-addon {
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 0;
}
input[type="file"] {
  text-indent: -99999px;
}
td img.img-thumbnail {
  width: 125px;
  height: 125px;
  vertical-align: top;
}
.img-avatar {
  width: 50px;
  height: 50px;
}
.jumbotron {
  margin-bottom: 0;
}
.list-group-item:first-child,
.list-group-item:last-child {
  border-radius: 0;
}
.profile .jumbotron {
  border-radius: 3px 3px 0 0;
}
.profile .jumbotron h3 {
  color: white;
}
img.img-size-2 {
  width: 125px;
  height: 125px;
}

.hidden {
  display: none;
}

/* Container for the login panel */
.container-login {
  display: flex;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 1400px;
  max-width: 90%;
  margin-left: -50px; /* Adjusted to shift left */
  height: 650px; /* Set the desired height here */
}

/* Left section of the login panel */
.left-login {
  flex: 1;
  background-image: url("../images/login_background.png");
  background-size: cover; /* Ensures the image covers the entire container */
  background-position: center; /* Centers the image */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  color: white; /* Change text color to make it readable on top of the image */
}

/* Placeholder image area (remove the placeholder if you want the image to fully cover the space) */
.left-login .placeholder-login {
  display: none; /* Hides the placeholder image */
}

/* Placeholder image area */
.left-login .placeholder-login {
  background-color: #ddd;
  width: 90%;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px dashed #aaa;
  margin-bottom: 20px;
  color: #555;
}

/* Text under the placeholder */
.left-login p {
  font-size: 18px;
  color: #555;
}

/* Right section of the login panel */
.right-login {
  flex: 1;
  padding: 80px;
}

/* Heading styles */
.right-login h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #3b7ceb;
}

.right-login h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #666;
}

/* Form styling */
.form-login {
  display: flex;
  flex-direction: column;
}

.form-login .form-group-login {
  margin-bottom: 20px;
}

.form-login label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: bold;
}

.form-login input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

/* Login Button Styling */
.button-login {
  background-color: #3b7ceb;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  width: 100%;
}

.button-login:hover {
  background-color: #2c61b3;
}

/* Forgot password link */
.forgot-password-login {
  margin-bottom: 20px;
  text-align: right;
}

.forgot-password-login a {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.forgot-password-login a:hover {
  text-decoration: underline;
}

.separator-login {
  margin: 20px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
}

/* Google Login Button Styling */
.button-login-with-google {
  background-color: #fefeff;
  color: #555;
  padding: 14px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.button-login-with-google:hover {
  background-color: #f4f4f4;
}

.google-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  background-color: #fff;
  display: none; /* Hidden by default */
  transition: background-color 0.3s ease;
}

.toggle-password i {
  font-size: 18px;
}

/* Circle effect around the eye icon */
.toggle-password:hover {
  background-color: #ccc;
}

.toggle-password:active {
  background-color: #aaa;
}

/* ===============================================================     Delivery     ============================================================================ */

html {
  zoom: 0.9; /* Set zoom level to 90% */
}

body {
  overflow-x: hidden;
}

/* Category */

.active-category {
  background-color: #00be62;
}

.deactive-category {
  background-color: #e2445c;
}

/* ===============================================================     Delivery     ============================================================================ */

.status-delivered {
  background-color: #00be62;
}

.status-cancelled {
  background-color: #e2445c;
}

.status-with-returns {
  background-color: #d87c2b;
}

/* Style for stock status with color coding */
.delivery-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  font-size: 0.85em;
  text-align: center;
}

.status-pending {
  background-color: #745100;
}

.status-shipped {
  background-color: #ffa500;
}

.status-delivered {
  background-color: #00be62;
}

.status-cancel {
  background-color: #e2445c;
}

/* ===============================================================     CLients     ============================================================================ */

.active-client {
  background-color: #00be62;
}

.inactive-client {
  background-color: #e2445c;
}

/* ================================================================     User     ============================================================================= */

.active-user {
  background-color: #00be62;
}

.inactive-user {
  background-color: #e2445c;
}

/* ================================================================     Categories     ============================================================================= */

.active-category {
  background-color: #00be62;
}

.inactive-category {
  background-color: #e2445c;
}

/* ================================================================     Books     ============================================================================= */

/* Ensure the button width is fixed and text doesn't overflow */
.form-group col-md-1 button {
  width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px; /* Reduce padding for smaller buttons */
}

/* Media Query for small screens */
@media (max-width: 768px) {
  .form-group col-md-1 button {
    width: auto;
    padding: 5px 10px;
    font-size: 12px;
  }

  /* Adjust font size for small screens */
  .form-group col-md-1 button span {
    font-size: 8px; /* Smaller font for better fit */
  }
}

/* ========     Books Modals      ========*/

/* Clear Button */
.btn-clear {
  color: #fff;
  background-color: #ffc107;
  border-color: #e0a800;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
}

/* Hover, Focus, and Active states */
.btn-clear:hover,
.btn-clear:focus,
.btn-clear.focus,
.btn-clear:active,
.btn-clear.active {
  color: #fff;
  background-color: #d39e00;
  border-color: #c69500;
}

/* Remove the white outline and box-shadow when clicked or focused */
.btn-clear:focus,
.btn-clear:active {
  outline: none;
  box-shadow: none;
  border-color: #c69500;
}

/* Modal Edit Books */
.modal-edit-books {
  max-width: 100%;
  margin: auto;
}

.modal-dialog.modal-edit-books {
  max-width: 350px;
  margin: 30px auto;
}

/* Modal Content */
.modal-content {
  padding: 10px;
  border-radius: 6px;
}

/* Adjust modal-header */
.modal-header {
  border-bottom: none;
  padding-bottom: 5px;
}

.modal-header .close {
  position: absolute;
  top: 0;
  right: 5px;
  margin-top: 0;
  padding: 0.3rem;
  color: #aaa;
  border: none;
  font-size: 2.5rem;
}

.modal-header .close:hover,
.modal-header .close:focus {
  color: red;
}

/* Modal Body */
.modal-body {
  padding: 10px 15px;
}

/* Form input fields style */
.form-row .form-group {
  margin-top: 20px;
  margin-bottom: 2px;
}

/* Increase font size of input and dropdown */
.form-control {
  font-size: 1.2rem;
  padding: 0.6rem;
}

/* Label Styling */
.modal-body .form-row .form-group label {
  font-size: 1.2rem;
  font-weight: normal;
}

/* Modal Footer Buttons */
.modal-footer {
  border-top: none;
  display: flex;
  justify-content: flex-end;
  padding: 8px 15px;
}

/* Style the buttons */
.modal-footer .btn {
  background-color: #3b7ceb;
  border-color: #3b7ceb;
  color: white;
  font-size: 1rem;
}

.modal-footer .btn:hover {
  background-color: #3368b5;
  border-color: #3368b5;
  color: white;
}

.modal-footer .btn-secondary {
  background-color: red;
  border-color: red;
  color: white;
}

.modal-footer .btn-secondary:hover {
  background-color: darkred;
  border-color: darkred;
  color: white;
}

/* ================= Manage Books =================  */

/* =================    Books     ================= */

/* Categories Table Box Styling */
.panel-default-table > .panel-heading-table-books {
  background-color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px;
  width: 100%;
}

/* Panel Heading Styling */
.panel-heading-table-books {
  background-color: #ecf9fc;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Flexbox Layout for Heading Container */
.heading-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Add Book Button */
.add-book-btn {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background-color: #3b7ceb;
  border-radius: 50%;
  color: white;
}

/* New Content Table Styling */
.content-table {
  border-collapse: collapse;
  font-size: 0.9em;
  min-width: 400px;
  background-color: #ecf9fc;
}

/* Table Header Styling */
.content-table th {
  background-color: #ecf9fc;
  color: #333;
  font-weight: bold;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}

/* Table Rows Styling */
.content-table th,
.content-table td {
  border: none;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  min-width: 80px;
}

/* Hover Effects for the table rows */
.content-table tbody tr:hover {
  background-color: #b7d3f8;
}

/* Table Styling Inside Box */
.panel-default-table {
  width: 100%;
  padding: 5px 0;
  background-color: #ffffff;
}

.content-table {
  width: 100%;
  table-layout: auto;
}

/* Optional: Keep the table header sticky while scrolling */
.panel-heading-table {
  background-color: #f5f5f5;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 20px;
  text-align: left;
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Remove borders for table cells */
.content-table th,
.content-table td {
  border: none;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  min-width: 80px;
}

/* Hover Effects for the table rows */
.content-table tbody tr:hover {
  background-color: #b7d3f8;
}

/* Button Group Styling */
.panel-default-table .btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.panel-default-table .btn-group .btn-table {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.panel-default-table .btn-group .btn-table:hover {
  transform: scale(1.1);
  text-decoration: none;
}

/* Button Styles */
.edit-btn {
  background-color: #ffc107;
  color: white;
}

.edit-btn:hover {
  background-color: #e0a800;
}

.btn-success {
  background-color: #01be63;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
}

.btn-danger {
  background-color: red;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

/* Responsive Adjustments */
@media (max-width: 608px) {
  .box-book-edit .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .box-book-edit .form-group {
    width: 100%;
  }

  .custom-btn {
    width: 100%;
  }
}

/* Box styling for Edit Book (to match the table box) */
.box-edit-book {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin: 8px auto;
  width: 100%;
}

/* Form elements design */
.edit-form {
  font-family: "Arial", sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Title Styling */
.edit-form h4 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
  color: #3b7dea;
}

/* Form-row adjustments */
.form-row {
  margin-bottom: 8px;
}

/* Form-group styling */
.form-group {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
}

/* Label Styling */
.form-group label {
  font-weight: bold;
  margin-bottom: 4px;
  font-size: 14px;
}

.form-control {
  padding: 4px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 12px;
  width: 100%;
  box-sizing: border-box;
}

.form-control[type="text"],
.form-control[type="number"],
.form-control[type="email"],
.form-control select {
  width: 100%;
}

.form-control:focus {
  border-color: #3b7dea;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

.form-buttons {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.form-buttons button {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 8px;
  width: auto;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

/* bulk-actions buttons */
.bulk-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}

.bulk-actions button {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 8px;
  width: auto;
}

/* Primary Button */
.btn-primary {
  background-color: #3b7dea;
  border: 1px solid #3b7dea;
  color: white;
}

/* Secondary Button */
.btn-secondary {
  background-color: #6c757d;
  border: 1px solid #6c757d;
  color: white;
}

/* Success Button */
.btn-success {
  background-color: #28a745;
  border: 1px solid #28a745;
  color: white;
}

/* Hover Effects for Buttons */
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover {
  opacity: 0.8;
}

/* ================================================================== */

/* Container for the Books Table */

/* Box for the books table */
.box-book {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Box Styling */

/* .row-books {
  position: sticky;
  top: 80px;
  z-index: 99;
} */

.panel-body-table {
  height: 480px;
  max-height: 480px;
  overflow: auto;
}

.box-book {
  margin-bottom: 20px;
  margin-left: 0;
  margin-right: 0;
  padding: 20px;
  border: 1px solid #f2f2f2;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin: 8px auto;
  width: 100%;
}

/* Heading and Search Box container */
.heading-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

#dateFilterNoResults {
  margin-top: 20px;
}

/* Book Row Styling */

/* Styling for individual book rows */
.book-row {
  background-color: #b6d2f8;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* General styling for the books table */
#booksTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  margin: 10px 0;
  border-radius: 20px;
  height: 400px;
  max-height: 400px;
  overflow: auto;
}

/* Apply border-radius to individual table cells */
#booksTable td {
  padding: 10px;
  border: 1px solid transparent;
  overflow: auto;
}

/* Styling for individual book rows */
.book-row {
  background-color: #b6d2f8;
  padding: 15px;
  margin: 15px 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Add hover effect to the rows */
#booksTable .book-row:hover {
  background-color: #a3c6f5;
  cursor: pointer;
}

/* Optional: Add border-radius to the table as a whole for rounded corners */
#booksTable {
  border-radius: 8px;
  overflow: hidden;
}

.status-filter-container {
  margin-right: auto;
}

/* Search icon in the input field */
.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 14px;
}

/* Search input field */
.search-input {
  padding: 5px 10px 5px 30px;
  font-size: 14px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-right: 10px;
}

.search-input:focus {
  outline: none;
  border-color: #3b7dea;
}

/* Add Book button styling */
.add-book-btn {
  padding: 10px 15px;
  background-color: #3b7dea;
  color: white;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* Add Book button hover effect */
.add-book-btn:hover {
  background-color: #0056b3;
}

/* Style for table cell that contains stock status */
.stock-status-container {
  text-align: center;
}

/* Style for stock status with color coding */
.stock-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  font-size: 0.85em;
  text-align: center;
}

.stock-in-stock {
  background-color: #00be62;
}

.stock-low-stock {
  background-color: #efba2a;
}

.stock-out-of-stock {
  background-color: #e2445c;
}
