/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 div.container-content {
  padding: 0 20px;
}
div.actions {
  white-space: wrap;
  a {
    text-decoration: none;
  }
}

*[data-with-actions="true"]:hover :is(div.actions,span.action) {
  visibility: visible;
}

*[data-with-actions="true"] :is(div.actions,span.action) {
  visibility: hidden;
}

div.fixed-new-button {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 10px;
  a#new-action-button {
    text-decoration: none;
    border-radius: 50%;
  }
}

*[data-with-copy-text-to-clipboard="true"]:hover span.copy-text-to-clipboard {
  visibility: visible;
}

*[data-with-copy-text-to-clipboard="true"] span.copy-text-to-clipboard {
  visibility: hidden;
}

span.copy-text-to-clipboard {
  a {
    text-decoration: none;
  }
}

.pagination {
  justify-content: center;
}

div.table_container {
  text-align: center;
  > table {
    margin: auto;
    text-align: left;
    width: auto;
  }
}

.fit { width: 100% }
.fit-1 { width: 1em }
.fit-2 { width: 2em }
.fit-3 { width: 3em }
.fit-4 { width: 4em }
.fit-5 { width: 5em }
.fit-6 { width: 6em }
.fit-7 { width: 7em }
.fit-8 { width: 8em }
.fit-9 { width: 9em }
.fit-10 { width: 10em }
.fit-20 { width: 20em }
.fit-30 { width: 30em }
.fit-40 { width: 40em }
.fit-50 { width: 50em }

.copy-text-to-clipboard-container {
  .copy-text-to-clipboard {
    visibility: hidden;
  }
}

.copy-text-to-clipboard-container:hover {
  .copy-text-to-clipboard {
    visibility: visible;
  }
}

.form-inline {
  label:has(input), label:has(select) {
    margin-right: 1rem;
    white-space: nowrap;
  }
  select + label {
    margin-left: 1rem;
  }
  input:not([type='checkbox']):not([type='radio']) + label {
    margin-left: 1rem;
  }
  :is(input,select) + input[type='checkbox'] {
    margin-left: 1rem;
  }
  .form-select {
    display: inline-block;
    width: auto;
  }
  input:not([type='submit']):not([type='checkbox']):not([type='radio']), textarea, optgroup {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  }
  input[type='submit'] {
    margin-left: 1em;
  }
}


.btn-xs {
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .2rem;
}

.collection_radio_buttons {
  margin-left: 5px;
  margin-right: 10px;
}