@import "./AE.css";

:root {
  --MainColor: #800000;
  --MainColor-20: rgba(128, 0, 0, 20%);
  --MainColor-08: rgba(128, 0, 0, 8%);
  --MainColor-04: rgba(128, 0, 0, 4%);
  --SecondColor: #007f80;
  --SecondColor-20: rgba(0, 127, 128, 20%);
  --SecondColor-08: rgba(0, 127, 128, 8%);
  --SecondColor-04: rgba(0, 127, 128, 4%);
  --Dark: #0d0d0d;
  --Gray: rgba(13, 13, 13, 70%);
  --Gray-Light: rgba(13, 13, 13, 50%);
  --InputHint: rgba(13, 13, 13, 35%);
  --InputStroke: rgba(13, 13, 13, 5%);
  --InputBG: rgba(13, 13, 13, 2%);
  --White: #ffffff;
  --Body-BG: #fbfaf8;
  --radius: 12px;
}

@font-face {
  font-family: "Sen";
  src: url("../webfonts/MiSansArabic-Regular.woff2");
  font-style: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Sen";
  src: url("../webfonts/MiSansArabic-Semibold.woff2");
  font-style: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Sen";
  src: url("../webfonts/MiSansArabic-Bold.woff2");
  font-style: swap;
  font-weight: 700;
}

* {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sen";
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: var(--Body-BG);
  accent-color: var(--MainColor);
}

menu {
  list-style: none;
  padding-inline-start: 0;
  margin-block: 0;
}

figure {
  margin-block: 0;
  margin-inline: 0;
}

a {
  color: var(--Gray);
  text-transform: capitalize;
}

/* button */
.btn-scaling {
  position: relative;
  padding: 16px 20px;
  background-color: var(--MainColor);
  border-radius: var(--radius);
  color: var(--White);
  box-shadow: 0px 10px 10px rgb(240 80 80 / 63%) inset,
    0px 5px 10px rgb(0 0 0 / 21%), 0px -10px 10px rgb(50 7 7 / 47%) inset;

  :is(a, span, i) {
    color: var(--White);
    font-size: 0.8rem;
  }

  &:hover {
    opacity: 0.9;
  }

  &.baseBtn {
    border: 1px solid var(--Dark);
    box-shadow: none;
    color: var(--Dark);
    background-color: transparent;
    transition: 0.3s ease-in-out;

    &:hover,
    &.active {
      background-color: var(--MainColor);
      color: var(--White);
      border-color: var(--MainColor);
      animation: none;
    }

    &.notBorader {
      color: var(--White);
      background-color: var(--MainColor);
      border: 1px solid transparent;

      &:hover {
        color: var(--Dark);
        background-color: transparent;
        border-color: var(--Dark);
      }
    }
  }

  &.btnDelete,
  &.btnEdit {
    box-shadow: none;
    padding: 12px 16px;
    font-size: 0.8rem;
    transition: 0.3s ease-in-out;

    &:hover {
      animation: none;
    }
  }

  &.btnEdit {
    background-color: rgb(20, 123, 171);

    &:hover {
      background-color: rgb(11, 82, 115);
    }
  }

  &.btnDelete {
    background-color: rgb(171, 20, 20);

    &:hover {
      background-color: rgb(115, 11, 11);
    }
  }
}

.btn-icon {
  position: relative;
  padding: 16px 20px;
  /* background-color: var(--MainColor); */
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--InputStroke);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 5%);

  &.black {
    background-color: var(--Dark);

    a {
      color: var(--White);
    }
  }

  &.white {
    background-color: var(--White);

    a {
      color: var(--Dark);
    }
  }

  &.logout {
    box-shadow: none;
    border: none;

    a,
    i {
      color: var(--MainColor);
    }
  }

  &:hover {
    opacity: 0.95;
  }
}

/* Form Wizard */
.form-wizard {
  position: relative;
  width: 100%;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.wizard-navigation {
  position: sticky;
  bottom: -20px;
  background: var(--White);
  padding: 16px;
  border-top: 1px solid var(--InputStroke);
  z-index: 10;
}

/* Progress bar for wizard */
.wizard-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 0 16px;
  flex: 1;
}

.wizard-progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;

  &::before,
  &::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #777;
  }

  span {
    position: relative;
    z-index: 3;
    font-size: 14px;
    color: var(--Gray);
  }

  &.completed,
  &.active {
    &::before,
    &::after {
      content: "";

      background: var(--MainColor);
    }

    span {
      color: var(--MainColor);
      font-weight: 600;
    }
  }
}

/* Form validation styles */
.formGroup input.error,
.formGroup select.error,
.formGroup textarea.error {
  border-color: #dc3545;
  background-color: #fff5f5;
}

.formGroup input.error:focus,
.formGroup select.error:focus,
.formGroup textarea.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Responsive styles for wizard */
@media (max-width: 768px) {
  .wizard-progress-step span {
    font-size: 12px;
  }

  .wizard-navigation {
    padding: 12px;
  }
}

.ck-editor__editable {
  min-height: 150px;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  padding: 12px !important;
  background-color: var(--InputBG);
}

/* overlay */
.overlay {
  cursor: url("https://demo-morata.myshopify.com/cdn/shop/t/3/assets/cursor-close.png?v=93210088594709752341700037392"),
    pointer;

  &.active {
    &::before {
      content: "";
      inset: 0;
      width: 100%;
      background: #0000004d;
      z-index: 9999;
      position: fixed;
      -webkit-backdrop-filter: blur(1px);
      backdrop-filter: blur(1px);
      height: 100%;
    }
  }
}

/* Switch tap */

