/* ==================== HEADER ==================== */
.logo-box>img {
  width: 90px;
}

.nav-item>i {
  transition: all 0.5s;
}

.nav-item:hover>h3,
.nav-item:hover>i {
  color: #1aa089 !important;
}

.nav-item:hover>i {
  transform: rotate(180deg);
}

.nav-items {
  position: relative;
}

.nav-item-list {
  position: absolute;
  top: 25px;
  left: 602px;
  display: none;
  transition: 0.5s;
  background-color: #ffff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  z-index: 100;
}

.nav-item-list img {
  width: 30px;
  border-radius: 50%;
}

.nav-item-list span:hover h4 {
  color: #1aa089 !important;
}

.nav-item-list.actnavlist {
  display: block;
}

#cripto {
  width: 750px;
  right: 0;
}

#tools,
#news,
#learn,
#analysis {
  width: 400px;
  right: 0;
}

.search-box {
  position: relative;
}

.search-box>input {
  border-color: var(--primary-color) !important;
}

.search-box>i {
  position: absolute;
  top: 10px;
  left: 10px;
}

/* ==================== SECTION 1 ==================== */
.main-post-container {
  padding: 0 10px;
}

.top-add-container a {
  margin: 0 2px 10px 2px !important;
}

.child {
  width: calc(22% - 4px);
  margin: 2px !important;
}

.child-1,
.child-6 {
  width: calc(56% - 4px) !important;
  border-radius: 10px;
}

.child-img-box {
  height: 260px !important;
  border-radius: 10px;
}

