.login {
  height: 100vh;
}
.login--container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.login--form-container {
  margin-top: 1rem;
  width: 500PX;
}

.form-control:focus {
  border-color: red;
  box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.25);
}

.form-check-input:checked {
  background-color: rgba(255, 0, 0, 0.45);
  border-color: rgb(255, 0, 0);
}

.btn-danger {
  background-color: #e90029;
}

.paginate_button.page-item.active .page-link {
  background-color: #e90029;
  border-color: #e90029;
}

.page-link {
  color: #e90029;
}
.page-link:hover {
  color: #e90029;
}

.sidebar .dropdown-menu {
  width: 100%;
}

.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active {
  background-color: rgba(255, 0, 0, 0.1);
  color: maroon;
}

.header-border {
  border-bottom: 9px solid;
  border-color: #e90029;
}

.user--edit-icon {
  color: #e90029;
}
.user--edit-icon:hover {
  color: #830017;
}

.sidebar {
  background-color: #f8f9fa;
  overflow: hidden;
  height: 100%;
  min-width: 480px;
}

.workflow-container {
  height: 100%;
  overflow: hidden;
}

.images-loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.images-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.image-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.search-container {
  position: relative;
}

.search-input {
  height: 50px;
  border-radius: 30px;
  padding-left: 35px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888;
}

.image-search-typeahead {
  position: relative;
}

.image-search-input-wrap {
  position: relative;
}

.image-search-input {
  padding-right: 2.75rem;
}