.toggleWayLogin {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--White);
  padding: 10px;
  border-radius: 18px;
  position: relative;
  border: inset 1px var(--InputStroke);
  width: min(100%, 500px);
  margin-inline: auto;
  z-index: 99;

  .tap {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 6px;
    z-index: 2;
    color: var(--Dark);
    transition: 300ms ease-in-out;

    &.active {
      color: var(--White);
    }
  }

  &.start::after {
    inset-inline-start: 12px;
  }

  &.end::after {
    inset-inline-start: calc(50% + 6px);
  }

  &::after {
    content: "";
    position: absolute;
    display: inline-block;
    background-color: var(--MainColor);
    width: calc(50% - 18px);
    height: calc(100% - 24px);
    top: 12px;
    border-radius: 6px;
    box-shadow: 0px 10px 10px rgb(240 80 80 / 63%) inset,
      0px -10px 10px rgb(50 7 7 / 47%) inset;
    transition: cubic-bezier(0.88, -0.35, 0.565, 1.35) 0.4s;
  }
}

i {
  color: var(--Gray);
}

/* input */
label {
  color: var(--Dark);
}

input,
textarea,
select {
  width: 100%;
  height: 60px;
  padding-inline-start: 12px;
  /* border-color: red; */
  border-radius: var(--radius);
  background-color: var(--InputBG);
  border: 1px solid var(--InputStroke);

  &::placeholder {
    font-size: 14px;
    color: var(--InputHint);
  }

  &:not(type="tel") {
    padding-inline-start: 12px;
  }

  &:focus {
    outline: none;
  }
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

textarea {
  height: 140px;
  padding-top: 12px;
}

/* custom modal css */

.modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;

  &.active {
    opacity: 1;
    transform: translateY(-0);
  }

  .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: url("https://demo-morata.myshopify.com/cdn/shop/t/3/assets/cursor-close.png?v=93210088594709752341700037392"),
      pointer;
  }

  .modal-box {
    border-radius: 24px;
    background-color: var(--White);
    width: min(700px, 100%);
    margin: 10% auto;
    padding: 1rem;
    position: relative;
    z-index: 10;
    overflow-y: auto;
    max-height: 100vh;

    .modal-header {
      padding-block: 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .modal-body {
      /* overflow-y: auto; */
      padding-inline: 12px;
    }
  }

  .modal-close {
    /* position: absolute; */
    inset-inline-end: 1rem;
    /* top: 1rem; */
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* layout design system */
.gridLayout {
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "sidebar header"
    "sidebar content";
  height: 100vh;
  min-height: 100vh;
  transition: grid-template-columns 0.5s ease;
  background-color: var(--White);

  &.Collapsed {
    grid-template-columns: 120px 1fr;
  }

  @media (max-width: 991px) {
    grid-template-columns: 1fr;
    grid-template-areas:
      " header"
      " content";

    &.open {
      .sidebar {
        transform: translateX(0);
        opacity: 1;
      }

      &::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99998;
      }
    }

    &.Collapsed {
      grid-template-columns: 1fr;
    }
  }
}

.content {
  grid-area: content;
  min-height: calc(100vh - 80px);
  overflow-y: auto;
  background-color: var(--Body-BG);

  .container-full {
    height: 100%;
    min-height: calc(100vh - 80px);
  }
}

.Collapsed {
  .sidebar {
    .fullLogo {
      display: none;
    }

    .smallLogo {
      display: block;
    }

    a {
      i {
        font-size: 20px;
      }

      text-align: center;

      span {
        display: none;
      }
    }
  }

  @media (max-width: 991px) {
    .sidebar {
      .fullLogo {
        display: block;
      }

      .smallLogo {
        display: none;
      }

      a {
        i {
          font-size: 18px;
        }

        text-align: start;

        span {
          display: inline-block;
        }
      }
    }
  }
}

.content {
  background-color: var(--Body-BG);
  grid-area: content;
  border-start-start-radius: 24px;

  @media (max-width: 991px) {
    border-start-start-radius: 0;
  }
}

.sidebar {
  transition: 0.5s ease-in-out;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--MainColor-20) transparent;

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--MainColor-20);
    border-radius: 3px;

    &:hover {
      background-color: var(--MainColor-40);
    }
  }

  .closeSidebar {
    display: none;
    position: absolute;
    inset-inline-end: 0;
    top: 30px;
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);

    i {
      color: var(--Gray);
    }
  }

  background-color: var(--White);
  grid-area: sidebar;
  display: grid;
  grid-template-rows: 92px 1fr auto;

  .sidebarTop {
    flex-shrink: 0;
  }

  .smallLogo {
    display: none;
  }

  .sidebarList {
    overflow-y: auto;
    flex: 1;
    padding-bottom: 20px;

    li {
      margin-bottom: 0.8rem;
      padding-inline: 0.75rem;
      padding-block: 0.5rem;
      border-radius: var(--radius);

      border: 1px solid var(--InputStroke);
      transition: 300ms ease-in-out;

      i {
        color: var(--Gray);
        padding-inline-end: 6px;
      }

      a {
        width: 100%;
        height: 100%;
      }

      a,
      i {
        transition: 300ms ease-in-out;
      }

      &.active {
        background-color: var(--MainColor);
        color: var(--White);

        i,
        a {
          color: var(--White);
        }
      }

      &:not(.active):hover {
        background-color: var(--InputStroke);
      }
    }
  }

  .sidebarBottom {
    flex-shrink: 0;
    padding-top: 20px;
    border-top: 1px solid var(--InputStroke);
    margin-top: auto;

    .logout {
      width: 100%;

      a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        color: var(--Gray);
        text-decoration: none;
        border-radius: var(--radius);
        transition: all 0.3s ease;

        &:hover {
          background-color: var(--MainColor-08);
          color: var(--MainColor);

          i {
            color: var(--MainColor);
          }
        }

        i {
          color: var(--Gray);
          transition: all 0.3s ease;
        }
      }
    }
  }

  @media (max-width: 991px) {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 90%);
    height: 100vh;
    transform: translateX(-100%);
    opacity: 0;
    z-index: 99999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);

    .closeSidebar {
      display: block;
    }

    .sidebarList {
      max-height: calc(100vh - 200px);
      overflow-y: auto;
    }

    .sidebarBottom {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: var(--White);
      border-top: 1px solid var(--InputStroke);
    }
  }

  @media (max-width: 480px) {
    width: 100%;

    .sidebarList {
      max-height: calc(100vh - 220px);
    }
  }
}

