﻿.form-mission-header {
  display: none;
  position: absolute;
  top: 120px;
  left: 0;
  transform: translate(-100%, -50%);
  background: #fff;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

  .form-mission-header div:hover {
    background-color: #f0f2f4;
    border-radius: 5px;
  }

  .form-mission-header a:hover {
    background-color: #F0F2F4;
  }

.mission-header-item:hover .form-mission-header {
  display: block;
}

.icon-show {
  position: relative;
  flex-direction: column;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

  .icon-show::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -4px;
    top: -1px;
    margin: auto;
    width: 128px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
    z-index: -10;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .icon-show::after {
    content: "";
    z-index: -1;
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
    transform: translate3d(0, 0, 0) scale(0.95);
    filter: blur(20px);
  }

  .icon-show:hover::after {
    filter: blur(30px);
  }

  .icon-show:hover::before {
    transform: rotate(-180deg);
  }

.mission-timeline {
  position: relative;
  margin: 0 auto;
}

  .mission-timeline:before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: #ddd;
    height: var(--max-height);
  }

.mission-timeline-item {
  margin: 10px 0;
  position: relative;
  padding-left: 30px;
}

  .mission-timeline-item .timeline-icon:not(.last-item) {
    position: absolute;
    top: 10px;
    left: -11px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #007bff; /* Màu xanh của vòng ngoài */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .mission-timeline-item .last-item {
    position: absolute;
    top: 4px;
    left: -24px;
    width: 52px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    background-image: url(./images/mission/icon_vocher.jpg), url(./images/mission/icon_vocher.png);
    background-size: 52px;
    background-repeat: no-repeat; 
    background-position: center; 
  }

  .mission-timeline-item .timeline-icon:not(.last-item, .is-done)::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #007bff; /* Màu xanh đậm của chấm giữa */
    border-radius: 50%;
  }

  .mission-timeline-item .timeline-icon.is-done:not(.last-item) {
    border: 12px solid #62d15d !important;
  }

  .mission-timeline-item .timeline-content {
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

    .mission-timeline-item .timeline-content h3 {
      margin-top: 0;
      color: #333;
    }

    .mission-timeline-item .timeline-content p {
      margin: 5px 0 10px;
      color: #777;
    }

    .mission-timeline-item .timeline-content span {
      display: flex;
      align-items: center;
      font-size: 14px;
      color: #999;
    }

      .mission-timeline-item .timeline-content span i {
        margin-right: 5px;
      }

.mission-todo {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

.mission-doing {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.mission-done {
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out, text-decoration 0.5s ease-in-out;
}

.mission-icon-info {
  cursor: pointer;
}

/*Video*/
.video-popup {
  display: none;
  border-radius: 4px;
  position: absolute;
  border: 2px;
  background-color: #fff;
  z-index: 1000;
  padding: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

  .video-popup #videoElement {
    max-width: 640px;
    max-height: 600px;
  }

    .mission-timeline-item {
      position: relative;
    }

/*Silde*/
.swiper-slide a.icon:hover {
  font-weight: bold;
}

.modal-card-body .swiper .swiper-button-prev::after, .swiper-button-next::after {
  font-size: 18px !important;
  font-weight: 900;
  color: #575E72;
  width: 34px;
  height: 34px;
  background: #575E72;
  border-radius: 37px;
  background: linear-gradient(185deg, rgba(255, 255, 255, 0.50) 19.49%, rgba(243, 252, 255, 0.50) 96.23%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination {
  bottom: 15px !important;
}

  .swiper-pagination .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
    margin-bottom: 10px
  }