.image-search-input-icon {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.image-search-suggestions {
  position: absolute;
  z-index: 1030;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 420px;
  overflow-y: auto;
  padding: 0.25rem 0;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

.image-search-suggestion {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #1f2933;
  text-align: left;
  white-space: normal;
}
.image-search-suggestion:hover, .image-search-suggestion:focus, .image-search-suggestion.active {
  color: #1f2933;
  background-color: rgba(233, 0, 41, 0.08);
}

.image-search-thumbnail {
  display: flex;
  width: 48px;
  height: 40px;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
}

.image-search-thumbnail-container {
  display: flex;
  min-width: 48px !important;
  min-height: 40px !important;
}

.image-search-thumbnail-img {
  width: 48px;
  height: 40px;
  object-fit: cover;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.thumbnail-skeleton.image-search-thumbnail-skeleton {
  width: 48px;
  height: 40px;
}

.image-search-suggestion-copy {
  min-width: 0;
  flex: 1;
}

.image-search-suggestion-title {
  color: #111827;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.image-search-suggestion-type {
  margin-top: 0.125rem;
  color: #6c757d;
  font-size: 0.78rem;
  line-height: 1.2;
}

.image-search-hierarchy-separator {
  margin: 0 0.35rem;
  color: #6c757d;
  font-weight: 500;
}

.image-search-highlight {
  color: #e90029;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.image-search-status {
  padding: 0.75rem 1rem;
  color: #6c757d;
  font-size: 0.9rem;
}

.main-menu-container {
  flex: 1;
  overflow-y: auto;
  min-width: 430px;
  min-height: 0;
}

.main-wf-container {
  max-width: calc(100vw - 470px);
  overflow-y: auto;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(255, 0, 0, 0.1);
  /*border-color: red;*/
  box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.15);
  color: maroon;
}

.dir-preview {
  border: 1px solid lightgray;
  padding: 1rem;
  border-radius: 5px;
}
.dir-preview.clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dir-preview.clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sub-album preview card - responsive layout */
.sub-album-preview-card {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: center;
  height: 100%;
}
.sub-album-preview-card .sub-album-info {
  min-width: 0;
}
.sub-album-preview-card .sub-album-info p {
  margin-bottom: 0;
}
.sub-album-preview-card .sub-album-thumb {
  max-width: 106px;
  max-height: 120px;
  object-fit: contain;
}
.sub-album-preview-card .sub-album-preview-skeleton {
  flex-shrink: 0;
}

/* Small screens: stack vertically (image top, text bottom) */
@media (max-width: 1400px) {
  .sub-album-preview-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sub-album-preview-card .sub-album-thumb {
    max-width: 100%;
    max-height: 140px;
  }
  .sub-album-preview-card .sub-album-preview-skeleton {
    width: 100%;
    height: 100px;
  }
}
.sub-album-thumb {
  max-height: 120px;
}

.menu-image:hover {
  cursor: pointer;
  background-color: rgba(255, 0, 0, 0.1);
  color: maroon;
  border-radius: 3px;
}
.menu-image__selected {
  background-color: rgba(255, 0, 0, 0.1);
  color: maroon;
  border-radius: 3px;
}
.menu-image--name {
  word-break: break-all;
}
.menu-image--thumb {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.validation-message {
  color: red;
}

.sub-album--title {
  font-size: 16px;
  font-weight: 500;
}

.sub-album-form-container {
  border: 1px solid lightgray;
  border-radius: 5px;
}

.upload-wrapper {
  position: relative;
  display: inline-block;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.upload-box {
  width: 400px;
  height: 250px;
  border: 2px dashed #aaa;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  z-index: 1;
}

.upload-box:hover {
  border-color: #007bff;
  background: linear-gradient(135deg, #eef5ff, #dce9ff);
  color: #007bff;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.preview-container {
  margin-top: 2rem;
}

.preview-container h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1/1;
  background-color: #f0f0f0;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.preview-item:hover .preview-image {
  transform: scale(1.05);
}

.remove-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s;
  pointer-events: auto;
}

.remove-button:hover {
  background-color: rgba(255, 0, 0, 0.9);
}

.text-wrap-custom {
  word-break: break-all;
}

.sub-album-details--image-container {
  position: relative;
  max-width: 165px;
}
.sub-album-details--image-container .clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sub-album-details--image-container .clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.sub-album-details--image-container.selected .img-thumbnail {
  border-color: #dc3545;
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.image-select-checkbox {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
}
.image-select-checkbox .form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.image-select-checkbox .form-check-input:checked {
  background-color: #dc3545;
  border-color: #dc3545;
}
.image-select-checkbox .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.image-size-select {
  width: auto;
  min-width: 120px;
}

.category-select,
.image-size-select {
  border-color: #dc3545;
}
.category-select:focus,
.image-size-select:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.category-select option,
.image-size-select option {
  color: white;
  background-color: #dc3545;
}

.image-details-container {
  position: relative;
  max-width: 100%;
  max-height: 60vh;
  overflow: hidden;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: max-height 0.3s ease;
}
.image-details-container--small {
  max-height: 150px;
}
.image-details-container--medium {
  max-height: 300px;
}
.image-details-container--large {
  max-height: 450px;
}

.image-details-fullsize {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
  transition: max-height 0.3s ease, max-width 0.3s ease;
}
.image-details-fullsize--small {
  max-height: 150px;
  max-width: 200px;
}
.image-details-fullsize--medium {
  max-height: 300px;
  max-width: 400px;
}
.image-details-fullsize--large {
  max-height: 450px;
  max-width: 600px;
}

.image-details-container-fallback {
  margin-bottom: 1rem;
}

.image-loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  width: 100%;
}

.image-hidden {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

/* Lazy Thumbnail Loading - Skeleton Animation */
.lazy-thumbnail-container {
  display: inline-block;
  min-width: 106px;
  min-height: 80px;
}

.thumbnail-skeleton {
  width: 150px;
  height: 150px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border: 1px solid #dee2e6;
  border-radius: 4px;
}

.thumbnail-skeleton.sub-album-preview-skeleton {
  width: 106px;
  height: 80px;
  max-height: 120px;
}

.thumbnail-skeleton.menu-thumbnail-skeleton {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

/* Menu thumbnail container sizing */
.menu-image .lazy-thumbnail-container {
  display: flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  flex-shrink: 0;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Ensure skeleton displays correctly in image containers */
.sub-album-details--image-container .lazy-thumbnail-container {
  min-width: 150px;
  min-height: 150px;
}

.sub-album-details--image-container .thumbnail-skeleton {
  width: 150px;
  height: 150px;
}

/* Sub-album preview skeleton sizing */
.dir-preview .lazy-thumbnail-container {
  min-width: 106px;
  min-height: 80px;
}

.dir-preview .thumbnail-skeleton {
  width: 106px;
  height: 80px;
  max-height: 120px;
}

/* Responsive skeleton for sub-album preview cards on small screens */
@media (max-width: 767.98px) {
  .sub-album-preview-card .lazy-thumbnail-container {
    min-width: 100%;
    min-height: 100px;
  }
}
.changed-flag {
  height: 15px;
  width: 15px;
  border-radius: 10px;
  display: block;
  background: #e90029;
  cursor: pointer;
  overflow: hidden;
  color: transparent;
  transition: all 0.2s ease;
}
.changed-flag[data-content] {
  position: absolute;
  top: 12px;
  right: 10px;
}
.changed-flag[data-content]:hover {
  top: 5px;
  right: 20px;
  height: auto;
  width: auto;
  max-width: 60%;
  padding: 0 10px 0px 24px;
  border-radius: 10px;
  color: white;
}
.changed-flag i.bi {
  margin-left: -16px;
}
.changed-flag span.diff.insert {
  background: lightgreen;
}
.changed-flag span.diff.delete {
  background: pink;
  text-decoration: line-through;
}

.dealDatasheets, .dealTerms, .dealImages, .dealMatches {
  position: relative;
}
.dealDatasheets .changed-flag, .dealTerms .changed-flag, .dealImages .changed-flag, .dealMatches .changed-flag {
  position: absolute;
  z-index: 100;
  top: 28px;
}
.dealDatasheets .changed-flag:hover, .dealTerms .changed-flag:hover, .dealImages .changed-flag:hover, .dealMatches .changed-flag:hover {
  height: 24px;
  width: auto;
  padding: 0 10px;
  border-radius: 10px;
  color: white;
}

/*# sourceMappingURL=main.css.map */