.header {
  grid-area: header;
  background-color: var(--White);

  .searchForm {
    i {
      color: var(--InputHint);
      inset-inline-start: 15px;
    }

    input {
      padding-inline-start: 45px;
    }
  }

  .btn-account {
    background-color: var(--MainColor);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;

    i {
      font-size: 18px;
      color: var(--White);
    }

    &:hover {
      background-color: var(--MainColor);
      text-decoration: none;
    }
  }
}

.my-account {
  margin-block: 50px 20px;

  .profile-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    flex-wrap: wrap;

    .social-icons img {
      transition: 0.3s;
      width: 24px;
      height: 24px;
    }

    .social-icons img:hover {
      transform: scale(1.1);
    }

    .info {
      .title {
        color: var(--MainColor);
      }
    }

    .category-rating {
      display: flex;
      flex-direction: column;
    }

    .rating {
      color: #fbbf24;
    }

    .stars {
      font-size: 14px;
    }

    .stars .fa-regular {
      color: #d1d5db;
    }

    .social-icons img {
      transition: 0.3s;
      width: 24px;
      height: 24px;
    }

    .social-icons img:hover {
      transform: scale(1.1);
    }
  }

  .user-image-wrapper {
    width: 90px;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
  }

  .verified-icon-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 20px;
    height: 20px;
    z-index: 9999;
  }

  .user-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.edit-account {
  margin-block: 50px 20px;

  .images-box {
    display: flex;
    gap: 60px;
    padding: 0 20px;
    justify-content: center;

    .relative {
      width: 6rem;
      height: 6rem;
      margin-inline: auto;

      #profileImage,
      #licenseImage {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #e5e7eb;
      }

      label {
        position: absolute;
        bottom: 0;
        right: 0;
        background-color: var(--MainColor);
        color: white;
        border-radius: 9999px;
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: 2px solid white;

        i {
          color: var(--White);
          font-size: 0.8rem;
        }

        input {
          display: none;
        }

        &:hover {
          background-color: var(--MainColor);
        }
      }
    }
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 60px;

    .form-row {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      @media (min-width: 1024px) {
        flex-direction: row;

        > .formGroup {
          flex: 1;
        }
      }
    }

    .formGroup {
      label {
        display: block;
        margin-bottom: 0.5rem;
        text-align: right;
        font-weight: 500;
      }

      input {
        width: 100%;
        padding: 0.5rem 0.75rem;
        background-color: #f3f4f6;
        border-radius: 0.375rem;
        border: 1px solid #e5e7eb;
        transition: 0.3s;

        &:focus {
          outline: none;
          border-color: var(--MainColor);
          background-color: #fff;
        }
      }
    }

    .social-section {
      margin-top: 30px;

      .social-hed {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
      }

      .edit-toggle-btn {
        color: var(--MainColor);
        font-size: 0.875rem;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
        text-decoration: underline;

        &:hover {
          text-decoration: underline;
        }
      }

      .social-inputs {
        display: none;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;

        &.active {
          display: flex;
        }

        .input-row {
          display: flex;
          align-items: center;
          gap: 0.75rem;

          img {
            width: 1.5rem;
            height: 1.5rem;
          }

          label {
            min-width: 80px;
            font-weight: 500;
            text-align: right;
          }

          input {
            flex: 1;
            background-color: #f3f4f6;
            border-radius: 0.375rem;
            padding: 0.5rem 0.75rem;
            border: 1px solid #e5e7eb;

            &:focus {
              outline: none;
              border-color: var(--MainColor);
              background-color: #fff;
            }
          }
        }
      }
    }

    .relative {
      label {
        i {
          font-size: 0.75rem;
          pointer-events: none;
        }
      }
    }

    .save-button {
      text-align: center;

      button {
        width: 100%;
        padding: 0.75rem 1.5rem;
        background-color: var(--MainColor);
        color: white;
        border-radius: 0.5rem;
        font-size: 1rem;
        font-weight: 600;
        transition: background-color 0.3s ease;

        &:hover {
          background-color: var(--MainColor);
        }
      }
    }
  }
}

.custom-btn {
  background-color: #a30000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-btn:hover {
  background-color: #870000;
}

/* ====================== start style ======================  */

/* login page form */

.loginPage {
  min-height: 100dvh;

  @media (min-width: 1800px) {
    height: 800px;
  }

  .container {
    height: 100%;
    align-content: center;
    padding: 50px 0;

    .loginForm {
      background-color: var(--White);
      padding-inline: 20px;
      padding-block: 50px 30px;
      width: 100%;
      border-radius: 20px;
      border: 1px solid var(--InputStroke);
      margin-block-start: -40px;
      transition: 0.3s ease-in-out;
      opacity: 0;
      transform: translateY(-10px);

      button {
        /* width: 50%; */
        margin-inline: auto;
        display: flex;
        justify-content: center;
      }

      &.show {
        opacity: 1;
        transform: translateY(0);
      }

      span {
        color: var(--Gray);

        &::before,
        &::after {
          content: "";
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          background-color: var(--InputStroke);
          width: 45%;
          height: 1px;
        }

        &::before {
          inset-inline-start: 0;
        }

        &::after {
          inset-inline-end: 0;
        }
      }

      .Hint {
        color: var(--Gray);

        a {
          color: var(--MainColor);
        }
      }
    }
  }

  .loginImg {
    img {
      border-start-start-radius: 24px;
      border-end-start-radius: 24px;
      box-shadow: 20px 0 40px rgba(0, 0, 0, 10%);
    }
  }
}

