.phantom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.342);
  display: none;
  justify-content: flex-end;
  align-items: stretch;
  z-index: 9999;
}

.phantom-overlay.active {
  display: flex;
}

.phantom-modal {
  background: #fff;
  width: 420px;
  height: 100vh;
  padding: 24px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 40px;
}

.phantom-spinner-logo {
  width: 100px;
  display: block;
  margin: 0 auto 10px;
  animation: phantomFadeLogo 2s infinite;
}

.phantom-loader {
  border: 3px solid #8e44ad;
  border-top: 3px solid #f3f3f3;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: phantomSpin 1s linear infinite;
  margin: 15px auto;
}

@keyframes phantomSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes phantomFadeLogo {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.phantom-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 57px;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
  background: rgba(236, 236, 236, 0.657);
  z-index: 10;
}

.phantom-header.show {
  display: flex;
}

.phantom-header img {
  height: 38px;
}

.phantom-close {
  background: transparent;
  border: 2px solid #8e44ad;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  color: #8e44ad;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.phantom-content {
  display: none;
  text-align: center;
  padding-top: 5px;
}

.phantom-icon {
  width: 65px;
  height: 65px;
  color: #8e44ad;
  margin-bottom: 25px;
}

.phantom-h5 {
  font-size: 25px;
  color: rgb(0, 0, 0);
  margin-bottom: 12px;
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.phantom-version {
  font-size: 16px;
  color: rgb(32, 32, 32);
  margin-bottom: 26px;
  font-weight: 500;
}

.phantom-feature-box {
  background: rgba(236, 236, 236, 0.657);
  padding: 15px;
  margin: 20px auto;
  text-align: left;
  border-radius: 8px;
  width: fit-content;
}

.phantom-feature-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.phantom-feature-list li {
  margin-bottom: 5px;
  white-space: nowrap;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 15px;
}

.phantom-update-btn {
  background-color: #8e44ad;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  margin-bottom: 12px;
  width: 52%;
  height: 11%;
}

.phantom-support {
  color: rgb(34, 34, 34);
  margin-bottom: 5px;
  font-size: 15px;
}

.phantom-support a {
  color: #8e44ad;
  font-size: 15px;
}

@media (max-width: 767px) {
  .phantom-overlay {
    justify-content: center;
  }

  .phantom-modal {
    width: 100%;
    height: 100vh;
    margin-right: 0;
  }
}
