.open-checker {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(135deg, #24a595, #30c1ae);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 165, 149, 0.3);
  transition: all 0.3s ease;
  text-align: center;
}

.open-checker:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(36, 165, 149, 0.45);
  filter: brightness(1.05);
}

.open-checker:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(36, 165, 149, 0.25);
}

.open-checker:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 165, 149, 0.4);
}




/* --- Overlay и Popup --- */
.checker-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.checker-overlay.show { opacity: 1; }

.checker-popup {
  background: rgba(14,14,15,0.95);
  padding: 1rem;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  position: relative;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 25px rgba(0,255,200,0.05);
  transform: scale(0.8);
  transition: transform 0.4s ease;
}

.checker-overlay.show .checker-popup { transform: scale(1); }

/* --- Кнопка закрытия --- */
.checker-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  transition: 0.2s;
}
.checker-close:hover { color: #ff4b4b; }

/* --- Заголовок и текст --- */
.checker-popup h2 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  color: #f5f5f7;
}
.checker-popup p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #ccc;
}

/* --- Input и кнопка --- */
#user-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #2997ff;
  background: transparent;
  color: #fff;
  margin-bottom: 1rem;
}

#check-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #24a595, #30c1ae);
  border: none;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
#check-btn:hover { filter: brightness(1.1); }

/* --- Профиль пользователя --- */
.account-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
  justify-content: flex-start;
}

.avatar-circle {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-circle i {
  font-size: 38px;
}

.account-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.account-number {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.status-check {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: #8affd3;
}

.status-dot {
  width: 6px;
  height: 6px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background-color: #00ffae;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.6); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* --- Прогресс-бар --- */
.progress-bar {
  width: 100%;
  height: 6px;
  background: #1f1f1f;
  border-radius: 5px;
  overflow: hidden;
  margin: 2rem 0 1.2rem;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00c3ff, #92fe9d, #00c3ff);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 0% 0%;
  animation: gradientWave 1.8s ease-in-out infinite;
  transition: width 0.25s ease-out;
  transform-origin: left center;
}

@keyframes gradientWave {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

@keyframes pulseBar {
  0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; }
}

.progress-fill.pulsing {
  animation: pulseBar 0.6s infinite;
}

/* --- Step card --- */
.step-card {
  background: linear-gradient(145deg, #131b19, #0f0f0f);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
  opacity: 0;
  animation: fadeIn 0.6s forwards;
}

@keyframes fadeIn { to { opacity: 1; } }

.step-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.step-content i {
  font-size: 1.2rem;
  color: #2997ff;
  flex-shrink: 0;
}

.step-text {
  display: flex;
  flex-direction: column;
}

.step-counter {
  font-size: 0.75rem;
  color: #999;
  white-space: nowrap;
}

/* --- Кнопка "Подробнее" --- */
.order-btn {
  margin-left: auto;
  padding: 0.6rem 1rem;
  background: #24a595;
  color: #000;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}
.order-btn:hover { background: #30c1ae; }

/* --- Финальный бегущий лог --- */
#final-log {
  background: rgba(0,0,0,0.1);
  padding: 0.5rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.6rem;
  color: #00ff9c;
  height: 20px;
  overflow-y: auto;
}
.log-line { margin-bottom: 2px; }

/* --- Адаптивность --- */
@media(max-width:480px){
  .checker-popup{padding:1.5rem;}
  .avatar-circle{width:50px;height:50px;}
  .avatar-circle i{font-size:40px;}
  #user-input{padding:0.65rem 1rem;font-size:0.95rem;}
  #check-btn{padding:0.65rem 1.25rem;font-size:0.95rem;}
  #final-log{height:60px;font-size:0.8rem;}
}
