.promo-section-upgraded {
  background-color: #0d2d52;
  border-radius: 30px;
  padding: 40px;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(
      circle at 15% 15%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 25%
    );
}

.product-video-wrapper {
  position: relative;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-video-wrapper .product-image {
  display: block;
  width: 100%;
  transition: transform 0.4s ease;
}

.form-section {
  animation-name: pulse-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.form-section,
.review-section {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.section-title {
  color: #10396a;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.section-subtitle {
  color: #555;
  margin-bottom: 1.5rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.time-box {
  background-color: #f8f9fa;
  color: #10396a;
  border: none;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  flex-grow: 1;
}

.time-box .time-value {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.time-box .time-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #6c757d;
}

.stock-info {
  font-weight: 500;
  margin-bottom: 2rem;
  color: #555;
}

.stock-info {
  font-weight: 500;
  margin-bottom: 2rem;
  color: #555;
}

.stock-info .stock-count {
  color: #dc3545;
  font-weight: 700;
}

.main-form .form-control {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  padding: 1rem 1.2rem;
  font-size: 1rem;
  border-radius: 12px;
  color: #333333;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.main-form .btn-submit {
  background-color: #10396a;
  color: #ffffff;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  transition: background-color 0.2s;
  box-shadow: 0 4px 15px rgba(16, 57, 106, 0.3);
}

.form-section,
.review-section {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.feedback_title_text {
  color: #10396a;
}

.rating-summary .score {
  font-size: 3rem;
  font-weight: 900;
}
.score {
  color: #10396a;
}

.stars {
  color: #ffc107;
}

.rating-summary .stars i {
  color: #ffc107;
  font-size: 1.2rem;
}

.rating-breakdown .rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.rating-breakdown .progress {
  height: 8px;
  flex-grow: 1;
  background-color: #e9ecef;
  border-radius: 5px;
}

.rating-breakdown .progress-bar {
  background-color: #ffc107;
}

.customer-review .reviewer {
  font-weight: 700;
  color: #10396a;
  font-size: 1.2rem;
}

/* ========================================================== */
/* === SỬA LỖI RESPONSIVE CHO PROMO FORM (PHIÊN BẢN HOÀN THIỆN) === */
/* ========================================================== */

/* Áp dụng cho các màn hình nhỏ hơn 992px (tablets và mobile) */
@media (max-width: 991.98px) {
  .promo-section-upgraded {
    padding: 20px;
  }

  .product-video-wrapper {
    margin-bottom: 20px;
  }

  .form-section {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .form-section .section-title {
    background-color: #e7762a;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    font-size: 1.5rem;
  }

  /* 
     * === THÊM ĐOẠN CODE NÀY ĐỂ CĂN GIỮA FORM ===
     * Đây là phần quan trọng nhất để sửa lỗi lệch.
    */
  .form-section .main-form {
    margin-left: auto; /* Tự động căn lề trái */
    margin-right: auto; /* Tự động căn lề phải */
    max-width: 400px; /* Đặt chiều rộng tối đa để form không bị quá dài trên tablet */
  }

  .main-form .btn-submit {
    padding: 0.9rem;
    font-size: 1.1rem;
  }
}
