/* ===== General Layout ===== */
body {
  font-family: "Kanit", sans-serif;
  min-height: 100vh;
  padding-top: 80px;
}

a, button {
    cursor: pointer !important;;
}

.bg-1 {
  background-image: url("https://www.spurs-thailand.net/member/v2/images/kudus-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.bg-2 {
  background-image: url("https://www.spurs-thailand.net/member/v2/images/lb-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* ===== Navbar ===== */
.navbar {
  background-color: #071b46 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-logo {
  width: 280px;
  height: auto;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
  transform: translateY(-1px);
}

/* ===== Main Content ===== */
.main-content {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

/* ===== Login Card ===== */
.login-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  max-width: 450px;
  margin: 1rem;
}

.login-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-register {
  font-size: 1.1rem;
  font-weight: 600;
  background-color: #ffd700;
  color: #071b46;
  text-decoration: none;
  border-radius: 0px;
  padding: 10px 20px;
  cursor: pointer!important;;
}

.btn-register:hover {
  background-color: #ffef8c;
}

.btn-login {
  font-size: 1rem;
  background-color: #ffd700;
  border-radius: 0px;
}

.btn-login:hover {
  background-color: #ffef8c;
}

/* ===== Card Header & Body ===== */
.card-header {
  background: linear-gradient(135deg, #071b46 0%, #1a3a6b 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  border: none !important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin: 0;
  position: relative;
}

.card-header h3,
.card-header h2 {
  margin: 0;
  font-weight: 600;
}

.card-header h3 {
  font-size: 1.5rem;
}

.card-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.card-header p,
.card-header .subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #ffd700;
  margin-bottom: 1rem;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #071b46;
}

.card-description {
  color: #011c55;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ===== Membership Card ===== */
.membership-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
  max-width: 480px;
}

.membership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Form ===== */
.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #071b46;
  box-shadow: 0 0 0 0.2rem rgba(7, 27, 70, 0.1);
}

.input-group .input-group-text {
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-right: none;
  color: #071b46;
}

.input-group .form-control {
  border-left: none;
  margin-bottom: 0;
}

.input-group:last-child {
  margin-bottom: 1.5rem;
}

.password-toggle {
  cursor: pointer;
  padding: 12px 15px;
  background: #f8f9fa;
  border: 2px solid #e0e0e0;
  border-left: none;
  color: #071b46;
}

.required {
  color: #dc3545;
}

.form-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

input::placeholder {
  color: #a0a0a0!important; 
}

.back-link {
  text-align: center;
  margin-top: 1.5rem;
}

.back-link a {
  color: #071b46;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-link a:hover {
  color: #ffd700;
}

.image-section,
.form-section {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.image-section {
  padding: 2rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.form-section {
  padding: 2.5rem;
}

.package-card {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.package-card:hover {
  border-color: #071b46;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-card.selected {
  border-color: #ffd700;
  background: #fff9e6;
}

.package-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #071b46;
}

.package-features {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.section-title {
  background: #071b46;
  color: white;
  padding: 1rem 1.5rem;
  margin: 0 -2.5rem 2rem -2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.section-title.optional {
  background: #6c757d;
}

/* ===== Carousel ===== */
.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9fa;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  background-color: #071b46;
}

/* ===== Package Info Section ===== */
.package-info-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e0e0e0;
  margin-top: 1rem;
}

.package-info-item {
  text-align: center;
}

.package-info-item h5 {
  color: #071b46;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.package-info-item p {
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .image-section {
    position: relative;
    top: auto;
    margin-bottom: 2rem;
  }
  .main-content {
    padding: 1rem 0;
  }
  .form-section {
    padding: 2rem;
  }
  .section-title {
    margin: 0 -2rem 2rem -2rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand img {
    width: 150px;
  }
  .card-header {
    padding: 1.5rem;
  }
  .card-header h2 {
    font-size: 1.6rem;
  }
  .card-header h3 {
    font-size: 1.2rem;
  }
  .success-icon {
    font-size: 3rem;
  }
  .card-body {
    padding: 2rem;
  }
  .form-section {
    padding: 1.5rem;
  }
  .section-title {
    margin: 0 -1.5rem 1.5rem -1.5rem;
    padding: 1rem;
  }
  .package-card {
    padding: 1rem;
  }
  .carousel-item img {
    height: 300px;
  }
  .package-info-section {
    padding: 1rem;
  }
  .package-info-item h5 {
    font-size: 1rem;
  }
  .package-info-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 1rem 0;
  }
  .header-logo {
    width: 120px;
    height: auto;
  }
  .thank-you-card {
    margin: 0.5rem;
  }
  .card-header {
    padding: 1.5rem 1rem;
  }
  .card-body {
    padding: 1.5rem;
  }
  .form-section,
  .payment-section {
    padding: 1rem;
  }
  .bank-details {
    text-align: center;
  }
  .bank-logo {
    margin: 0 auto 1rem auto;
  }
}
