/*HA - New hire rehire eform */
.hanewhirerehire{display:flex;flex-wrap:wrap;}
.hanewhirerehire .form-field{max-width:100%;width:48%;margin-right:2%;}
.hanewhirerehire footer{width:100%;}
.hanewhirerehire .request_custom_fields_18656397938972{
    height: 103px !important;
}
.request_custom_fields_6420613686175{
    width: 98% !important
}
.request_custom_fields_6420451325727_hint {
    font-style: italic;
}
.hazendesk-radio-group label {
    display: inline-flex !important;
    align-items: center;
}
.hazendesk-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.hanhrsearchfieldwidth
{
   width: 88% !important;
   margin-right: 0px !important;
}
.ha-nhr-countryTag{
    display: none;
}
.ha_nhr_SearchUserDetails{
    height: 91% !important;
}
.ha_nhr_error{
    border: 2px solid red !important;
}
.Disabledfield input{background:none;}
/* .Disabledfield.lastname{margin-left:0;} */


@media (max-width: 768px) {
    .hanewhirerehire .form-field {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px; /* optional spacing between fields */
        float: none; /* reset float */
    }
}


/* HRBP Name Search Button */
.ha-nhr-hrbp-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.ha-nhr-hrbp-search-wrapper input {
    flex: 1;
}
.ha-nhr-hrbp-search-btn {
    margin-left: 6px;
    margin-top: -10px;
    padding: 8px 12px;
    cursor: pointer;
    background: #ffa500;
    border: 1px solid #e69500;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ha-nhr-hrbp-search-btn:hover {
    background: #e69500;
}
.ha-nhr-hrbp-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #d8dcde;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    max-height: 180px;
    overflow-y: auto;
    z-index: 9999;
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
}
.ha-nhr-hrbp-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #2f3941;
}
.ha-nhr-hrbp-dropdown li:hover {
    background: #f3f4f5;
}

/* Searchable Dropdown - All Fields */
.ha-nhr-search-wrapper {
  position: relative;
  width: 100%;
}

.ha-nhr-search-input {
  width: 100%;
  height: 40px;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.ha-nhr-search-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #666;
}

.ha-nhr-search-list {
  display: none;
  position: absolute;
  z-index: 9999;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ha-nhr-search-list.open {
  display: block;
}

.ha-nhr-search-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ha-nhr-search-item:hover {
  background-color: #f0f0f0;
}

.ha-nhr-search-no-results {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
}


/* Searchable Dropdown - All Fields */
.ha-nhr-search-wrapper {
  position: relative;
  width: 100%;
}

.ha-nhr-search-input {
  width: 100%;
  height: 40px;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.ha-nhr-search-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #666;
}

.ha-nhr-search-list {
  display: none;
  position: absolute;
  z-index: 9999;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ha-nhr-search-list.open {
  display: block;
}

.ha-nhr-search-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ha-nhr-search-item:hover {
  background-color: #f0f0f0;
}

.ha-nhr-search-no-results {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
}

/* Pay Group - Dropdown */
.ha-nhr-paygroup-wrapper {
  position: relative;
  width: 100%;
}

.ha-nhr-paygroup-input {
  width: 100%;
  height: 40px;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.ha-nhr-paygroup-list {
  display: none;
  position: absolute;
  z-index: 9999;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ha-nhr-paygroup-list.open {
  display: block;
}

.ha-nhr-paygroup-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
}

.ha-nhr-paygroup-item:hover {
  background-color: #f0f0f0;
}

.ha-nhr-paygroup-no-results {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
}

.ha-nhr-paygroup-hint {
  padding: 10px 12px;
  color: #999;
  font-style: italic;
}

/* Supervisor + HRBP fields - inline searchable typeahead */
/* These reuse the shared .ha-nhr-search-* dropdown styles above; the
   wrappers just need full-width layout so the input fills the field. */
.ha-nhr-sup-name-field,
.ha-nhr-sup-gid-field {
    position: relative;
    width: 100%;
}
