@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #e8f4f0 0%, #f5f5f5 100%);
  padding: 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.course-info {
  background-image: linear-gradient(
      135deg,
      rgba(4, 25, 58, 0.801) 0%,
      rgba(5, 26, 44, 0.822) 100%
    ),
    url("../images/payment\ background.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.course-info::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  bottom: -150px;
  right: -100px;
  z-index: 0;
}

.course-selector {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.course-selector label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-selector select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
}

.course-selector select option {
  background: #1a2940;
  color: white;
}

.course-selector select:hover {
  background: rgba(255, 255, 255, 0.15);
}

.course-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.course-subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.course-details {
  position: relative;
  z-index: 1;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.detail-item::before {
  content: "●";
  margin-right: 15px;
  font-size: 10px;
  opacity: 0.7;
}

.detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 5px;
  font-weight: 500;
}

.detail-value {
  font-size: 16px;
  font-weight: 600;
}

.price-section {
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.price-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 10px;
  font-weight: 600;
}

.price {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 10px;
}

.price-note {
  font-size: 13px;
  opacity: 0.8;
}

.form-section {
  padding: 50px;
}

.form-header {
  margin-bottom: 30px;
}

.form-header p {
  color: #666;
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #1a2940;
  box-shadow: 0 0 0 3px rgba(26, 41, 64, 0.1);
}

.form-group input.error {
  border-color: #dc3545;
}

.form-group input.success {
  border-color: #28a745;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}
.form-control option {
  background: #1a2940;
  color: white;
}
.form-control option:hover {
  background: rgba(255, 255, 255, 0.15);
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin: 30px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: #1a2940;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: #0f1922;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 41, 64, 0.3);
}

.submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

/* Media Queries */
@media (max-width: 968px) {
  .container {
    grid-template-columns: 1fr;
  }

  .course-info {
    padding: 40px 30px;
  }

  .form-section {
    padding: 40px 30px;
  }

  .course-title {
    font-size: 36px;
  }

  .price {
    font-size: 46px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 10px;
  }

  .container {
    border-radius: 16px;
  }

  .course-info {
    padding: 30px 25px;
  }

  .form-section {
    padding: 30px 25px;
  }

  .course-title {
    font-size: 28px;
  }

  .price {
    font-size: 38px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .course-info {
    padding: 25px 20px;
  }

  .form-section {
    padding: 25px 20px;
  }

  .course-title {
    font-size: 24px;
  }

  .course-subtitle {
    font-size: 14px;
  }

  .price {
    font-size: 32px;
  }

  .detail-value {
    font-size: 14px;
  }

  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .submit-btn {
    padding: 14px;
    font-size: 15px;
  }
}
