/* Base */
body {
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  font-family: 'Karla', sans-serif;
  color: #333;
}
.form-container {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
h2 {
  margin-bottom: 8px;
  color: #0E3152;
  font-size: 1.75rem;
  text-align: center;
}
.company-full {
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* Labels & Inputs */
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #333;
}
label.required {
  color: #D9534F;
}
input, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  resize: vertical;
}
textarea { min-height: 80px; }

/* Checkbox & Radio – text above input */
.options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.options-group label {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  font-weight: 400;
  gap: 6px;
  color: #333;
}

/* Submit Button */
.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: #0E3152;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}
.btn-submit:hover {
  background: #0b2640;
}

/* Popup Styles */
.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s;
}
.popup.active {
  visibility: visible;
  opacity: 1;
}
.popup-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.popup-content h3 {
  margin-top: 0;
  color: #0E3152;
  font-size: 1.5rem;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #999;
}
.close-btn:hover {
  color: #333;
}

/* Responsive */
@media (max-width: 480px) {
  .form-container {
    padding: 20px;
  }
  .popup-content {
    width: 90%;
    padding: 15px;
  }
}
