.michigan-main-title {
  font-size: 16px;
  font-weight: 500 !important;
  font-family: "Rubik", sans-serif;
}

.withholding-box .checkbox label::before {
  top: 0 !important;
}
.withholding-box .checkbox label::after {
  top: 0 !important;
}
.withholding-box .not-resident-city .form-check-label {
  font-size: 14px !important;
}
.withholding-box .types_of_city, .withholding-box .checkbox-primary {
  cursor: pointer !important;
}
.withholding-box .sub-michigan-main-title {
  font-size: 13px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}
.withholding-box .nonresident-declaration-section {
  background-color: #f5f2f5;
  padding: 15px;
  border-radius: 0px;
  border: 0.5px solid #f5f2f5;
}
.withholding-box .cities-list-container {
  background-color: #fff;
}
.withholding-box .city-item {
  margin-bottom: 10px;
  border: 1.5px solid #f5f2f5;
  transition: all 0.2s ease;
  pointer-events: auto;
}
.withholding-box .city-item .city-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background-color: #f5f2f5;
  pointer-events: auto;
}
.withholding-box .city-item .city-header .city-name {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.withholding-box .city-item .city-header .status-buttons {
  display: flex;
  gap: 10px;
  pointer-events: auto;
}
.withholding-box .city-item .city-header .status-buttons .status-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  background-color: #fff;
  color: #495057;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}
.withholding-box .city-item .city-header .status-buttons .status-btn:hover {
  background-color: #e9ecef;
}
.withholding-box .city-item .city-header .status-buttons .status-btn.resident-btn.active {
  background-color: #28b463;
  border-color: #28b463;
  color: #fff;
}
.withholding-box .city-item .city-header .status-buttons .status-btn.nonresident-btn.active {
  background-color: #5047c7;
  border-color: #5047c7;
  color: #fff;
}
.withholding-box .city-item .city-header .status-buttons .status-btn.disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
.withholding-box .city-item .city-header .status-buttons .status-btn.disabled:hover {
  background-color: #fff;
}
.withholding-box .city-item .city-header .status-buttons .status-btn .btn-icon {
  margin-right: 5px;
}
@media (max-width: 472px) {
  .withholding-box .city-item .city-header .status-buttons {
    flex-direction: column;
  }
  .withholding-box .city-item .city-header .status-buttons .status-btn {
    width: 100%;
  }
}
.withholding-box .city-item .time-percentage-section {
  margin-top: 15px;
  padding: 0px 10px;
  background-color: #fff;
  pointer-events: auto;
}
.withholding-box .city-item .time-percentage-section .form-label {
  font-size: 14px;
  margin-bottom: 12px;
}
.withholding-box .city-item .time-percentage-section .time-options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  pointer-events: auto;
}
.withholding-box .city-item .time-percentage-section .time-options-group .time-option-btn {
  background-color: #fff;
  border: 1px solid #eee !important;
  color: #495057;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px !important;
  pointer-events: auto;
}
.withholding-box .city-item .time-percentage-section .time-options-group .time-option-btn:hover {
  background-color: #f0eeee;
  border-color: #d4d4d4;
}
.withholding-box .city-item .time-percentage-section .time-options-group .time-option-btn.active-time-btn {
  background-color: rgba(51, 102, 255, 0.2);
  border-color: rgba(51, 102, 255, 0.2) !important;
  color: #36f;
}
.withholding-box .city-item .time-percentage-section .time-options-group .time-option-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.withholding-box .city-item .time-percentage-section .time-options-group .time-option-btn.disabled:hover {
  background-color: #fff;
  border-color: #ced4da;
}
.withholding-box .city-item .exemption-section {
  padding: 0px 10px;
  margin-top: 15px;
  background-color: #fff;
  pointer-events: auto;
}
.withholding-box .city-item .exemption-section .exemption-label {
  font-size: 14px;
  margin-bottom: 10px;
}
.withholding-box .city-item .exemption-section .exemption-options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  pointer-events: auto;
}
.withholding-box .city-item .exemption-section .exemption-options-group:last-child {
  margin-bottom: 0;
}
.withholding-box .city-item .exemption-section .exemption-options-group .exemption-option-btn {
  background-color: #fff;
  border: 1px solid #ced4da !important;
  color: #495057;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 18px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
}
.withholding-box .city-item .exemption-section .exemption-options-group .exemption-option-btn:hover {
  background-color: #e7f3ff;
  border-color: #0d6efd;
}
.withholding-box .city-item .exemption-section .exemption-options-group .exemption-option-btn.active-exemption-btn {
  background-color: rgba(51, 102, 255, 0.2);
  border-color: rgba(51, 102, 255, 0.2) !important;
  color: #36f;
}
.withholding-box .city-item .exemption-section .exemption-options-group .exemption-option-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.withholding-box .city-item .exemption-section .exemption-options-group .exemption-option-btn.disabled:hover {
  background-color: #fff;
  border-color: #ced4da;
}
.withholding-box .dependent-information .row {
  margin: 0 -15px;
}
.withholding-box .dependent-information .row [class*=col-] {
  padding: 0 15px;
}
.withholding-box .dependent-information h6 {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 15px;
}
.withholding-box .dependent-information .form-group {
  margin-bottom: 1rem;
}
.withholding-box .dependent-information .form-group .form-label {
  font-size: 14px;
  margin-bottom: 5px;
}
.withholding-box .dependent-information .form-group .form-control {
  padding: 8px 12px;
  font-size: 14px;
}
.withholding-box .dependent-information .form-group .form-control[readonly] {
  background-color: #e9ecef !important;
  opacity: 1;
}
@media (max-width: 768px) {
  .withholding-box .city-item .city-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .withholding-box .city-item .city-header .status-buttons {
    width: 100%;
  }
  .withholding-box .city-item .city-header .status-buttons .status-btn {
    flex: 1;
  }
  .withholding-box .city-item .time-options-group,
  .withholding-box .city-item .exemption-options-group {
    flex-direction: column;
  }
  .withholding-box .city-item .time-options-group .time-option-btn,
  .withholding-box .city-item .time-options-group .exemption-option-btn,
  .withholding-box .city-item .exemption-options-group .time-option-btn,
  .withholding-box .city-item .exemption-options-group .exemption-option-btn {
    width: 100%;
  }
  .withholding-box .dependent-information .row {
    flex-direction: column;
  }
  .withholding-box .dependent-information .row [class*=col-] {
    width: 100%;
    margin-bottom: 20px;
  }
  .withholding-box .dependent-information .row [class*=col-]:last-child {
    margin-bottom: 0;
  }
}

.text-dark {
  color: #343a40 !important;
}

.city-search-wrapper {
  position: relative;
}

.city-search-wrapper .search-icon {
  color: #6c757d;
}

.city-search-wrapper .form-control:focus + .search-icon {
  color: #007bff;
}
