.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, transform 0.05s ease;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0;
  box-shadow: none;
}

.btn:hover {
  box-shadow: none !important;
}

.btn:focus {
  outline: none;
  box-shadow: none;
}

.btn--primary {
  min-width: 102px;
  height: 48px;
  padding: 14px 24px !important;
  background-color: var(--color-primary);
  color: var(--color-white);
  font: var(--fw-medium) 1.125rem/1.25rem var(--font-family-base);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn--primary:focus-visible {
  outline: none;
  box-shadow: 0px 0px 0px 2px #e3e3e3;
}

.btn.btn--primary:active {
  background-color: #083844;
  border-color: #083844;
  color: var(--color-white);
}

.btn--primary:disabled {
  background-color: #b2b3b2;
  border: none;
  color: var(--color-white);
  cursor: not-allowed;
}

.btn--secondary {
  min-width: 102px;
  height: 48px;
  padding: 14px 24px;
  background-color: var(--color-white);
  color: var(--color-black);
  font: var(--fw-medium) 1.125rem/1.25rem var(--font-family-base);
  font-weight: 500;
  border: 1px solid #e6e6e5;
}

.btn--secondary:hover {
  background-color: #f0f0f0;
  border-color: transparent;
  color: var(--color-black);
  box-shadow: none;
}

.btn--secondary:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: #a0a0a0;
}

.btn.btn--secondary:active {
  background-color: #e3e3e3;
  border-color: transparent;
  color: var(--color-black);
}

.btn--secondary:disabled {
  background-color: var(--color-white);
  color: #949594;
  border-color: #e6e6e5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--tertiary {
  min-width: 102px;
  height: 48px;
  padding: 14px 24px;
  background-color: var(--color-white);
  color: var(--color-black);
  font: var(--fw-medium) 1.125rem/1.25rem var(--font-family-base);
  font-weight: 500;
  border: none;
}

.btn--tertiary:hover {
  background-color: #f0f0f0;
  border-color: transparent;
  color: var(--color-black);
  box-shadow: none;
}

.btn--tertiary:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: #a0a0a0;
}

.btn.btn--tertiary:active {
  background-color: #e3e3e3;
  border-color: transparent;
  color: var(--color-black);
}

.btn--tertiary:disabled {
  background-color: var(--color-white);
  color: #949594;
  border-color: #e6e6e5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--with-icon {
  width: 48px;
  height: 48px;
  padding: 14px;
  background-color: #156A79;
  color: white;
  border: none;
  border-radius: 8px;
}

.btn--with-icon:hover {
  background-color: #134e59;
  color: white;
}

.btn--with-icon:focus-visible {
  outline: none;
  box-shadow: 0px 0px 0px 2px #e3e3e3;
}

.btn.btn--with-icon:active {
  background-color: #0f3d47;
  color: white;
}

.btn--with-icon:disabled {
  background-color: #b2b3b2;
  color: white;
  cursor: not-allowed;
}

.icon-container {
  background: rgba(21, 106, 121, 0.1);
  padding: 0.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #156a79;
}


.btn--primary[data-bs-toggle="dropdown"][aria-expanded="true"] {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--secondary[data-bs-toggle="dropdown"][aria-expanded="true"] {
  background-color: var(--color-white);
  border-color: lightgray
}

.btn--tertiary[data-bs-toggle="dropdown"][aria-expanded="true"] {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--with-icon[data-bs-toggle="dropdown"][aria-expanded="true"] {
  background-color: var(--color-primary);
  color: white;
}

.units-table { 
  table-layout: auto; 
  width: 100%;
}

.units-table th { 
  overflow: visible; 
  text-overflow: clip; 
}

#bulkRiWizardModal input[type="checkbox"].form-check-input,
#bulkRiWizardModal input[type="checkbox"],
#bulkDunningWizardModal input[type="checkbox"].form-check-input,
#bulkDunningWizardModal input[type="checkbox"],
#bulkUtilityEmailModal input[type="checkbox"].form-check-input,
#bulkUtilityEmailModal input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: var(--color-primary);
}
#bulkRiWizardModal input[type="checkbox"].form-check-input:checked,
#bulkRiWizardModal input[type="checkbox"]:checked,
#bulkDunningWizardModal input[type="checkbox"].form-check-input:checked,
#bulkDunningWizardModal input[type="checkbox"]:checked,
#bulkUtilityEmailModal input[type="checkbox"].form-check-input:checked,
#bulkUtilityEmailModal input[type="checkbox"]:checked {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}
#bulkRiWizardModal input[type="checkbox"].form-check-input:focus,
#bulkRiWizardModal input[type="checkbox"]:focus,
#bulkDunningWizardModal input[type="checkbox"].form-check-input:focus,
#bulkDunningWizardModal input[type="checkbox"]:focus,
#bulkUtilityEmailModal input[type="checkbox"].form-check-input:focus,
#bulkUtilityEmailModal input[type="checkbox"]:focus {
  border-color: var(--color-primary) !important;
  box-shadow: var(--color-focus-ring) !important;
}
