@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --color-plain-1: #ffffff;
  --color-plain-2: #f1f1f1;
  --color-grey-50: #656266;
  --color-grey-100: #616161;
  --color-grey-200: #322f33;
  --color-grey-300: #1c181d;
  --color-font-light: #e3e3e3;
  --color-font-mid: #616161;
  --color-font-dark: #475467;
  --color-stroke: #ebebeb;
  --color-DC: #36fba1;
  --color-extra: #005bd3;
  --color-hover: #f7f7f7;
  --color-pressed: #f0f0f0;
  --color-focused: #005bd3;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--color-plain-2);
}

/*Navigation Bar*/
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-grey-300);
}

.shopify-mobile {
  display: none;
}

.logo-icon,
.search-bar,
.notification-bar {
  width: 100%;
}

/*Search Form*/
.search-bar {
  border-radius: 8px;
  background-color: var(--color-grey-200);
  border: 1px solid var(--color-grey-100);
  transition: all 200ms ease-in;
}

.search {
  width: 100%;
  border: none;
  padding: 8px 4px 9px 30px;
  border-radius: 8px;
  background: transparent url("assets/search.svg") no-repeat 10px;
}

.search:focus {
  outline: 2px solid var(--color-plain-1);
}

.search::-webkit-input-placeholder {
  color: var(--color-font-light);
}

.search-bar:hover {
  border: 1px solid var(--color-stroke);
}

.search-bar:active {
  outline: 2px solid var(--color-plain-1);
}

textarea:focus,
input:focus {
  color: #ffffff;
}

/*Notification Bar*/
.notification-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
}

.alert-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: var(--color-grey-200);
  transition: all 200ms ease-in;
}

.alert-button:hover,
.name-button:hover {
  background: var(--color-grey-100);
}

.alert-button:active,
.name-button:active {
  background: var(--color-grey-50);
}

.alert-button:focus,
.name-button:focus {
  background: var(--color-grey-50);
  outline: 3px solid var(--color-focused);
  outline-offset: 1px;
}

/* Alert Dropdown */
.alert-dropdown {
  display: none;
  position: absolute;
  top: 52px;
  flex-direction: column;
  align-items: center;
  width: 351px;
  height: 86px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke-s-50, #dbdbdb);
  background: var(--White, #fff);
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  z-index: 1;
}

.alert-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  margin-bottom: 16px;
}

.alert-title {
  color: #303030;
  font-size: 14px;
  font-weight: 600;
}

.alert-icons {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.alert-detail {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 8px;
  color: #616161;
  background: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
}

.name-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 142px;
  height: 32px;
  padding: 2px 2px 2px 8px;
  border: none;
  border-radius: 8px;
  color: var(--color-font-light);
  background: var(--color-grey-200);
  font-size: 12px;
  font-weight: 500;
  transition: all 200ms ease-in;
}

.name-button p {
  align-items: center;
  width: 96px;
}

.name-button span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--color-font-dark);
  background: var(--color-DC);
}

/* Profile Menu Dropdown */
.profile-menu-dropdown {
  display: none;
  position: absolute;
  top: 52px;
  width: 320px;
  padding: 6px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-radius: 14px;
  border: 1px solid #dbdbdb;
  background: #fff;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  z-index: 1;
}

.menu-list a {
  width: 308px;
  display: flex;
  padding: 4px 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  text-decoration: none;
}

.profile {
  display: flex;
  padding: 4px 12px 4px 8px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-radius: 8px;
  background: #f1f1f1;
}

.profile-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile:focus {
  border-radius: 8px;
  border: 2px solid #005bd3;
}

.name-dc {
  display: flex;
  height: 8px;
  padding: 9.625px 5.875px 10.375px 6.125px;
  justify-content: center;
  align-items: center;
  border-radius: 5.25px;
  background: #36fba1;
}

.name-dc p {
  color: rgba(0, 0, 0, 0.4);
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
}

.full-name {
  color: var(--font-dark, #303030);
  font-size: 13px;
  font-weight: 600;
}

.menu-list-1 {
  display: flex;
  padding: 6px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  color: #303030;
  font-size: 13px;
  font-weight: 400;
}

.menu-list-1:hover {
  background: #f1f1f1;
}

.menu-list-1:active {
  background: #f0f0f0;
}

.menu-list-1:focus {
  border-radius: 8px;
  border: 2px solid #005bd3;
}

.profile-menu-dropdown hr {
  width: 100%;
  height: 0.75px;
  border: none;
  background: #e1e1e1;
}

.menu-list-items a,
.menu-list-items-2 a {
  display: flex;
  width: 308px;
  padding: 4px 6px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  text-decoration: none;
}

.menu-list-items a li,
.menu-list-items-2 a li {
  display: flex;
  padding: 6px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #303030;
}

.menu-list-items-2 a > :nth-child(1) {
  display: flex;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
}

.menu-list-items-2 a > :nth-child(1) p {
  color: #303030;
  font-size: 13px;
  font-weight: 500;
}

.menu-list-items-2 a > :nth-child(1) span {
  color: #616161;
  font-size: 12px;
  font-weight: 400;
}

.menu-list-items li:hover,
.menu-list-items-2 li:hover {
  background: #f1f1f1;
}

.menu-list-items li:active,
.menu-list-items-2 li:active {
  background: #f1f1f1;
}

.menu-list-items:focus,
.menu-list-items-2 li:focus {
  border-radius: 8px;
  border: 2px solid #005bd3;
}

/* Main Section */
.section-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 16px;
}

