.form-container {
  font-family: 'Roboto', sans-serif;
  width: 600px;
  margin: 10px auto;
}

.form-header {
  padding: 0 20px;
}

.header-title {
  font-weight: 400;
  font-size: 24pt;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 15px;
}

.header-description {
  line-height: 1.5;
  text-align: justify;
}

.section {
  padding: 10px 0;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* optional subtitle */
.section-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.form-box {
  background: white;
  padding: 20px;
  border-radius: 0 0 10px 10px;
}

.form-group {
  margin-bottom: 20px;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
}

.error {
  color: red;
  font-size: 13px;
}

.required:after {
  content: ' *';
  color: red;
}

.upload-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upload-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.upload-inline a {
  color: #673ab7;
  text-decoration: none;
}

.upload-inline .remove-file {
  background: #e53935;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.upload-inline .remove-file:hover {
  background: #c62828;
}

.gf-checkbox-group {
  margin-top: 10px;
}

.gf-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
}

.gf-checkbox input {
  display: none;
}

/* checkbox bulat */
.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #5f6368;
  border-radius: 50%;
  position: relative;
  transition: 0.2s;
}

/* hover */
.gf-checkbox:hover .checkmark {
  border-color: #1a73e8;
}

/* checked */
.gf-checkbox input:checked + .checkmark {
  border-color: #1a73e8;
  background: #1a73e8;
}

/* inner dot */
.gf-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.text {
  font-size: 14px;
  line-height: 1.4;
}

/* OTHER */
.gf-other {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.gf-other input[type="text"] {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 4px;
  outline: none;
}

.gf-other input[type="text"]:focus {
  border-bottom: 2px solid #1a73e8;
}

/* ========================= */
/* 🔥 MOBILE OPTIMIZATION */
/* ========================= */
@media (max-width: 600px) {
  .form-container {
    width: 100%;
    margin: 15px auto;
  }

  .form-header {
    font-size: 18px;
    padding: 0 15px;
  }

  .header-title {
    font-size: 20px;
  }

  .header-description {
    line-height: 1.3;
    font-size: 14px;
  }

  .section {
    padding: 5px 0;
  }

  .form-box {
    padding: 15px;
  }

  input {
    font-size: 16px; /* biar tidak zoom di iOS */
  }

  button {
    font-size: 16px;
  }
}