html {
  font-size: 16px; /* or whatever you want */
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.stock-vessel-details {
  background: rgba(239, 239, 239, 0.8);

  padding: 20px 20px;
}

.card {
  box-shadow: 9px 9px 30px #f0f0f0, -9px -9px 30px #ffffff !important;
}

.stock-card-inner {
  position: relative;
}

.stock-card-img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.stock-product-name {
  padding: 15px 20px;
  font-size: 20px;
  font-weight: bolder;
  color: black;
}

.stock-card-inner h6 {
  margin: 0;
  font-size: 14px;
}

.favorite-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  right: 20px;
  top: 20px;
}

.favorite-icon:hover {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: red;
  position: absolute;
  right: 20px;
  top: 20px;
}

.quantity-plus {
  position: absolute;
  right: 5px;
  bottom: -20px;
  padding: 0px;
  width: 170px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-radius: 5px;
}

.stock-card {
  width: 100%;
  position: relative !important;
  overflow: hidden !important; /* Ensure the pseudo-element stays inside the parent */
  display: inline-block !important;
  background: transparent !important;
  border-radius: 20px !important;
}

.stock-card:hover hr {
  border-color: #e2e3ec;
  height: 4px;
}

@keyframes waterFill {
  0% {
    bottom: -100%;
  }
  100% {
    bottom: 0;
  }
}

.carousel-item2 {
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-item2:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: #007bff;
  color: antiquewhite;
}

.carousel-item2 img {
  width: 80px;
  height: 40px;
  transition: transform 0.3s ease; /* Smooth zoom effect */
}

.carousel-item2:hover img {
  transform: scale(1.4); /* Zooms the image */
}

.carousel-item2 span {
  font-size: 16px;
  transition: transform 0.3s ease, font-size 0.3s ease; /* Smooth zoom effect */
}

.carousel-item2:hover span {
  font-size: 16px; /* Increases font size on hover */
  /* Slight zoom */
}

.hover-box {
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
  margin: 10px;
  transition: background-color 0.3s ease;
}

.hover-box:hover {
  background-color: #e9ecef;
}

.hover-box1 {
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  background-color: #f8f9fa;
  margin: 10px;
  transition: background-color 0.3s ease;
}

.hover-box1:hover {
  background-color: #e9ecef;
}

.FilterTopBar {
  padding: 15px;
  border-radius: 10px;
  margin: 8px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.FilterTopBar input,
select {
  background-color: #f4f4f4 !important;
  border-radius: 10px !important;
}

.no-result-container {
  display: flex;
  flex-direction: column; /* Stack the title and message vertically */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  text-align: center; /* Center-align text */
  padding: 40px; /* Add some spacing around */

  margin: 20px auto; /* Center the container in the page */
  width: 100%; /* Adjust the width */
  max-width: 1000px; /* Limit maximum width */
}

.no-result-container h2 {
  font-size: 1.8rem; /* Larger font for the title */
  font-weight: bold; /* Bold title */
  color: #333; /* Darker text color */
  margin-bottom: 10px; /* Space between title and subtitle */
}

.no-result-container p {
  font-size: 1rem; /* Standard font size for the message */
  color: #777; /* Neutral text color for the message */
  line-height: 1.5; /* Add line spacing for better readability */
}

.list-card {
  padding: 0px !important;
}
.list-card-body {
  padding: 0px !important;
}
.card-body-content {
  padding: 10px;
}

/* Loader.css */

/* Full screen overlay */
.overlay2 {
  position: fixed; /* Fix to the viewport */
  top: 0;
  left: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  background: rgba(0, 0, 0, 0.5); /* Slight transparency for background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000000; /* Stay on top of everything */
  animation: fadeIn 0.5s ease-in-out; /* Fade-in effect */
  transition: 0.5s;
}

/* Loader container */
.loader {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.5s;
  position: relative; /* To position the rotating line */
}

/* Loader image */
.loader-image {
  width: 100px; /* Adjust size */
  height: 100px;
  animation: spin 2s linear infinite; /* Optional spinning animation */
  position: relative;
  z-index: 1; /* Ensure the loader image is on top of the rotating line */
}

/* Rotating line around loader */
.loader-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px; /* Adjust based on the size of the loader image */
  height: 120px;
  border: 4px solid white; /* Line color */
  border-radius: 50%; /* Make it circular */
  animation: rotateAround 2s linear infinite; /* Spinning animation for the line */
  z-index: 0; /* Place the line behind the loader image */
}