.formGroup {
  overflow: visible;

  .custom-phone-field {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    border: 1px solid var(--InputStroke, #ddd);
    border-radius: 12px;
    background-color: #fff;
    overflow: visible;
    height: 60px;
    position: relative;
    background-color: var(--InputBG);

    .custom-phone-input {
      flex: 1;
      border: none;
      padding: 12px 15px;
      font-size: 16px;
      outline: none;
      direction: ltr;
      text-align: left;

      &:placeholder-shown {
        text-align: right;
      }
    }

    .custom-dropdown {
      position: relative;
      width: 100px;
      cursor: pointer;

      .selected-option {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 0 10px;
        height: 48px;

        .arrow {
          margin-right: auto;
          font-size: 12px;
          color: #999;
        }
      }

      img {
        width: 20px;
        height: 14px;
      }

      .dropdown-options {
        position: absolute;
        top: 48px;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #ccc;
        z-index: 99999;
        display: none;
        flex-direction: column;
        max-height: 200px;
        overflow-y: auto;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);

        li {
          display: flex;
          align-items: center;
          gap: 5px;
          padding: 8px 10px;
          cursor: pointer;

          &:hover {
            background-color: #f0f0f0;
          }
        }
      }
    }
  }
}

/* home for product */
.storiesContainer {
  max-height: 200px;
  aspect-ratio: 4 / 3;
  padding-inline-start: 30px;

  /* background-color: red; */
  figure {
    cursor: pointer;
  }

  .stroy {
    figure {
      width: 100px;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 2px solid var(--MainColor);
      padding: 4px;

      img {
        border-radius: 50%;
        object-fit: cover;
      }
    }

    p {
      margin-top: 6px;
      color: var(--Dark);
      text-align: center;
    }

    &.addStory {
      position: relative;

      &::before {
        content: "";
        position: absolute;
        bottom: 24px;
        inset-inline-end: 0;
        width: 30px;
        aspect-ratio: 1;
        background-color: var(--SecondColor);
        background-image: url("../assets/svg/Plus\ Icon.svg");
        background-repeat: no-repeat;
        background-size: 14px;
        background-position: center center;
        border-radius: 50%;
      }

      figure {
        border-style: dashed;
      }

      .BG {
        background-color: var(--SecondColor-20);
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
    }
  }

  .swiper-slide {
    width: auto;
    max-width: 110px;
    flex-shrink: 0;
  }

  .swiper-button-prev,
  .swiper-button-next {
    background-color: var(--SecondColor);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: 0.3s ease-in-out;

    &::after {
      font-size: 22px;
      color: var(--White);
    }

    &.swiper-button-disabled {
      transform: scale(0);
      opacity: 0;
    }
  }

  .swiper-button-prev {
    right: 0;
  }
}

#showStory {
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(2px);
  }

  .storySwiper {
    position: relative;

    .delete-story-overlay {
      position: absolute;
      top: 20px;
      right: 20px;
      z-index: 10;

      .btn-delete-story {
        background: var(--MainColor);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;

        i {
          color: var(--White);
          font-size: 16px;
        }

        &:hover {
          opacity: 0.8;
        }
      }
    }
  }

  .modal-box {
    .swiper-slide {
      max-height: 90vh;
      display: inline-block;
      margin-inline: auto;

      img {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 16px;
        margin-inline: auto;
      }

      .imgDetails {
        margin-top: 24px;
        color: var(--White);

        .avatar {
          figure {
            width: 70px;
            height: 70px;
            border-radius: 50%;

            img {
              width: 100%;
              height: 100%;
              border-radius: 50%;
              border: 1px solid rgba(255, 255, 255, 0.5);
            }
          }
        }

        menu {
          a {
            img {
              width: 50px;
            }
          }
        }
      }
    }

    background-color: var(--Dark);

    .modal-close {
      i {
        color: var(--White);
      }
    }
  }

  /* story-image-container {
  position: relative;
}
.delete-story-overlay {
  position: absolute;
  bottom: 20px;
  right: 12px;
  background: var(--MainColor);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
@media (max-width:445px) {
  bottom: 10px;
}
  i{
    color: var(--White);
  }
} */
}

#addPost {
  .modal-box {
    position: relative;
    max-height: 90dvh;
  }

  .swiper-slide {
    display: inline-block;
  }

  .mapContainer {
    width: 100%;
    height: 500px;

    iframe {
      width: 100%;
      height: 100%;
    }
  }

  .searchForm {
    i {
      color: var(--InputHint);
      inset-inline-start: 20px;
    }

    input {
      padding-inline-start: 45px;
    }
  }

  .card {
    background-color: var(--White);
    /* padding: 16px 8px; */
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);

    .mainImage {
        img{
            width:100%
        }
      figcaption {
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        background-color: var(--MainColor);
        color: var(--White);
        padding: 8px 20px;
        border-start-start-radius: 16px;
        border-end-end-radius: 16px;
      }
    }
  }

  ul {
    li {
      display: flex;
      align-items: center;
      gap: 4px;
      border-radius: var(--radius);
      padding: 8px 12px;
      background-color: var(--InputStroke);
      color: var(--Dark);
    }
  }

  .userInfo {
    background-color: var(--InputBG);
  }
}

.ProgressBarContainer {
  --numSides: 3;
  position: relative;
  width: 100%;
  height: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 12px;

  span {
    flex-basis: calc((100% / var(--numSides)));
    height: 5px;
    position: relative;
    display: inline-block;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.5);

    &.process {
      /* width: 0%; */
      background-color: rgba(255, 255, 255, 0.5);
      height: 5px;

      &.fill {
        width: 100%;
        background-color: var(--White);
        transition: 0.25s ease-in-out;
      }
    }
  }

  &.light {
    span {
      background-color: rgba(0, 0, 0, 0.5);

      &.process {
        background-color: rgba(0, 0, 0, 0.5);

        &.fill {
          background-color: var(--SecondColor);
        }
      }
    }
  }
}

