/**
 * Окно оформления заказа (js/order-popup.js).
 */

.ByePopupOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  animation: ByeFadeIn 0.3s ease;
}

.ByePopupContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-width: 400px;
  max-width: 500px;
  animation: ByeSlideIn 0.3s ease;
}

.ByePopupHeader {
  text-align: center;
  margin-bottom: 25px;
}

.ByePopupTitle {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

.ByeOrderDetails {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  border-left: 4px solid #134fa9;
}

.ByeOrderItem {
  margin-bottom: 8px;
  font-size: 16px;
  color: #495057;
}

.ByeEmailGroup {
  margin-bottom: 25px;
}

.ByeEmailLabel {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

.ByeEmailInput {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.ByeEmailInput:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.ByeButtonGroup {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.ByePayButton {
  background: #134fa9;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.ByePayButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.ByeCancelButton {
  background: transparent;
  color: #6c757d;
  border: 2px solid #dee2e6;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ByeCancelButton:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
}

.ByeCloseButton {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6c757d;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ByeCloseButton:hover {
  background: #f8f9fa;
  color: #495057;
}

@keyframes ByeFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ByeSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 480px) {
  .ByePopupContent {
    min-width: 90%;
    /* margin: 20px; */
  }
}
