.image-uploader {
  margin: 1rem 0;
}

.upload-logo-image {
  width: 120px;
  height: 120px;
  min-width: 120px;
  margin-top: 28px;
  margin-top: 16px;
  position: relative;
}

.upload-logo-image .preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.preview-item {
  position: relative;
  width: 100px;
  height: 100px;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.preview-document {
  width: 25%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.remove-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #435ebe;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #eee;
  border: 1px dashed #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-btn:hover {
  background: #ddd;
}

.file-input {
  display: none;
}

.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}

.profile-header {
  position: relative;
  height: 200px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keeps aspect ratio while filling */
  background: linear-gradient(45deg, #5ad4c8, #f5d3c8, #f28b82);
  height: 200px;
  border-radius: 10px 10px 0 0;
}

.profile-pic {
  /* position: absolute; */
  /* bottom: -50px; */
  /* left: 10px; */
  margin-top: -64px;
  width: 126px;
  height: 126px;
  min-width: 126px;
  position: relative;

  img {
    border: 5px solid #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }

  a {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 28px;
    height: 28px;
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgb(0 0 0 / 9%);
  }
}

.user-profile-info {
  ul {
    flex-wrap: wrap;

  }

  h4 {
    color: rgb(56, 69, 81);
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 6px;
    text-transform: capitalize;
  }

  ul {
    padding: 0;
    list-style-type: none;

    li {
      margin-right: 22px;
      display: flex;
      align-items: center;
      font-size: 16px;
      line-height: 24px;
      font-weight: 500;
      color: rgb(100, 110, 120);

      i {
        margin-right: 8px;
        font-size: 21px;
      }
    }
  }
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
}

.timeline {
  border-left: 3px solid #d6d6d6;
  margin-left: 20px;
  padding-left: 20px;
}

.timeline-item {
  margin-bottom: 20px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
}

/* change password button sticky */
.change-password-fixed-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  color: #fff;
}

.change-password-fixed-btn:hover {
  color: #fff;
}

/* Vendor product description */
.product-description-text {
  white-space: normal;
  /* force wrapping */
  word-break: break-word;
  /* break long words */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* show max 2 lines */
  -webkit-box-orient: vertical;
}



/*product view modal css */

.image-preview-modal .image-preview-header {
  background-color: rgb(243, 245, 247) !important;
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  border-bottom: none;

  .btn-close {
    transform: translate(0, -50%) !important;
  }
}

/* Main image */
.image-preview-modal .main-img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  transition: transform 0.3s;

  @media (max-width:767px) {
    height: 180px;
  }
}

.image-preview-modal .main-img:hover {
  transform: scale(1.02);
}

/* Thumbnails */
.image-preview-modal .img-thumbnail-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.image-preview-modal .img-thumbnail-thumb:hover {
  border-color: #0d6efd;
  transform: scale(1.1);
}

/* Scrollbar for modal body */
.image-preview-modal .image-preview-body::-webkit-scrollbar {
  width: 6px;
}

.image-preview-modal .image-preview-body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

/* Card styles */
.image-preview-modal .card {
  background-color: #fff;
  border-radius: 1rem;
}

.notification-alert {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  font-size: 0;
}

.thankyou-sec {
  position: relative;
  z-index: 1;
}

.thanyou-bg {
  position: absolute;
  top: -26px;
  left: 0;
  width: 100%;
  z-index: -1;
  height: auto;

  img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
  }
}

.thankyou-img {
  max-width: 350px;
  width: 100%;
  margin-bottom: 30px;

  img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

.thankyou-desc {
  h1 {
    font-size: 56px;
    line-height: 64px;
    font-weight: 600;
    margin-bottom: 0;
  }

  p {
    font-size: 18px;
    line-height: 24px;
    margin-top: 20px;
  }
}


#layout-menu {
  display: block !important;
  transform: translateX(-140%) !important;
  transition: all .3s !important;
}

.layout-menu-expanded {
  #layout-menu {
    transform: translateX(0%) !important;
  }
}

.layout-overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100% !important;
  left: 0;
  display: none;
  background: #435971;
  opacity: 0.5;
  cursor: pointer;
}

.layout-menu-expanded .layout-overlay {
  z-index: 1079;
  display: block;
}

#layout-menu {
  &>.menu-inner {
    height: calc(100vh - 76px);
    overflow: auto;
  }
}

.flex-column-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Modal Backdrop */
.custom-modal-backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal Styling */
.custom-modal {
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 10px;
  animation: fadeInUp 0.4s ease;
}

/* Subtitle */
.modal-subtitle {
  text-align: center;
  color: #6c757d;
  font-size: 17px;
  margin: 10px 20px 20px;
}

/* Buttons */
.btn-login,
.btn-register {
  width: 75%;
  padding: 12px;
  margin: 8px 0;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-login {
  background: linear-gradient(45deg, #4e73df, #224abe);
  color: #fff;
  border: none;
}

.btn-login:hover {
  background: linear-gradient(45deg, #224abe, #1a3d91);
  transform: translateY(-2px);
}

.btn-register {
  background: #fff;
  color: #4e73df;
  border: 2px solid #4e73df;
}

.btn-register:hover {
  background: #4e73df;
  color: #fff;
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fc {
  background: #fff;
  border-radius: 8px;
  padding: 0px;
  max-height: 900px;
}

.fc .fc-toolbar-title {
  margin: 0px 12px;
}

.fc-event {
  cursor: pointer !important;
}

.fc .fc-toolbar.fc-header-toolbar {
  justify-content: center;
  margin: 10px 0px;
}

.notification-table {
  table {
    width: 100%;
  }
}

.vendor-type-badge {
  background-color: #e8f5e9;
  color: #2e7d32;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid #c8e6c9;
  vertical-align: middle;
}

.vue3-easy-data-table__body tr td {
  text-transform: capitalize;
}

.divider {
  display: flex;           /* Enables flexbox for horizontal alignment */
  align-items: center;    /* Vertically centers the text with the line */
  text-align: center;
  color: #666;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";             /* Required for pseudo-elements */
  flex: 1;                 /* Lines take up all available horizontal space */
  height: 1px;             /* Thickness of the horizontal line */
  background: #ccc;        /* Color of the line */
}

.divider span {
  padding: 0 15px;         /* Creates space between text and lines */
  text-transform: uppercase;
  font-size: 14px;
}

  .nav-logo{
    max-width: 136px;
    height: auto;
    width: 100%;
    object-fit: contain;
    object-position: center;
  }