/* product */
.products {
  margin-block: 50px 20px;

  .mainHeading {
    .filter-wrapper {
      position: relative;

      .filter-btn {
        background-color: transparent;
        border: 1px solid var(--Dark);
        padding: 6px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.875rem;
        transition: 0.3s;

        &:hover {
          background-color: var(--MainColor);
          color: #fff;

          img {
            filter: brightness(0) invert(1);
          }
        }

        img {
          width: 1rem;
          height: 1rem;
        }
      }

      .filter-dropdown {
        width: 200px;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        z-index: 99999;
        position: absolute;
        left: 0;
        right: auto;
        top: 100%;
        margin-top: 0.5rem;

        li {
          margin-bottom: 0.5rem;

          &:last-child {
            margin-bottom: 0;
          }

          .filter-option {
            background: none;
            border: none;
            text-align: right;
            width: 100%;
            padding: 8px 12px;
            font-size: 0.875rem;
            cursor: pointer;
            transition: 0.3s;

            &:hover {
              background-color: var(--MainColor);
              color: #fff;
            }
          }
        }
      }

      .hidden {
        display: none !important;
      }
    }
  }

  .dropdown {
    position: relative;

    .dropdown-menu {
      width: 120px;
      border: 1px solid #eee;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      display: none;
      flex-direction: column;
      z-index: 99999;
      position: absolute;
      left: 0;
      right: auto;
      top: 100%;

      &.show {
        display: flex;
      }
    }
  }

  .card {
    background-color: var(--White);
    border: 1px solid var(--InputStroke);

    @media (max-width: 768px) {
      flex-direction: column;
    }

    .mainImage {
      position: relative;
      margin: 0;
      height: fit-content;
      flex: 0 0 40%;

      @media (max-width: 768px) {
        flex: 0 0 auto;
        max-width: 100%;
      }

      img {
        object-fit: cover;
        border-radius: var(--radius);
          width: 100%;
        
      }

      figcaption {
        position: absolute;
        top: 0;
        inset-inline-start: 0;
        background-color: var(--MainColor);
        color: var(--White);
        padding: 8px 20px;
        border-start-start-radius: 16px;
        border-end-end-radius: 16px;
      }
    }

    .rate,
    i {
      color: #ffbe4c;
    }

    ul {
      li {
        display: flex;
        align-items: center;
        gap: 4px;
        border-radius: var(--radius);
        padding: 8px 12px;
        background-color: var(--InputStroke);
        color: var(--Dark);
      }
    }

    .userInfo {
      background-color: var(--InputBG);
      padding: 20px;
    }

    &.removeBg {
      background-color: transparent;
      border: none;
    }
  }

  .mapContainer {
    width: 100%;
    height: 500px;

    iframe {
      width: 100%;
      height: 100%;
    }
  }
}

.statistics {
  margin-block: 50px 20px;

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .stat-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: 0.3s;

    &:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .stat-icon {
      font-size: 1rem;
      color: #fff;
      background-color: var(--MainColor);
      padding: 0.5rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 3rem;
      height: 3rem;
    }

    .stat-info {
      .stat-title {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 4px;
      }

      .stat-value {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--MainColor);
      }
    }
  }
}

#addProduct,
#editProduct {
  .modal-box {
    max-height: 90dvh;

    .offerBox {
      margin-top: 16px;
      padding: 24px 20px;
      background-color: var(--InputBG);
      border-radius: var(--radius);
    }

    ul {
      li {
        padding: 12px 8px;
        border-bottom: 1px solid var(--InputStroke);
      }
    }
  }
}

/* profile */
.profile {
  margin-block: 50px 20px;

  .company-info {
    background-color: #fff;
    padding: 12px 20px;
    border: 1px solid var(--InputStroke);
    border-radius: var(--radius);
  }

  .logo-wrapper {
    position: relative;
    display: inline-block;
  }

  .company-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
  }

  .verified-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 9990;
  }

  .verification-badge {
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid;
    white-space: nowrap;

    &.verified {
      background-color: rgba(16, 185, 129, 0.1);
      color: #10b981;
    }

    &.not-verified {
      background-color: #fdeaea;
      color: #991b1b;
    }
  }

  .company-name {
    color: var(--MainColor);
    margin: 0;
  }

  .tag {
    padding: 12px 20px;
    border-radius: var(--radius);
    background-color: var(--White);
    border: 1px solid var(--InputStroke);

    h3 {
      color: var(--MainColor);
    }
  }
}

/* home for ads */
.products2 {
  margin-block: 50px 20px;

  .card {
    background-color: var(--White);
    padding: 16px 8px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);

    p {
      font-size: 0.9rem;
    }
  }
}

/*============= Library init============== */
.iti {
  width: 100%;
}

.iti--separate-dial-code .iti__selected-flag {
  background-color: transparent;
  border-radius: 12px;
  gap: 8px;
  align-items: center;
  justify-content: end;
  transition: 0.3s ease-in-out;
}

.iti__country {
  transition: 0.3s ease-in-out;
}

.iti__flag.iti__kw {
  transform: scale(1.4);
}

.iti--separate-dial-code.iti--show-flags .iti__selected-dial-code {
  font-size: 16px;
  color: var(--Dark);
  margin-left: -2px;
}

.iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
  width: 20%;
  left: 0;

  /* right: auto; */
  @media (max-width: 580px) {
    width: 30%;
  }
}

.iti__selected-flag {
  padding: 0;
}

