/* These styles are generated from project.scss. */

/** Logo */
.login-logo img {
  max-width: 130px;
}


/** Alerts */
.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}


/** Lists */
.list-group-unbordered>.list-group-item {
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
}


/** Tables */
.table > thead th.orderable a {
  display: inline-block;
  margin-right: 1em;
  white-space: nowrap;
}
.table > thead th.orderable a:after {
  content: "↑↓";
  display: inline-block;
  position: relative;
  right: -.5em;
  cursor: pointer;
  font-family: Poppins, Helvetica, sans-serif;
  opacity: .3;
}
.table > thead th.orderable a:hover:after {
  opacity: 1;
}
.table > thead th.orderable.asc a:after {
  content: "↑";
  opacity: 1;
}
.table > thead th.orderable.desc a:after {
  content: "↓";
  opacity: 1;
}

.table th.image {
  max-width: 100px;
}
.table .image-column {
  max-width: 100px;
  max-height: 50px;
  width: auto;
}
.table .table-col-actions {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}

.table th.table-col-type-decimal a,
.table td.table-col-type-decimal span,
.table th.table-col-type-integer a,
.table td.table-col-type-integer span {
  display: inline-block;
  min-width: 5em;
  width: 12em;
  text-align: right;
}

.table .table-empty-text {
  padding: 2em 0;
  color: #888;
  font-style: italic;
  text-align: center;
}


/** Forms */
.form-control-plaintext {
  box-shadow: none;
}
.form-control-plaintext:disabled {
  background-color: transparent;
}


/** Controls */
table input[type="number"] {
  text-align: right;
}
button:disabled {
  cursor: not-allowed;
  text-decoration: line-through;
}


/** Budget */
.budget-monthly-formset th:not([for$=month_date]) {
  text-align: right;
}
.budget-monthly-formset td[id$=_spend] {
  text-align: right;
}


/** Events */
.equipment-formset-wrapper th:not([for$=-name]),
.products-formset-wrapper th:not([for$=product_name]) {
  text-align: right;
}
.services-formset-wrapper table input[type="number"] {
  text-align: left;
}

/** Events - Gallery */
.dropzone {
  border: 2px dashed #dee2e6;
  border-radius: .375rem;
  background: #f8f9fa;
  min-height: 150px;
}

.dropzone:hover {
  border-color: #0d6efd;
  background: #e7f1ff;
}

.dropzone .dz-message {
  margin: 2em 0;
}

.gallery-item {
  position: relative;
}
.gallery-item .delete-btn {
  position: absolute;
  top: .5rem;
  right: .5rem;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-item:hover .delete-btn {
  opacity: 1;
}

/* Dropzone preview styling */
.dropzone .dz-preview {
  margin: 10px;
}
.dropzone .dz-preview .dz-image {
  border-radius: .375rem;
}
.dropzone .dz-preview .dz-details {
  z-index: 10001;
}
.dropzone .dz-preview .dz-remove {
  margin-top: 5px;
  font-size: .875rem;
}

.dropzone .dz-preview.dz-image-preview {
  background: transparent;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}


/** Reports */
.reports-table-wrapper .card-title {
  float: none;
}
.reports-table-wrapper .form-table-filter .select2-container--bootstrap-5 .select2-selection {
  padding: 5px;
}
.reports-table-wrapper .form-table-filter .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  padding: 2px 5px;
}

.reports-table-wrapper .expandable-row {
  cursor: pointer;
}
.reports-table-wrapper .expandable-row:not(.collapsed) td {
  background: #f6f6f6;
}
.reports-table-wrapper .report-extended-info {
  background: #f6f6f6;
}
.reports-table-wrapper .expandable-row .expand-icon {
  display: inline-block;
  transition: transform .2s;
}
.reports-table-wrapper .expandable-row.collapsed .expand-icon {
  transform: rotate(90deg);
}
.reports-table-wrapper .collapse-row {
  background: none !important;
}
.reports-table-wrapper .collapse-row:hover {
  background: none !important;
}
.reports-table-wrapper .table-col-expand {
  width: 1%;
  padding-right: 0;
}
