.btn {
  height: var(--height-input-default);
}

.btn-sm {
  height: var(--sm-height-input-default);
}

.btn-none {
  background-color: transparent;
  border: none;
}

.btn-icon {
  background-color: transparent;
  font-weight: 500;
  font-size: 18px;
  color: white;
  border: none;
}

.btn-icon:hover,
.btn-icon:active,
.btn-icon:disabled {
  border: none;
}

.btn-icon.circle {
  border-radius: 50%;
  width: var(--height-input-default);
  height: var(--height-input-default);
  min-width: var(--height-input-default);
  min-height: var(--height-input-default);
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon.circle.sm {
  width: var(--sm-height-input-default);
  height: var(--sm-height-input-default);
  min-width: var(--sm-height-input-default);
  min-height: var(--sm-height-input-default);
}

.btn-icon.circle:hover {
  background-color: rgba(60, 64, 67, 0.078);
}

.btn-icon.circle:focus {
  background-color: rgba(60, 64, 67, 0.102);
  box-shadow: none;
}

.btn-icon.circle:focus-visible {
  color: white;
}

.btn-icon.circle.show {
  color: white;
}

.btn-default {
  font-size: 18px;
  border-radius: var(--border-radius);
  font-weight: 400;
  /* padding: 0px 50px; */
  width: 100%;
}

.btn-default:active, .btn-default:focus, .btn-default:focus-visible {
  background-color: var(--primary-color) !important;
  filter: brightness(90%);
  box-shadow: none !important;
  border-color: var(--primary-color) !important;
}

.btn-transparent {
  background-color: transparent !important;
}

.icon-left,
.icon-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.row .input-field.icon-right {
  display: block;
}

.icon-left svg {
  margin-right: 5px;
}

.icon-right svg {
  margin-left: 5px;
}

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

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: var(--primary-color) !important;
  filter: brightness(90%);
  box-shadow: none !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* .btn-secondary svg {
    color: var(--secondary-color);
}

.btn-secondary:active svg {
    color: white !important;
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
} */

.btn-outline {
  border: 1px solid;
  background: transparent;
  border-color: inherit !important;
}

.btn-outline.light {
  color: white;
}

.btn-outline.dark {
  color: black;
}

.btn-outline.light:hover {
  border-color: white;
}

.btn-outline.dark:hover {
  border-color: black;
}

.btn-outline.light:active {
  color: white;
  border-color: white;
}

.btn-outline.dark:active {
  color: black;
  border-color: black;
}

.btn-outline.primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline.success {
  color: var(--success-color) !important;
  border-color: var(--success-color) !important;
}

.btn-outline.success:active {
  color: white !important;
  background-color: var(--success-color) !important;
}

.btn-outline.success:hover {
  color: white !important;
  background-color: var(--success-color) !important;
}

.btn-attachment {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--md-border-radius);
}

.btn-attachment .filename {
  text-align: center;
  max-width: 100%;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: nowrap;
}

.wrapper-btn-attachment {
  position: relative;
}

.wrapper-btn-attachment input[type="checkbox"]:checked~.checked-icon {
  display: block;
  color: #6add33;
}

.wrapper-btn-attachment .checked-icon {
  position: absolute;
  right: 5%;
  top: 4%;
  z-index: 1;
  display: none;
  filter: drop-shadow(2px 1px 1px rgb(0 0 0 / 0.4));
}

.wrapper-btn-attachment input[type="checkbox"]:checked~.btn-attachment {
  border: 2px solid #6add33;
}

.wrapper-btn-attachment input[type="checkbox"]~.btn-attachment .square-file {
  cursor: pointer;
}

.wrapper-btn-attachment.draggable-item.draggable-mirror .filename {
  width: 200px;
}

/* wrapper-btn-attachment sortable-chosen sortable-ghost */

