* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff8eb; /* Light yellowish background */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-images {
  position: absolute;
  top: 20px;
  left: 200px;
  display: flex;
  align-items: center;
}

.top-logo,
.top-company {
  height: 120px; /* Adjusted for proportion */
  width: auto;
}

.top-logo {
  height: 80px;
}
.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 2rem;
  width: 100%;
  /* margin-top: 200px; */
}

.form-box {
  background-color: #ffffff;
  width: 100%;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-box h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #232222;
  margin-bottom: 1.5rem;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #e5e5e5;
  color: #141313;
}

.form-group select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #e5e5e5;
  color: #7a7878;
}

.form-group select:focus {
  outline: none;
  border-color: #3b90f3; /* Blue accent from main page */
  box-shadow: 0 0 5px rgba(59, 144, 243, 0.3);
  color: #141313;
}

.form-group input::placeholder {
  color: #7a7878;
  font-weight: 400;
}

.form-group input:focus {
  outline: none;
  border-color: #3b90f3; /* Blue accent from main page */
  box-shadow: 0 0 5px rgba(59, 144, 243, 0.3);
}

.submit-btn {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #0a0f1f 0%,
    #1a2a44 100%
  ); /* Gradient from main page */
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #1a2a44 0%, #0a0f1f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.popup-content.modern {
  background: #fff;
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: center;
  animation: scaleIn 0.3s ease-in-out;
}

.popup-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #222;
}

.popup-content p {
  color: #555;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pay-btn {
  padding: 1rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pay-btn.ida {
  background-color: #0e8a16;
  color: white;
}

.pay-btn.nonida {
  background-color: #007bff;
  color: white;
}

.pay-btn:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #000;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (min-width: 500px) {
  .btn-group {
    flex-direction: row;
    justify-content: space-between;
  }

  .pay-btn {
    flex: 1;
  }
}

#success-message {
  display: none;
  text-align: center;
  margin-top: 2rem;
}

#success-message a {
  color: green;
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 767px) {
  .top-images {
    top: 10px;
    left: 10px;
    gap: 5px;
  }

  .top-logo,
  .top-company {
    height: 80px; /* Smaller for mobile */
  }

  .register-section {
    padding: 1rem;
  }

  .form-box {
    max-width: 90%;
    padding: 1.5rem;
  }

  .form-box h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .form-group input {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .submit-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