.iti__arrow {
  margin-right: 3px;
  transition: 0.3s ease-in-out;
  /* padding-left: 3px; */
}

.iti__country-list {
  /* right: 0; */
  inset-inline-start: 0;
  font-size: 16px;
  max-height: 300px;
  box-shadow: none;
  padding-top: 12px;
  border-radius: 12px;
  width: 530px;
  background-color: #fafafa;
  border-color: var(--InputStroke);
  z-index: 99999;

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

.iti--allow-dropdown input,
.iti--allow-dropdown input[type="tel"],
.iti--allow-dropdown input[type="text"],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input[type="text"] {
  @media (min-width: 767px) {
    padding-right: 19% !important;
  }
}

/* swiper init */
.swiper {
  width: 100%;
  height: 100%;

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* filepond init */
.filepond--credits {
  display: none !important;
}

.filepond--list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filepond--item {
  width: calc(33% - 0.5em);
  /* Adjust number of items per row */
}

/* keyFrames */
@keyframes btn-horizontal {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    transform: scale3d(1.05, 0.95, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes fixed {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@keyframes fillBar {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ///////// */
#codeMethodModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

#codeMethodModal .modal-content {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

#codeMethodModal .method-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

#codeMethodModal .method-options li {
  margin-bottom: 10px;
}

#codeMethodModal .method-options .method-btn {
  background-color: #f5f5f5;
  padding: 12px;
  border: none;
  border-radius: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  justify-content: flex-start;
  cursor: pointer;
}

#codeMethodModal .method-options .method-btn img {
  width: 24px;
  height: auto;
}

#codeMethodModal .method-options .method-btn span {
  flex: 1;
  text-align: start;
}

#codeMethodModal .method-options .method-btn i {
  font-size: 20px;
  margin-left: 10px;
  color: #333;
}

.resend-code .textLogin .entered-code {
  color: var(--MainColor);
}

.otp-container {
  background-color: var(--White);
  padding-inline: 20px;
  padding-block: 50px 30px;
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--InputStroke);
  margin-block-start: -40px;
  transition: 0.3s ease-in-out;
  margin-top: 40px;
}

.entered-code {
  color: #7b1e1e;
  font-weight: bold;
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.otp-inputs input {
  width: 60px;
  height: 60px;
  font-size: 24px;
  text-align: center;
  border: none;
  outline: none;
  background: transparent;
  position: relative;
  z-index: 1;
}

.otp-inputs input::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #7b1e1e;
  z-index: -1;
}

.otp-line {
  position: relative;
  width: 60px;
  height: 60px;
}

.otp-line input {
  width: 100%;
  height: 100%;
  font-size: 24px;
  text-align: center;
  border: none;
  background: transparent;
  outline: none;
  z-index: 1;
  position: relative;
  direction: ltr;
}

.otp-line::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #7b1e1e;
}

.otp-inputs input:focus {
  border-bottom-color: #000;
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  color: #7b1e1e;
}

#resend-btn {
  background: none;
  border: none;
  color: #7b1e1e;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.8rem;
}

#resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.confirm-btn {
  background-color: #7b1e1e;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
}

/* ///////// */
.innerSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #bebdbdb7;
  opacity: 1;
  margin: 0 4px;
  transition: transform 0.3s ease;
}

.innerSwiper .swiper-pagination-bullet-active {
  background-color: var(--MainColor);
  transform: scale(1.3);
}

/* ///messages/// */
.messages-page {
  margin-block: 50px 20px;

  .messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 15px;
    background-color: white;
    border-radius: 12px;
    margin: 0 auto;

    .chat-card {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 20px 0;
      border-bottom: 1px solid #eee;
    }

    .msg-time {
      font-size: 13px;
      color: #666;
      margin-top: 6px;
      white-space: nowrap;
    }

    .chat-content {
      flex: 1;
    }

    .user-info {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .user-text h3 {
      font-size: 15px;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 4px;
      color: #333;
    }

    .verified {
      font-size: 14px;
      color: #0ea5e9;
    }

    .last-msg {
      color: var(--InputHint);
      font-weight: 600;
      margin: 2px 0 4px;
      font-size: 14px;
    }

    .avatar-wrapper {
      position: relative;
      flex-shrink: 0;
    }

    .avatar {
      width: 60px;
      height: 60px;
      border-radius: var(--radius);
      object-fit: cover;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .status {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 11px;
      height: 11px;
      border: 2px solid #fff;
      border-radius: 50%;
    }

    .status.online {
      background-color: #22c55e;
    }

    .message-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      background-color: #f1f1f1;
      padding: 8px 12px;
      border-radius: 30px;
      margin-top: 6px;
      max-width: 100%;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }

    .msg-img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
    }

    .message-box p {
      margin: 0;
      font-size: 14px;
      color: #333;
      line-height: 1.4;
    }
  }
}

/* chat  */

.chat-page {
  margin-block: 50px 0px;

  .chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #eee;

    .back-button {
      width: 32px;
      height: 32px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      border: none;
      cursor: pointer;
    }

    .avatar-wrapper {
      position: relative;
      width: 60px;
      height: 60px;

      img {
        width: 100%;
        height: 100%;
        border-radius: var(--radius);
        object-fit: cover;
      }

      .status {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 12px;
        height: 12px;
        background-color: #22c55e;
        border: 2px solid white;
        border-radius: 50%;
      }
    }

    .status-text {
      font-size: 13px;
      color: #999;
    }
  }

  .chat-box {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 10%;
  }

  .msg {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    display: inline-block;
  }

  .msg.received {
    background-color: #f2f2f2;
    align-self: flex-end;
  }

  .msg.sent {
    background-color: #7c0d13;
    color: white;
    align-self: flex-start;
  }

  .msg-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
  }

  .voice-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f2f2f2;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 70%;
  }

  .voice-msg span {
    font-size: 12px;
    color: #555;
    white-space: nowrap;
  }

  .voice-player {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
  }

  .voice-player .play-btn {
    background-color: #7c0d13;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    i {
      color: var(--White);
    }
  }

  .progress-bar {
    flex: 1;
    height: 4px;
    background-color: #ddd;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }

  .progress-fill {
    height: 100%;
    background-color: #7c0d13;
    width: 0%;
    transition: width 0.1s ease;
  }

  .img-msg {
    width: 170px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background-color: white;
    border-top: 1px solid #eee;
    position: fixed;
    width: 100%;
    bottom: 0;
  }

  .input-area input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
  }

  .input-area button {
    background-color: #7c0d13;
    border: none;
    padding: 10px 12px;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
  }

  .input-area i {
    font-size: 18px;
    color: #999;
    cursor: pointer;
  }

  #sendBtn {
    i {
      color: var(--White);
    }
  }
}