/* .wrapper-btn-attachment.sortable-preview {
  background-color: red;
  overflow: hidden;
}

.sortable-preview {
  background-color: blue;
  overflow: hidden;
}
.sortable-preview .btn-attachment {
  background-color: green;
  overflow: hidden;
}

.sortable-preview canva {
  max-height: 120px;
} */

.btn-attachment .square-file {
  border-radius: 13px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;

  width: 70%;
  height: 120px;
  position: relative;

  padding: 0;
  overflow: hidden;
  border: 1px solid #ccc;
}

.btn-attachment .square-file.view-file {
  width: 100%;
  height: 170px;
}

.btn-attachment .square-file .wrapper-filetype {
  position: absolute;
  /* bottom: -30px; */
  bottom: 0;
  background-color: rgba(103, 103, 103, .5);
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  color: white;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* line-height: 100%; */
  width: 100%;
  text-shadow: 2px 2px 3px var(--secondary-color);
  white-space: nowrap;
}

/* .btn-attachment .square-file:hover .wrapper-filetype {
  bottom: 0;
  transition: .2s ease-in-out all;
} */

.btn-attachment .square-file canvas {
  width: 100%;
  position: absolute;
  top: 0;
}

.btn-attachment .actions {
  font-size: .9rem;
  width: 100%;
  flex-wrap: wrap;
}

.btn-attachment .actions span {
  white-space: nowrap;
}

.btn-attachment .actions span label {
  cursor: pointer;
}

.btn-attachment .actions span label:hover {
  text-decoration: underline;
}

.btn-attachment .wrapper-more-options {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.btn-attachment .wrapper-more-options .btn-dropdown {
  pointer-events: none;
  visibility: hidden;
}

.btn-attachment:hover .wrapper-more-options .btn-dropdown {
  pointer-events: inherit;
  visibility: visible;
}

/* Ajusta icone para ficar igual ao protótipo */
.svg-anexo polyline {
  display: none;
}

.btn-group-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px !important;
}

.btn-group.btn-group-toggle label.btn:first-child {
  border-radius: var(--border-radius) 0px 0px var(--border-radius);
}

.btn-group.btn-group-toggle label.btn:last-child {
  border-radius: 0px var(--border-radius) var(--border-radius) 0px;
}

/* .btn-group-button {
    border-radius: 0 !important;
    border: transparent;
    border: 1px solid var(--secondary-color) !important;
}
.btn-group-button.yes.active {
    color: white;
    background-color: var(--green) !important;
}
.btn-group-button.not.active {
    color: white;
    background-color: var(--cancel-color) !important;
} */

.btn-group-button {
  border-radius: 0 !important;
  border: 1px solid transparent;
  border: 1px solid transparent !important;
}

.btn-group-button:active {
  border: 1px solid transparent !important;
}

.btn-group.btn-group-toggle input[type="radio"]:checked+.btn-group-button.yes {
  color: var(--green) !important;
  border: none;
  border-bottom: 1px solid var(--green) !important;
}

.btn-group.btn-group-toggle input[type="radio"]:checked+.btn-group-button.not {
  color: var(--cancel-color) !important;
  border: none;
  border-bottom: 1px solid var(--cancel-color) !important;
}

.wrapper-options-file .option-file:not(:last-child) {
  margin-right: 5px;
}

.option-file {
  white-space: nowrap;
}

.option-file label {
  cursor: pointer !important;
}

.option-file label:hover {
  text-decoration: underline;
}

.btn-back {
  position: absolute;
  left: -44px;
}

.btn-outline-selection {
  position: relative;
  border-radius: var(--md-border-radius);
}

.btn-outline-selection .checked-icon {
  display: none;
}

.btn-outline-selection.active {
  border: 2px solid #6add33;
}

.btn-outline-selection.active .checked-icon {
  position: absolute;
  right: 3%;
  top: 4%;
  z-index: 1;
  display: block;
  filter: drop-shadow(2px 1px 1px rgb(0 0 0 / 0.4));
  color: #6add33;
}