:root {
  --link-hover: #005dc1;
  --warning-text: #e03535;
  --warning-text-hover: #cf2828;
  --text: #1a1a1a;
  --extra-light-text: #999;
  --light-text: #777;
  --border: #ccc;
  --gray-button: #eee;
  --gray-button-hover: #ddd;
  --white: #fff;
  --white-filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(543%) hue-rotate(359deg) brightness(113%) contrast(100%);
}

.grecaptcha-badge { display: none !important; }

.uf-control-group { margin-bottom: 16px; }

.uf-sub-group-wrapper { display: flex; }
.uf-sub-group { width: 50%; }
.uf-sub-group:first-child { margin-right: 20px; }

.uf-control-label {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.uf-input, .uf-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 16px;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.uf-input { height: 40px; }
.uf-textarea { padding: 16px; resize: vertical; }
.uf-input:focus, .uf-textarea:focus {
  border-color: var(--link-hover);
  box-shadow: 0 0 0 3px rgba(0,93,193,0.1);
  outline: none;
}

.select2-container { width: 100% !important; }
.select2-container .select2-selection--single {
  height: 40px !important;
  border-radius: 3px !important;
  border: 1px solid var(--border) !important;
  padding: 0 4px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px !important; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px !important; }
.select2-dropdown { z-index: 9999; }

.uf-chk-label {
  display: flex;
  align-items: flex-start;
}
.ufChk {
  margin-right: 5px;
  position: relative;
  top: 3px;
}
.uf-chk-text {
  font-size: 15px;
  line-height: normal;
  display: block;
  margin-bottom: 15px;
}
.uf-chk-text a {
  color: var(--text);
  text-decoration: underline;
}
.uf-chk-text a:hover { color: var(--link-hover); }

.uf-recaptcha-v3, .uf-recaptcha-v3 a {
  font-size: 11px;
  color: var(--extra-light-text);
}

.uf-disabled {
  cursor: not-allowed;
  user-select: none;
  pointer-events: none;
  opacity: 0.4;
}

.uf-button {
  display: block;
  width: 192px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
  transition: opacity .2s ease;
  border: 1px solid;
}
.uf-button:hover { text-decoration: none; opacity: 0.9; }

.uf-file-button {
  color: inherit;
  color: transparent;
}
.uf-file-button::file-selector-button,
.uf-file-button::-webkit-file-upload-button {
  height: 32px;
  line-height: 32px;
  border: 0;
  font-size: 16px;
  cursor: pointer;
  padding: 0 12px;
  color: var(--text);
  background: var(--gray-button);
  border-radius: 3px;
}
.uf-file-button::file-selector-button:hover,
.uf-file-button::-webkit-file-upload-button:hover {
  background: var(--gray-button-hover);
}

.spinner {
	display: none;
	width: 18px;
	height: 18px;
	margin-left: 4px;
	vertical-align: middle;
	filter: var(--white-filter);
	position: relative; 
	bottom: 2px;
	animation: spin 1.5s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.uf-form-warning {
  color: var(--warning-text);
  font-weight: 500;
}
.uf-form-details {
  margin-top: 4px;
  font-size: 14px;
}
.uf-alert-success { display: flex; align-items: baseline; }
.uf-alert-success svg { margin-right: 8px; position: relative; top: 3px; }

.uf-file-item {
  list-style: none;
  font-size: 15px !important;
  margin-bottom: 4px;
}
.uf-file-size { font-size: 14px; color: var(--light-text); }

.uf-file-remove, .uf-error-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  background: var(--gray-button);
  font-size: 14px;
  margin-left: 4px;
  border-radius: 3px;
  cursor: pointer;
}
.uf-error-close { background: var(--warning-text); color: var(--white); }
.uf-file-remove:hover { background: var(--gray-button-hover); }
.uf-error-close:hover { background: var(--warning-text-hover); }

.uf-file-error { list-style: none; font-size: 15px !important; }

.uf-title-contact:empty, .uf-subtitle-contact:empty { display: none; }
.uf-title-contact {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
}
.uf-subtitle-contact {
  margin-top: -8px;
  font-size: 18px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .uf-sub-group-wrapper { flex-direction: column; }
  .uf-sub-group { width: 100%; margin-right: 0; margin-bottom: 12px; }
  .uf-button { width: 100%; }
}