.child-img-box::after {
  position: absolute;
  background: rgba(65, 63, 63, 0.6);
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.child-title-box a,
.child-title-box h2 {
  letter-spacing: normal !important;
}

.child-img {
  transition: 0.3s ease;
}

.child:hover .child-img {
  transform: scale(1.1);
}

/* ==================== SECTION 2 ==================== */
.red-chart {
  filter: hue-rotate(320deg) saturate(8);
}

.green-chart {
  filter: hue-rotate(95deg);
}

.news-container {
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}

.news-ticker {
  display: inline-block;
  animation: ticker 80s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ==================== SECTION 3 ==================== */
.section-3-title {
  font-weight: 500;
}

.section-3-btn {
  border: none;
  transition: background-color 0.4s;
}

.price-show-btn {
  background-color: var(--darkblue);
}

.price-show-btn:hover {
  background-color: #213841;
}

.buy-btn {
  background-color: var(--green-light);
}

.change-btn {
  background-color: var(--gold);
}

.change-btn:hover {
  background-color: #d1a51e;
}

.section-3-info-con p {
  line-height: 28.5px;
}

.section-3-date {
  background-color: var(--gold);
  border-radius: 0 1em 1em 0;
  padding: 1px 8px;
}

.section-3-time {
  background-color: var(--secondary-color);
  border-radius: 1em 0 0 1em;
  padding: 1px 8px;
}

/* ==================== CRYPTO CARDS ==================== */
.crypto-card {
  margin: auto;
  width: 200px;
  border-radius: 10px;
  transition: all 0.3s ease;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Rising Card (Green Theme) */
.crypto-card.rising {
  background-color: #f3faf8;
}

.crypto-card.rising:hover {
  background-color: #d9f0f0;
}

.crypto-card.rising .card-change {
  background-color: #0fa37f;
  color: white;
}

.crypto-card.rising .card-change::after {
  content: "▲";
  font-size: 0.5rem;
  margin-left: 4px;
  vertical-align: middle;
}

.crypto-card.rising .card-chart img {
  filter: hue-rotate(95deg);
}

/* Falling Card (Red Theme) */
.crypto-card.falling {
  background-color: #faeeee;
}

.crypto-card.falling:hover {
  background-color: #ffe4e4;
}

.crypto-card.falling .card-change {
  background-color: #e23343;
  color: white;
}

.crypto-card.falling .card-change::after {
  content: "▼";
  font-size: 0.5rem;
  margin-left: 4px;
  vertical-align: middle;
}

.crypto-card.falling .card-chart img {
  filter: hue-rotate(320deg) saturate(8);
}

/* Card Components */
.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-title {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0;
}

.card-currency-icon {
  width: 25%;
  margin-right: 0.5rem;
}

.card-prices {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-chart {
  margin: 1rem 0;
  width: 100%;
}

/* ==================== SWIPER ==================== */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: #969696 !important;
  fill: #969696 !important;
  stroke: #969696 !important;
}

#coin-swiper .swiper-slide-next .col {
  transition: all 0.5s;
  transform: scale(1.2) !important;
  position: relative;
  bottom: 30px;
}

/* ==================== SECTION 5 ==================== */
.img-Top-pools {
  border: 5px solid var(--blue);
  border-radius: 50%;
  width: 70px;
}

.box-icon-item {
  background-color: #f6bb312f;
  border-radius: 10px;
  width: 10;
  margin-bottom: 10px;
}

.box-icon-item>img {
  width: 25px;
}

.line-title {
  inline-size: 100px;
}

/* ==================== FOOTER ==================== */
.footer-bottom {
  position: relative;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/icon/line-footer.png') center/cover no-repeat;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  z-index: 10;
}

.copyright {
  position: relative;
  z-index: 11;
  color: white;
}



/* blogs - blog */
.baner-blogs {
  background-image: linear-gradient(50deg, #192a46 60%, #fcab37);
  border-radius: 20px;
}

.box-baner {
  position: relative;
}

.baner-blog {
  width: 500px;
  position: absolute;
  bottom: 0px;
  top: -157px;
}

/* ------------------------------------------------------------- */


/* login */

.login {
  min-height: 100vh;
}

.left-part-login {
  background-image: url(../img/baner/img-login.png);
  background-clip: content-box;
  background-size: cover;
  height: 1000px;
}

.right-part-login {
  width: 100%;
  max-width: 800px;
}

#box-verifyOtp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.otp-field {
  display: flex;
  justify-content: space-around;
  width: 100%;

}

.form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.form__input__otp {
  width: 40px;
  height: 40px;
  margin: 10px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.15px;
  border: none;
  outline: none;
  background-color: #ecf0f3;
  transition: 0.25s ease;
  border-radius: 8px;
  box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;
}

.form__input__otp:focus {
  box-shadow: inset 4px 4px 4px #d1d9e6, inset -4px -4px 4px #f9f9f9;
  border: solid .3px #d1d9e6;
}

.form__button {
  width: 150px;
  height: 40px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.15px;
  background-color: #4B70E2;
  color: #f9f9f9;

  border: none;
  outline: none;
}

.box-input-register {
  position: relative;
}

.title-input-register {
  position: absolute;
  display: inline-block;
  bottom: 17px;
  right: 10px;
}

/* coin page */

.coin-op-btn {
  border-bottom: 1px solid rgba(128, 128, 128, 0.342);
  border-radius: 5px 5px 0 0;
  transition: background-color 0.3s;
  cursor: pointer;
}

.coin-op-btn:hover {
  background-color: #f1f1f1;
}

.coin-op-active {
  border-bottom: 2px solid var(--green-light);
}

.buy-input-div {
  position: relative;
}

.buy-dropdown {
  position: relative;
}

.list-coin-con {
  border-right: 1px solid #c3c3c3;
  cursor: pointer;
}

.buy-dropdown-content {
  position: absolute;
  width: 100px;
  top: 35px;
  left: 0;
  z-index: 100;
  background: white;
}

.buy-dropdown-content div:hover {
  background-color: #f1f1f1;
}

.buy-dropdown-content img {
  margin-left: 5px;
  width: 24px;
  height: 24px;
}

.buy-dropdown-image {
  margin-left: 10px;
  width: 24px;
  height: 24px;
}

.buy-text-input {
  border: none;
  outline: none;
  flex-grow: 1;
  padding-left: 10px;
}

.currency-mode {
  display: none;
}

.currency-mode.active-arz {
  display: flex;
  align-items: center;
}

.buy-arz-btn:hover {
  background-color: var(--green-light);
}

.arrow {
  transition: all 0.2s ease;
}

.rotate-active {
  transform: rotate(180deg);
}

.buy-sell-container {
  display: none;
}

.buy-sell-container.active-buy-sell-container {
  display: block;
}


/* analyst */

.analyst-box {
  position: relative;
}

.analyst-score {
  position: absolute;
  top: 60px;
  right: 35%;
}

.top-analyst-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  margin: 0 auto 8px;
}

.top-analyst-score {
  background: var(--primary-color);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  margin-top: 4px;
}