/* Фон */
.pbli-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
}

/* Контент */
.pbli-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

/* Закриття (X) */
.pbli-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
}

/* Прогрес-бар */
.pbli-progress-bar {
  background: #f0f0f0;
  height: 6px;
  border-radius: 3px;
  margin: 20px 0;
  overflow: hidden;
}
#pbli-progress {
  width: 0%;
  height: 100%;
  background: #2e7dff;
  transition: width 1s linear;
}

/* Кнопки */
.pbli-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.pbli-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
}
.pbli-btn-cancel {
  background: #e0e0e0;
  color: #333;
}
.pbli-btn-cancel:hover {
  background: #c7c7c7;
}
.pbli-btn-go {
  background: #2e7dff;
  color: white;
}
.pbli-btn-go:hover {
  background: #1b5fd9;
}

/* Анімація */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Активний стан */
.pbli-modal.active {
  display: flex;
}

.pbli-content p {
  line-height: 1.5;
  font-size: 15px;
  color: #444;
}