/* partner-form */
.partner-form-container {
  max-width: 640px;
  margin: 20px auto;
  padding: 32px;
  background-color: #ffffff;
  transition: transform 0.3s ease;
}

.partner-form-container:hover {
  transform: translateY(-2px);
}

.form-title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #2d2d2d;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.required::after {
  content: '*';
  color: #ff4d4f;
  margin-left: 6px;
  font-size: 14px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.with-bg-image{
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center; /* Shifted left by adjusting the position */
	background-size: 12px;
	height: 48px;
}




.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #0066ff;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-input.invalid,
.form-select.invalid {
  border-color: #ff4d4f;
  background-color: #fff1f0;
}

.phone-prefix {
  display: flex;
  gap: 12px;
  align-items: center;
}

.prefix-select {
  width: 120px;
}

.phone-input {
  flex: 1;
}

.location-selects {
  display: flex;
  gap: 12px;
}

.location-selects .form-select {
  flex: 1;
  position: relative;
}

.form-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 0;
  position: relative;
}

.form-checkbox {
  margin-top: 3px;
  accent-color: #0066ff;
}

.checkbox-label {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.checkbox-label a {
  color: #0066ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.checkbox-label a:hover {
  color: #0033cc;
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0066ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 32px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.submit-button:hover {
  background-color: #0052cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}

.submit-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.error-message {
  color: #ff4d4f;
  font-size: 13px;
  margin-top: 6px;
  display: none;
  position: absolute;
  bottom: -24px;
  left: 0;
}

.location-selects .error-message {
  bottom: -24px;
  width: 100%;
}

.form-checkbox-container .error-message {
  bottom: -24px;
  left: 0;
  width: 100%;
}

@media (max-width: 480px) {
  .partner-form-container {
	margin: 24px;
	padding: 20px;
	border-radius: 10px;
  }

  .form-title {
	font-size: 24px;
	margin-bottom: 24px;
  }

  .form-label {
	font-size: 14px;
  }

  .form-input,
  .form-select {
	font-size: 14px;
	padding: 10px 14px;
	border-radius: 6px;
	background-position: right 10px center;
	background-size: 10px;
  }

  .location-selects {
	flex-direction: column;
	gap: 8px;
  }

  .location-selects .error-message {
	bottom: -20px;
  }

  .submit-button {
	font-size: 14px;
	padding: 12px;
	margin-top: 24px;
  }

  .checkbox-label {
	font-size: 12px;
  }

  .error-message {
	font-size: 12px;
	bottom: -20px;
  }

  .form-checkbox-container .error-message {
	bottom: -20px;
  }
}


.radio-group {
    display: flex;
    gap: 150px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.radio-label:hover {
    color: #3b82f6;
}

.radio-label input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.radio-label input[type="radio"]:checked {
    border: 1px solid #3b82f6;
    background: #3b82f6;
}

.radio-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
}


.form-input, .form-select, .form-textarea {
    font-size: 14px;
    color: #333;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
    width: 97%;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}


.partner-form-container h2{
	font-size: 28px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 80px;
	text-align: center;
	letter-spacing: 0.5px;
}