/* ==========================================================================
   supply bangladesh.com -  Plugin Styles (plugins.css)
   ========================================================================== */

/* Font Awesome Free v6.5.1 Integration */
@import url("../vendor/fontawesome/css/all.min.css");

/* --------------------------------------------------------------------------
   Carousel / Slider Plugin Styles
   -------------------------------------------------------------------------- */
.os-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.os-carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.os-carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.os-carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d4e8ff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 39, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #002772;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.os-carousel-nav-btn:hover {
  background: #006dec;
  color: #ffffff;
  border-color: #006dec;
  box-shadow: 0 6px 16px rgba(0, 109, 236, 0.3);
}

.os-carousel-nav-btn.prev {
  left: 15px;
}

.os-carousel-nav-btn.next {
  right: 15px;
}

.os-carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.os-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 39, 114, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.os-carousel-dot.active {
  background: #006dec;
  width: 26px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   Toast Notification Plugin Styles
   -------------------------------------------------------------------------- */
#os-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.os-toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 39, 114, 0.18);
  border-left: 5px solid #006dec;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
  opacity: 0;
}

.os-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.os-toast.success {
  border-left-color: #178740;
}

.os-toast.error {
  border-left-color: #de1618;
}

.os-toast.warning {
  border-left-color: #f0c200;
}

.os-toast-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.os-toast.success .os-toast-icon {
  color: #178740;
}

.os-toast.error .os-toast-icon {
  color: #de1618;
}

.os-toast.warning .os-toast-icon {
  color: #f0c200;
}

.os-toast-body {
  flex-grow: 1;
}

.os-toast-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #232326;
  margin-bottom: 2px;
}

.os-toast-msg {
  font-size: 0.85rem;
  color: #5a5d5f;
  margin: 0;
}

.os-toast-close {
  background: transparent;
  border: none;
  color: #949595;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.os-toast-close:hover {
  color: #232326;
}

/* --------------------------------------------------------------------------
   Star Rating Plugin Styles
   -------------------------------------------------------------------------- */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f0c200;
  font-size: 0.875rem;
}

.rating-stars .fa-star-o,
.rating-stars .bi-star {
  color: #ccccce;
}

.rating-count {
  font-size: 0.8rem;
  color: #74767c;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   Quantity Control Plugin
   -------------------------------------------------------------------------- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccccce;
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
  height: 38px;
}

.qty-stepper .qty-btn {
  background: #f8f8f9;
  border: none;
  width: 34px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #383a3e;
  font-size: 0.85rem;
  transition: background-color 0.15s ease;
}

.qty-stepper .qty-btn:hover {
  background: #e3e4e5;
  color: #002772;
}

.qty-stepper .qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #232326;
  -moz-appearance: textfield;
}

.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
