/* =========================================
   RATING PAGE - MODERN UI (BANK STYLE)
========================================= */

/* BACKGROUND KHUSUS HALAMAN */
body.page-rating {
  background: linear-gradient(135deg, #0d2c6c, #1e4db7);
  overflow-x: hidden;
}

/* SECTION */
.rating-section {
  position: relative;
  padding: 120px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BACKGROUND SHAPE (BIAR PREMIUM) */
.rating-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
  top: -150px;
  right: -150px;
  z-index: 0;
}

.rating-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
  bottom: -150px;
  left: -150px;
  z-index: 0;
}

/* CARD */
.rating-box {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 45px 35px;
  border-radius: 25px;
  width: 100%;
  max-width: 520px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  animation: fadeUp 0.8s ease;
  transition: 0.3s;
}

.rating-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 35px 80px rgba(0,0,0,0.3);
}

/* TITLE */
.rating-box h1 {
  font-weight: 700;
  color: #0d2c6c;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.rating-box p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

/* STARS */
.stars {
  margin-bottom: 20px;
}

.stars span {
  font-size: 42px;
  cursor: pointer;
  color: #ddd;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.stars span:hover {
  transform: scale(1.3) rotate(5deg);
}

.stars span.active {
  color: #ffc107;
  text-shadow: 0 0 10px rgba(255,193,7,0.6);
}

/* INPUT */
.form-control {
  margin-top: 15px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #1e4db7;
  box-shadow: 0 0 10px rgba(30,77,183,0.2);
}

/* TEXTAREA */
textarea.form-control {
  resize: none;
}

/* BUTTON */
.btn-submit {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(135deg, #0d2c6c, #1e4db7);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* SUCCESS MESSAGE */
#successMsg {
  display: none;
  margin-top: 20px;
  color: #28a745;
  font-weight: 500;
  animation: fadeIn 0.5s ease;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {

  .rating-box {
    padding: 30px 20px;
  }

  .stars span {
    font-size: 36px;
  }

  .rating-box h1 {
    font-size: 22px;
  }

}

/* EXTRA SMOOTH */
* {
  box-sizing: border-box;
}
#main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.header {
  top: 0;
  margin-top: 0 !important;
}
.rating-section {
  padding: 70px 20px 80px; /* ini kunci presisi */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}