/* ///reviews/ */
.review-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  padding: 20px;
  margin: 0 auto;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }

  .review-card {
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 15px;
      padding-bottom: 15px;
      border-bottom: 1px solid #f3f4f6;

      .product-info {
        display: flex;
        align-items: center;
        gap: 12px;

        i {
          color: var(--White);
        }

        .card-icon {
          font-size: 24px;
          background: var(--MainColor);
          padding: 12px;
          border-radius: 10px;
        }

        .product-name {
          font-size: 18px;
          font-weight: 600;
          margin: 0;
          color: #111827;
        }
      }

      .status {
        font-size: 14px;
        font-weight: 500;
        padding: 6px 12px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        gap: 6px;

        &.verified {
          background-color: rgba(16, 185, 129, 0.1);
          color: #10b981;
        }

        &.not-verified {
          background-color: rgba(239, 68, 68, 0.1);
          color: #ef4444;
        }
      }
    }

    .user-rating {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;

      @media (max-width: 768px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .user-info {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        color: #374151;
      }

      .rating {
        display: flex;
        align-items: center;
        gap: 8px;

        .stars i {
          color: #f59e0b;
          font-size: 16px;
        }

        .rating-text {
          font-size: 14px;
          color: var(--Gray);
          font-weight: 500;
        }
      }
    }

    .review-content {
      margin-bottom: 20px;

      .review-text {
        font-size: 15px;
        line-height: 1.6;
        color: #4b5563;
        margin: 0;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
    }

    .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 15px;
      border-top: 1px solid #f3f4f6;

      .review-date {
        font-size: 13px;
        color: var(--Gray);
      }
    }
  }
}

/* //select/ */
.products {
  .card {
    position: relative;
    transition: all 0.3s;
    cursor: default;

    .select-checkbox {
      display: none;
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 10;

      .card-checkbox {
        display: block;
        width: 20px;
        height: 20px;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        border: 2px solid #ddd;
        border-radius: 4px;
        margin: 0;
        background: white;

        &:checked {
          background-color: var(--MainColor);
          border-color: var(--MainColor);

          &::after {
            content: "✓";
            color: white;
            position: absolute;
            font-size: 14px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
          }
        }
      }
    }

    .selection-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 2px solid var(--MainColor);
      border-radius: 8px;
      z-index: 5;
      display: none;
    }

    &.selected .selection-overlay {
      display: block;
    }
  }

  .bulk-actions-bar {
    display: none;
    transition: all 0.3s ease;
    background-color: var(--MainColor-04);

    .bulk-action-btn {
      padding: 8px 16px;
      border-radius: 6px;
      background: white;
      border: 1px solid #ddd;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;

      &:hover {
        background: #f5f5f5;
      }

      &.text-red-600 {
        color: #ef4444;
      }

      &.text-green-600 {
        color: #10b981;
      }
    }
  }

  .select-btn {
    padding: 8px 16px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--Dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--Dark);

    &:hover {
      background-color: var(--MainColor);
      color: white;
      border-color: var(--MainColor);
    }

    &.active {
      background-color: var(--MainColor);
      color: white;
      border-color: var(--MainColor);
    }
  }
}

.featureProduct {
  background-color: rgba(255, 190, 76, 8%);
  padding: 12px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  label {
    font-size: 1rem;
    position: relative;
    display: flex;
    gap: 4px;
    align-items: center;

    &::before {
      content: "";
      position: relative;
      background: url("../assets/svg/featureIcons.svg") no-repeat;
      background-size: cover;
      width: 24px;
      height: 24px;
    }
  }
}

.Otp {
  padding: 0;

  a {
    padding: 16px 20px;
  }
}

