/* -------------------------------- 

File#: _1_btns
Title: Buttons (Group)
Descr: Group of connected buttons
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*,
*::after,
*::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol,
ul,
menu {
  list-style: none;
}

button,
input,
textarea,
select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}



table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

  h2 {
    font-size: 2.44rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --bj2-color-primary-hsl: 250, 84%, 54%;
  --bj2-color-bg-hsl: 0, 0%, 100%;
  --bj2-color-contrast-high-hsl: 230, 7%, 23%;
  --bj2-color-contrast-higher-hsl: 230, 13%, 9%;

  /* spacing */
  --bj2-space-2xs: 0.375rem;
  --bj2-space-xs: 0.5rem;
  --bj2-space-sm: 0.75rem;
}

@media(min-width: 64rem) {
  :root {
    /* spacing */
    --bj2-space-2xs: 0.5625rem;
    --bj2-space-xs: 0.75rem;
    --bj2-space-sm: 1.125rem;
  }
}

/* icons */
.bj2-icon {
  height: var(--bj2-size, 1em);
  width: var(--bj2-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */
:root {
  --btns-button-radius: 0.25em;
  --btns-button-padding-x: var(--bj2-space-sm);
  --btns-button-padding-y: var(--bj2-space-2xs);
}

.btns {
  /* button group */
}

.btns>*:first-child,
.btns *:first-child .btns__btn {
  border-radius: var(--btns-button-radius) 0 0 var(--btns-button-radius);
}

.btns>*:last-child,
.btns *:last-child .btns__btn {
  border-radius: 0 var(--btns-button-radius) var(--btns-button-radius) 0;
}

.btns[class*=gap-4xs] .btns__btn,
.btns[class*=gap-3xs] .btns__btn,
.btns[class*=gap-2xs] .btns__btn,
.btns[class*=gap-xs] .btns__btn,
.btns[class*=gap-sm] .btns__btn,
.btns[class*=gap-md] .btns__btn,
.btns[class*=gap-lg] .btns__btn,
.btns[class*=gap-xl] .btns__btn,
.btns[class*=gap-2xl] .btns__btn,
.btns[class*=gap-3xl] .btns__btn,
.btns[class*=gap-4xl] .btns__btn {
  border-radius: var(--btns-button-radius) !important;
}

/* single button */
.btns__btn {
  background-color: transparent;
  padding: 0;
  border: 0;
  border-radius: 0.25em;
  color: inherit;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: var(--btns-button-padding-y) var(--btns-button-padding-x);
  background-color: hsla(var(--bj2-color-contrast-higher-hsl), 0.1);
  text-decoration: none;
  transition: 0.2s;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btns__btn:hover:not(.btns__btn--selected, .default_action_btn, .mod_window_btn, .default_btn) {
  background-color: hsla(var(--bj2-color-contrast-higher-hsl), 0.075);
}


.delete {
  background-color: #ED9595;
  margin-top: 20px;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.delete:hover:not(.btns__btn--selected) {
  background-color: #d97070;
}

.btns__btn--selected,
.btns--radio input[type=radio]:checked+label,
.btns--radio input[type=checkbox]:checked+label,
.btns--checkbox input[type=radio]:checked+label,
.btns--checkbox input[type=checkbox]:checked+label {
  /* selected style */
  /* background-color: hsl(var(--bj2-color-contrast-higher-hsl)); */
  /* color: hsl(var(--bj2-color-bg-hsl)); */
  /* box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1); */
}


.btns__btn--disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

/* --radio, --checkbox */
.btns--radio>*,
.btns--checkbox>* {
  position: relative;
}

.btns--radio input[type=radio],
.btns--radio input[type=checkbox],
.btns--checkbox input[type=radio],
.btns--checkbox input[type=checkbox] {
  /* hide native buttons */
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.btns--radio input[type=radio]+label,
.btns--radio input[type=checkbox]+label,
.btns--checkbox input[type=radio]+label,
.btns--checkbox input[type=checkbox]+label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.btns--radio input[type=radio]:focus+label,
.btns--radio input[type=checkbox]:focus+label,
.btns--checkbox input[type=radio]:focus+label,
.btns--checkbox input[type=checkbox]:focus+label {
  z-index: 1;
  box-shadow: 0 0 0 2px hsla(var(--bj2-color-contrast-higher-hsl), 0.2);
}

.btns--radio input[type=radio]:checked+label,
.btns--radio input[type=checkbox]:checked+label,
.btns--checkbox input[type=radio]:checked+label,
.btns--checkbox input[type=checkbox]:checked+label {
  /* checked state */
}

.btns__btn--icon {
  padding: var(--btns-button-padding-y);
}

.btns__btn--icon .bj2-icon {
  display: block;
}

/* utility classes */
.bj2-inline-flex {
  display: inline-flex;
}

.bj2-gap-xs {
  gap: var(--bj2-space-xs);
}

.bj2-flex-wrap {
  flex-wrap: wrap;
}

.bj2-margin-right-2xs {
  margin-right: var(--bj2-space-2xs);
}


.mass_delete_btn {
  cursor: pointer;
}

.tb_btn_btn_div {
  display: flex;
  justify-content: flex-end;
}