/* Spin animation for image */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Rotate the line around the loader */
@keyframes rotateAround {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.favorite-icon a {
  border: none !important;
}

.status-button-success {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.8rem; /* fixed font size */
  font-weight: bold;
  color: #4caf50;
  // background-color: #e8f5e9;
  // border: 2px solid #4caf50;
  border-radius: 50px;
  text-align: center;
  white-space: nowrap; /* keeps text in one line */
}

.status-button-warning {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: bold;
  color: #ffa000; /* Orange text */
  // background-color: #fff8e1; /* Light yellow background */
  // border: 2px solid #ffa000; /* Orange border */
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.status-button-danger {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: bold;
  color: #d32f2f; /* Red text */
  // background-color: #ffebee; /* Light red background */
  // border: 2px solid #d32f2f; /* Red border */
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.table-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 50px; /* Rounded edges */
  text-align: center;
  cursor: pointer;
  outline: none;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Success (Green) */
.table-button-success {
  color: #1b5e20; /* Dark Green Text */
  background-color: #c8e6c9; /* Light Green Background */
  border-color: #c8e6c9;
  white-space: nowrap;
}

/* Warning (Orange/Yellow) */
.table-button-warning {
  color: #ff8f00; /* Orange Text */
  background-color: #fff3e0; /* Light Orange Background */
  border-color: #fff3e0;
  white-space: nowrap;
}

.table-button-info {
  color: #0d47a1; /* Orange Text */
  background-color: #d6e4ff; /* Light Orange Background */
  border-color: #d6e4ff;
  white-space: nowrap;
}

/* Danger (Red) */
.table-button-danger {
  color: #b71c1c; /* Dark Red Text */
  background-color: #ffcdd2; /* Light Red Background */
  border-color: #ffcdd2;
  white-space: nowrap;
}

.table-button i {
  font-size: 1.2rem;
  color: #0d47a1; /* Dark Blue Icon */
}
.custom-progressbar text {
  font-weight: 900;
}

.cart-delete-button {
  background-color: #d6e4ff;
  border-radius: 50%;
  border: none;
}

.html5-qrcode-element {
  display: none !important;
  background-color: #b71c1c !important;
  background-origin: none !important;
  padding: 10px !important;
}
#qr-reader__dashboard_section {
  display: none !important;
}

.payment-modal .modal-content {
  border-radius: 10px;
}

.payment-modal .modal-header {
  border-bottom: none;
}

.payment-modal .modal-body {
  padding: 20px;
}

.payment-modal .form-group label {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.payment-modal .form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
}

.payment-modal .card-logos {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.payment-modal .card-logos img {
  width: 40px;
  height: 25px;
}

.payment-modal .modal-footer {
  border-top: none;
  padding-top: 0;
}

.payment-modal .pay-button {
  background-color: #6f42c1;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  color: white;
}
.text-green-500 {
  color: rgb(91, 223, 91) !important;
}

.percentage-section {
  border-radius: 10px 10px !important;
}

.percentage-section-left {
  border-radius: 10px 0 0 10px !important;
}

.percentage-section-right {
  border-radius: 0 10px 10px 0 !important;
}

/* In your CSS file */
.no-bullets {
  list-style-type: none;
  padding-left: 0;
}
.d-price {
  font-size: 0.8rem;
  color: gray;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.harbour-and-boat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-button {
  background: transparent !important;
  border: 1px solid white !important;
  color: rgb(47.6, 124.1, 200.6);
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  right: 20px;
  bottom: 20px;
  backdrop-filter: blur(10px);
}

.cart-icon {
  color: white;
  position: absolute;
  left: 11px;
  top: 12px;
}

.bag-shipping {
  position: absolute;
  left: 20px;
  bottom: 20px;
  border: 1px solid white;
  border-radius: 40px;
  background: transparent;
  padding: 5px 10px;
  color: white;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .home-page-banner .headline {
    font-size: 1.3rem; /* Adjust font size for smaller screens */
    text-align: center; /* Center text on smaller screens */
    line-height: 0.4rem !important;
  }
  .home-page-banner .subtext {
    font-size: 0.8rem; /* Adjust font size for smaller screens */
    line-height: 0.4rem !important;
    margin-top: 1px;
  }
  .home-page-banner {
    margin: 0px !important;
    padding: 0px !important;
  }
  .home-page-banner .container-fluid {
    margin: 0px !important;
    padding: 0px !important;
  }
  .home-page-banner .container-fluid a {
    margin: 0px !important;
    padding: 0px !important;
  }

  .subtitle {
    font-size: 1rem !important;
  }
  .carousel-fish-list h6 {
    font-size: 0.8rem !important;
  }

  .carousel-fish-list .item-card {
    padding: 0.5rem !important;
  }
  .carousel-fish-list .item-card img {
    padding: 0.5rem !important;
    margin: 0px !important;
  }

  .register-section-tab .card {
    padding: 0.2rem !important;
  }

  .register-section-tab .card .card-text-div h5 {
    font-size: 1.1rem !important;
  }
  .register-section-tab button {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.9rem !important;
  }
  .arrow {
    top: 1px !important;
    left: 110px !important;
  }
  .stock-card .subtitle-bold {
    padding-top: 1px;
    font-size: 0.9rem !important;
  }
  .d-price {
    font-size: 0.6rem;
    color: gray;
  }
  .price-row {
    flex-direction: column; /* stack top & bottom */
    align-items: flex-start; /* left align text */
  }

  .harbour-and-boat {
    font-size: 0.6rem !important;
    flex-direction: column !important;
    align-items: flex-start;
  }
  .stock-card .card-body {
    padding: 0.5rem !important;
  }
  .fish-name {
    font-size: 0.7rem !important;
    padding: 0px !important;
  }

  .cart-button {
    background: transparent !important;
    border: 1px solid white !important;
    color: rgb(47.6, 124.1, 200.6);
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    right: 5px;
    bottom: 10px;
    backdrop-filter: blur(10px);
  }

  .stock-card button {
    font-size: 0.6rem !important;
    padding: 0.6rem !important;
  }

  .cart-icon {
    color: white;
    position: absolute;
    left: 8px;
    top: 10px;
  }

  .bag-shipping {
    position: absolute;
    left: 5px;
    bottom: 10px;
    border: 1px solid white;
    border-radius: 40px;
    background: transparent;
    padding: 5px 10px;
    color: white;
    backdrop-filter: blur(10px);
  }
}