.myPackages {
  /* background-color: red; */
  /* height: 200px; */
  margin-block: 50px 20px;

  /* border-radius: 16px; */
  .card {
    width: min(100%, 600px);
    background-color: var(--MainColor-04);
    padding: 16px;
    border-radius: 16px;

    .packageInfo {
      position: relative;
      padding-bottom: 12px;

      h3 {
        font-size: 1.3rem;
      }

      p {
        font-size: 1rem;
      }

      &::before {
        content: "";
        position: absolute;
        bottom: -4px;
        inset-inline-start: 0;
        width: 100%;
        height: 1px;
        background-color: var(--InputStroke);
      }
    }

    .packageFeature {
      padding-inline: 8px;

      ul {
        li {
          p {
            font-size: 1rem;
            font-weight: 400;

            &.featureName {
              font-size: 0.9rem;
              position: relative;

              &::before {
                content: "\f00c";
                font-family: "fontAwesome";
                font-size: 16px;
                color: var(--Dark);
              }
            }

            &.featureResult {
              font-weight: 700;
              color: var(--SecondColor);
            }
          }
        }
      }
    }
  }

  .selectMainPackages {
    details {
      background-color: var(--InputBG);
      border-radius: 16px;
      padding-block: 12px;
      padding-inline: 20px;
      width: min(100%, 620px);

      /* margin-inline: auto; */
      summary {
        cursor: pointer;
        font-size: 1.1rem;
        padding-block: 8px;
        list-style: none;
        position: relative;

        &::-webkit-details-marker,
        &::marker {
          display: none !important;
        }

        &::after {
          content: "\f078";
          font-family: "fontAwesome";
          font-size: 16px;
          color: var(--Dark);
          position: absolute;
          inset-inline-end: 0;
        }
      }
    }

    details[open] summary::after {
      transform: rotate(180deg);
    }

    .card {
      .packageInfo {
        .packagesNames {
          width: min(100%, 25%);
          text-align: center;
        }

        .des {
          width: min(90%, 80%);
          padding-inline-start: 12px;
          border-inline-start: 1px solid var(--InputStroke);
          height: 100%;
        }

        p {
          font-size: 0.8rem;
          color: var(--Gray);
        }

        h3 {
          font-size: 1rem;
        }

        .img {
          width: 100%;

          padding: 12px;

          img {
            object-fit: cover;
            margin-inline: auto;
            width: 70px;
            /* height: 117px; */
          }
        }
      }

      .packagesBottom {
        border-block-start: 1px solid var(--InputStroke);
        padding-block-start: 16px;
        margin-block: 20px;

        .btn-scaling {
          width: min(70%, 100%);
          padding: 0;

          a {
            padding: 12px;
            font-size: 0.9rem;
          }
        }

        .prices {
          padding-inline: 8px;

          p {
            font-size: 1.5rem;
            color: var(--MainColor);
            font-weight: 700;

            span {
              font-size: 0.8rem;
              color: var(--Gray-Light);
            }
          }
        }
      }
    }
  }
}

/* Categories Section Styles */
.departments {
  .departments-header {
    .category-btn {
      padding: 5px 10px;
      border-radius: 6px;
      background: transparent;
      border: 1px solid var(--Dark);
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      color: var(--Dark);
      position: relative;

      .dropdown-toggle {
        padding: 4px 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
        margin-left: 4px;

        &:hover {
          background-color: rgba(0, 0, 0, 0.1);
        }

        i {
          font-size: 14px;
        }
      }

      i {
        cursor: pointer;
      }

      &:hover {
        background-color: var(--MainColor);
        color: white !important;
        border-color: var(--MainColor);
        i {
          color: var(--White) !important;
        }

        .dropdown-toggle:hover {
          background-color: rgba(255, 255, 255, 0.1);
        }
      }

      &.active {
        background-color: var(--SecondColor);
        color: var(--White) !important;
        border-color: transparent;
        i {
          color: var(--White) !important;
        }

        .dropdown-toggle:hover {
          background-color: rgba(255, 255, 255, 0.1);
        }
      }
    }

    .category-item {
      position: relative;
      display: inline-block;
    }

    .category-dropdown {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: var(--White);
      border-radius: 8px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      min-width: 160px;

      &.hidden {
        display: none;
      }

      .dropdown-menu {
        list-style: none;
        margin: 0;
        padding: 8px 0;

        li {
          margin: 0;
          padding: 0;
          border: none;
        }

        .dropdown-item {
          display: flex;
          align-items: center;
          gap: 8px;
          width: 100%;
          padding: 12px 16px;
          background: none;
          border: none;
          color: var(--Gray);
          font-size: 14px;
          cursor: pointer;
          transition: all 0.3s ease;
          text-align: right;

          i {
            font-size: 14px;
            width: 16px;
            color: currentColor;
          }

          &:hover {
            background-color: var(--MainColor-08);
            color: var(--MainColor);
          }

          &.delete-category:hover {
            background-color: rgba(239, 68, 68, 0.1);
            color: #dc2626;
          }
        }
      }
    }

    .btn-scaling {
      padding: 8px 20px;
      i {
        line-height: 1.5;
      }
    }
  }
  .current-category-name {
    color: var(--SecondColor);
  }
}

/* Notifications Section Styles */
.notifications {
  margin-block: 50px 20px;
  .notifications-list {
    .notification-item {
      background-color: var(--White);
      border: 1px solid var(--InputStroke);
      transition: all 0.3s ease;
      cursor: pointer;

      &:hover {
        background-color: var(--MainColor-04);
        border-color: var(--MainColor-20);
      }

      .notification-icon {
        .icon-wrapper {
          width: 40px;
          height: 40px;
          background-color: var(--MainColor-08);
          color: var(--MainColor);
        }
      }

      .notification-content {
        .notification-title {
          color: var(--Dark);
          line-height: 1.4;
        }

        .notification-time {
          color: var(--Gray);
        }
      }

      .notification-status {
        .unread-dot {
          width: 8px;
          height: 8px;
          background-color: var(--MainColor);
          border-radius: 50%;
          display: block;
        }
      }

      &.read {
        opacity: 0.7;

        .notification-status .unread-dot {
          display: none;
        }
      }
    }
  }

  .btn-outline {
    background-color: transparent;
    border: 1px solid var(--Dark);
    color: var(--Dark);
    padding: 8px 16px;
  }

  .empty-notifications {
    .empty-icon {
      i {
        color: var(--Gray);
      }
    }

    h3 {
      color: var(--Gray);
    }

    p {
      color: var(--Gray-Light);
    }
  }
}

@media (max-width: 768px) {
  .notifications {
    .mainHeading {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;

      .btn-outline {
        align-self: flex-end;
      }
    }

    .notifications-list {
      .notification-item {
        padding: 16px;

        .notification-icon {
          .icon-wrapper {
            width: 36px;
            height: 36px;
          }
        }

        .notification-content {
          .notification-title {
            font-size: 14px;
          }

          .notification-time {
            font-size: 11px;
          }
        }
      }
    }
  }
}

