/* Global Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: Roboto, Arial;
  background-image: url('../img/bg-form.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0px;
  text-align: center;
  
  user-select: none;
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none;    
}

.container {
  width: 90%;
  max-width: 700px;
  margin: 20px auto 40px auto;
  background: white;
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0px 0px 10px #ccc;
}

h2 {
  text-align: center;
  color: #0ea5e9;
}

p {
  text-align: center;
  font-size: 15px;
  color: #333;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin: 20px 0;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  font-size: 15px;
  text-transform: uppercase;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* Tombol */
.btn {
  width: 100%;
  padding: 12px;
  background-color: #f67905;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 18px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #fd6f03;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}

.btn:hover::after {
  left: 130%;
}

.note {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.note a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: bold;
}

.highlight-number {
  font-size: 16px;
  font-weight: bold;
  color: #0ea5e9;
}

.popup-divider {
  border: none;
  border-top: 2px solid #ccc;
  margin: 10px auto 20px auto;
  width: 100%;
}

/* Popup */
#popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1000;
}

.popup-content {
  background-color: white;
  width: 90%;
  max-width: 400px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
  position: relative;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.popup-content h2 {
  margin-top: 10px;
  font-family: 'Monotype Corsiva', Poppins;
  font-size: 40px;
}

.popup-package-title {
  font-weight: bold;
  color: #2563eb;
  font-size: 18px;
  margin-top: 10px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-weight: bold;
}

.popup-title {
  color: #2563eb;
  font-weight: bold;
  margin: 0;
}

.popup-msg {
  margin-top: 4px;
  margin-bottom: 10px;
}

.popup-download-btn {
  display: inline-block;
  background-color: #2563eb;
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 4px 4px 10px #AAA;
  margin-top: 15px;
}

.popup-package {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  max-width: 100%;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox-container label {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  max-width: 100%;
}

.checkbox-container label a {
  color: #007bff;
  text-decoration: underline;
}

/* RESPONSIVE STYLE */
@media (min-width: 768px) {
  .form-group {
    flex-direction: row;
    align-items: center;
  }

  .form-group label {
    width: 30%;
    margin: 0;
  }

  .form-group input {
    width: 70%;
  }

  .btn {
    width: 80%;
  }
}
