/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.browse {
  --bg-color: #ffdd75;
  --bg-color-light: #ffeaaa;
  --text-color-hover: #fff;
  place-content: center;
  --box-shadow-color: rgba(255, 206, 61, 0.48);
}

.favorite {
  --bg-color: rgb(255, 110, 110);
  --bg-color-light: #ffafaf;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(255, 110, 110, 0.48);
}

.downloads {
  --bg-color: #bc92ff;
  --bg-color-light: #d6bdff;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(180, 134, 255, 0.48);
}

.totalframe {
  --bg-color: #ff8d23;
  --bg-color-light: #ffa34e;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(180, 134, 255, 0.48);
}

.membership {
  --bg-color: #21ec15;
  --bg-color-light: #5dff54;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(180, 134, 255, 0.48);
}


.bundle {
  --bg-color: #80afff;
  --bg-color-light: #9fc9ff;
  --text-color-hover: #fff;
  --box-shadow-color: rgba(96, 154, 255, 0.48);
}

.action-card-wrap {
  place-content: center;
  display: flex;
  margin: 0rem;
}

.action-card {
  margin: 1rem;
  width: 258px;
  height: 220px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
  text-decoration: none;
}

.action-card:hover {
  transform: translateY(-5px) scale(1.005) translateZ(0);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
    0 24px 46px var(--box-shadow-color);
}

.action-card:hover .overlay {
  transform: scale(4) translateZ(0);
}

.action-card:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}

.action-card:hover .circle:after {
  background: var(--bg-color-light);
}

.action-card:hover p {
  color: var(--text-color-hover);
}

.action-card:active {
  transform: scale(1) translateZ(0);
  box-shadow: 0 15px 24px rgba(0, 0, 0, 0.11),
    0 15px 24px var(--box-shadow-color);
}

.action-card p {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3f3f3f;
  margin-top: 30px;
  z-index: 1000;
  transition: color 0.3s ease-out;
}

.circle {
  top: 22px;
  width: 131px;
  height: 131px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
}

.circle:after {
  content: "";
  width: 118px;
  height: 118px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  top: 5px;
  left: 5px;
  transition: opacity 0.3s ease-out;
}

.circle svg {
  z-index: 10000;
  transform: translateZ(0);
}

.overlay {
  width: 118px;
  position: absolute;
  height: 118px;
  border-radius: 50%;
  background: var(--bg-color);
  top: 30px;
  left: 70px;
  z-index: 0;
  transition: transform 0.3s ease-out;
}

@media (max-width: 767px) {
  .action-card {
    width: 370px;
  }

  .overlay {
    left: 127px;
  }

  .action-card-wrap {
    margin: 1rem 0rem;
  }

}

.head-area {
  margin: 1.5rem 2rem -1.5rem 2rem;
}

.head-title-text {
  color: #07082a;
  font-weight: 700;
}

.demo {
  margin: 0.7rem 0;
  font-size: 25px;
}

.menu-item .menu-link {
  color: white;
}

.search-box {
  display: block;
  background: white;
  padding: 0 1rem 0 1rem;
  border-radius: 30px;
}

.btn-head {
  padding: 0.5rem 0.8rem !important;
}

.main-content {
  width: auto;
  background-color: white;
  margin: 1.5rem;
  border-radius: 1rem;
}

.top-text-line {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  white-space: nowrap;
  transition: transform 0.5s;
}

.card {
  height: 15rem;
}

.card-img-top {
  height: -webkit-fill-available;
  border-radius: 6px;
}

.card-folder:hover {
  background-color: #f7f7ff;
  border-radius: 0.5rem;
}

.card-folder .card-title {
  color: #04062A;
  font-size: 1.2rem;
}

.folder-count {
  left: 0;
  position: absolute;
  background-color: #0099E4;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  margin: 0px 20%;
  color: white;
  font-weight: 700;
}

.btn-telegram {
  text-align: center;
  position: absolute;
  margin: 0.5rem 2rem;
  left: 0;
  right: 0;
  bottom: 1rem;
}

.dot-text-wrap {
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-btn {
  z-index: 2;
  position: absolute;
  display: grid;
  right: 1rem;
  top: 1rem;
}


.btn-download {
  width: -webkit-fill-available;
  height: 60px;
  font-size: 1.5rem;
  position: fixed;
  bottom: 0;
  border-radius: 0;
}

.fav-search {
  border: 1px solid #696cff;
  border-radius: 50px;
  padding: 5px 20px;
}

.fav-active {
  background: #696cff;
  border-radius: 10px;
  color: white;
}

.box-text-2 {
  margin-top: 12px;
  place-self: center;
  margin-left: 12px;
  font-weight: 600;
  font-size: 16px;
}

.sub-menu-list {
  border: 1px solid gray;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  height: fit-content;
}

.sub-menu-list.active {
  font-weight: 700;
  background-color: white;
  color: #07082a;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.8rem;
}

.modal-content {
  width: 100%;
}

.layout-navbar {
  width: -webkit-fill-available !important;
  position: fixed;
  margin: 1rem 1rem 0rem 1rem !important;
}

.content-wrapper {
  margin-top: 5rem;
}

.grid-m-item:hover .card-btn {
  display: grid;
}

/* Media query for screens with a maximum width of 767px (typical for mobile) */
@media (max-width: 767px) {
  .search-box {
    display: none;
  }

  .layout-navbar.navbar-detached {
    padding: 0rem 0.8rem 0rem 1.5rem;
  }

  .main-content {
    margin: 1rem;
  }

  .card-header {
    padding: 1rem;
  }

  .head-area {
    margin: 1.5rem 2rem -1rem 2rem;
  }

  .btn-download {
    font-size: 1.1rem;
  }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}