body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f8ff;
  margin: 0;
  padding: 0;
}

.form-container  {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 10px;
}

form {
  background-color: #fff;
  max-width: 950px;
  width: 100%;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h2 {
  text-align: center;
  color: #004aad;
  margin-bottom: 25px;
  font-size: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

input, select, textarea {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  outline: none;
  font-size: 15px;
  transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #004aad;
  box-shadow: 0 0 0 2px rgba(0,74,173,0.2);
}

textarea {
  resize: none;
}

.checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.checkbox input {
  margin-right: 8px;
}

.btn {
  display: block;
  width: 100%;
  background-color: #004aad;
  color: #fff;
  font-weight: 600;
  padding: 12px;
  border: none;
  border-radius: 6px;
  margin-top: 25px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #003c8a;
}

.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 600px) {
  form {
    padding: 20px;
  }

  h2 {
    font-size: 20px;
  }
}

 .btn:disabled {
      background: #ccc;
      cursor: not-allowed;
      opacity: 0.7;
    }


    .form-group.checkbox {
  background: #f8faff;
  border: 1px solid #cce0ff;
  border-radius: 10px;
  padding: 15px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.1);
  transition: 0.3s ease;
}

.form-group.checkbox:hover {
  background: #f0f6ff;
  border-color: #007bff;
}

.form-group.checkbox input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #007bff;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 3px;
  transition: all 0.2s ease;
}

.form-group.checkbox input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.form-group.checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  color: #fff;
  font-size: 15px;
  position: absolute;
  left: 4px;
  top: 0px;
}

.form-group.checkbox label {
  color: #003366;
  font-size: 15px;
  line-height: 1.4;
}





