/* Custom button styles for the application */

/* Base button styles */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  /* border-radius: 0.25rem; */
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Primary button styles */
.btn-primary {
  color: #fff;
  background-color: #baa875;
  border-color: #baa875;
}

/* Hover and focus states */
.btn-primary:hover {
  color: #fff;
  background-color: #a89567;
  border-color: #a08a5e;
}

.btn-primary:focus {
  color: #fff;
  background-color: #a89567;
  border-color: #a08a5e;
  box-shadow: 0 0 0 0.25rem rgba(186, 168, 117, 0.5);
}

/* Active state */
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #968155;
  border-color: #8c784d;
}

.btn-primary:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(186, 168, 117, 0.5);
}

/* Disabled state */
.btn-primary:disabled,
.btn-primary.disabled {
  color: #fff;
  background-color: #baa875;
  border-color: #baa875;
  opacity: 0.65;
}

/* Outline variant (if needed) */
.btn-outline-primary {
  color: #baa875;
  border-color: #baa875;
}

.btn-outline-primary:hover {
  color: white;
  background-color: #baa875;
  border-color: #baa875;
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(186, 168, 117, 0.5);
}

.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #000;
  background-color: #baa875;
  border-color: #baa875;
}

.btn-outline-primary:disabled {
  color: #baa875;
  background-color: transparent;
}

.btn-danger {
  background-color: #c63e48;
  color: #fff
}

.ghost-btn {
  display: inline-block;
  font-size: 1rem;
  line-height: 2rem;
  color: #b19c5d;
  text-align: center;
  border: 1px solid #b19c5d;
  padding: 2px 15px;
  background-color: transparent;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 0px;

}

.ghost-btn:hover {
  /* transform: translateY(-2px) !important;
  transition: transform 200ms; */
  background-color: #b19c5d;
  color: white !important;
  text-align: center;
  border: 1px solid #b19c5d;
  padding: 2px 15px;
}

.ghost-btn.active {
  background-color: #b19c5d;
  color: white !important;
}

btn.ghost-btn:active {
  background-color: #b19c5daa !important;
  color: white !important;
}

/* .btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: #b19c5dee !important;
  color: white !important;
} */

.btn-icon {
  border: none;
}

.btn-icon:active {
  background-color: transparent !important;
  border: none;
}