.plan {
  width: 775px;
  height: 32px;
  padding: 12px 8px 12px 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-font-light);
  background: #1a1a1a;
}

.plan-active {
  display: none;
}

.select-plan {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-plan-button {
  display: flex;
  padding: 5px 10px;
  width: 99px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: 0px -1px 0px 0px #b5b5b5 inset;
}

.select-plan-button a {
  display: flex;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #323232;
}

.setup-container {
  display: flex;
  width: 784px;
  padding: 8px;
  flex-direction: column;
  gap: 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke-s-50, #dbdbdb);
  background: #fff;
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
}

.setup-guide-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  padding: 8px;
}

.setup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.setup .top {
  font-size: 14px;
  font-weight: 600;
}

.setup .body-text {
  font-size: 13px;
  font-weight: 400;
}

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  border-radius: 10px; /* Adding border-radius to the progress container */
  overflow: hidden; /* Hiding overflow for the rounded corners */
  background-color: #ffffff;
}


progress[value] {
  appearance: none;
  -webkit-appearance: none;
  width: 72px;
  height: 6px;
  background: #ffffff;
}

progress[value]::-webkit-progress-value {
  color: #ffffff;
  background: #1A1A1A;
}


/*Collapsible Button*/
.content-collapsible-button {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background: transparent;
}

.content-collapsible-button:hover {
  border-radius: 5px;
  background: var(--color-hover);
}

.content-collapsible-button:focus {
  border-radius: 5px;
  border: 1px solid var(--color-focused);
}

.content-collapsible-button img {
  transition: transform 0.3s ease-in-out;
}

.content-collapsible-button-active {
  transform: rotate(-180deg);
}

/*First Dropdown Customise Store*/
.collapsible-content {
  display: none;
  /* padding: 8px; */
  align-items: center;
  align-self: stretch;
  width: 784px;
  transition: height 0.5s ease-in-out;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  margin-top: 0;
  padding-top: 0;
}

.active {
  display: block;
}

.content-details {
  width: auto;
  height: auto;
  position: relative;
  align-items: center;
  padding: 8px;
  gap: 16px;
  border-radius: 10px;
}

.content-details-toggle {
  display: flex;
  align-items: center;
  border: none;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #303030;
  background: transparent;
  cursor: pointer;
}

.item-checkbox {
  background-color: transparent;
  border: none;
  display: flex;
  height: 28px;
  width: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 100ms ease-in;
}

.item-checkbox:focus .not-completed-icon circle {
  fill: #d9d9d9;
  stroke-dasharray: 0 0;
  transition: ease-in 0.5s;
}

.item-checkbox:hover .not-completed-icon circle {
  stroke-dasharray: 0 0;
  transition: ease-in 0.5s;
}

.hidden {
  display: none;
}

@keyframes zoom-in-spin {
  from {
    transform: scale(0) rotate(270deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spinner-icon {
  animation-duration: 1000ms;
  animation-name: spin;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.complete-icon {
  animation-name: zoom-in-spin;
  animation-duration: 500ms;
  animation-timing-function: linear;
}

.content-guide {
  width: 65%;
  display: none;
  margin-left: 28px;
  padding: 4px;
}

.content-guide-active {
  display: block;
}

.content-guide .body-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 15px;
  margin-bottom: 7px;
  color: var(--color-font-mid);
}

.content-guide a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-extra);
}

.content-guide button {
  width: fit-content;
  margin-top: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  color: #f6f3f6;
  background: #404040;
}

.content-guide button:hover {
  background: #2a2a2a;
  outline: 1px solid var(--color-grey-50);
}

.content-guide button:active {
  background: #2b2b2b;
}

.content-guide button:active {
  background: #404040;
  outline: 1px solid var(--color-grey-50);
}

.content-details-img {
  width: 125px;
  height: auto;
  position: absolute;
  top: 10px;
  right: 5px;
}

.content-details-img-container {
  position: relative;
  display: inline-block; /* Ensures the container wraps around the image */
}

.content-details-img-container img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.fade {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f3f3f3 30%, #f3f3f3 100%);
}

.add-product-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.add-product-buttons > :nth-child(2) {
  background: transparent;
  font-size: 12px;
  border: none;
  color: var(--color-grey-300);
}

.add-product-buttons > :nth-child(2):hover {
  background: #e7e7e7;
  outline: none;
}

/* Mobile Responsiveness */
@media (max-width: 430px) {
  .shopify-desktop {
    display: none;
  }

  .shopify-mobile {
    display: block;
  }

  .navbar {
    width: 100vw;
  }

  .topbar {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
  }

  .logo-icon, .search-bar, .notification-bar {
    width: fit-content;
  }

  .notification-bar {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    position: relative;
  }

  .search-bar {
    width: 100%;
  }

  .alert-button {
    background-color: transparent;
  }

  .name-button {
    width: fit-content;
    padding: 0;
  }

  .name-button p {
    display: none;
  }

  .section-container {
    width: 100vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .plan {
    width: auto;
    height: auto;
    display: flex;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    border-radius:0;
    position: relative;
  }

  .plan p {
    width: 330px;
  }

  .dismiss-btn {
    color: #005bd3;
    position: absolute;
    top: 12px;
    right: 15px;
  }

  .setup-container {
    width: auto;
    height: auto;
    padding: 8px;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
  }

  .setup-guide-list {
    display: flex;
    width: auto;
    padding: 8px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .setup {
    width: 330px;
  }

  .collapsible-content {
    width: auto;
  }

  .content-details {
    width: auto;
    padding: 8px;
  }

  .content-details-img {
    display: none;
  }

  .content-guide {
    width: fit-content;
  }


}
