/* 
BASE COLOR: #6c757d
*/


* {
  font-family: sans-serif;
}

body {
  background: #fafafa;
  color: #333333;
  margin-top: 5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #444444;
}

.bg-steel {
  background-color: #6c757d;
}

.site-header .navbar-nav .nav-link {
  color: #d6e0e6;
}

.site-header .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.welcome-msg p {
  color: #565454;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  margin-bottom: 20px;
}

.bd-rd-3 {
  border-radius: 3px;
}

.bd-rd-6-per {
  border-radius: 6%;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

.modules_icon_container {
  text-align: center;
  margin-bottom: 20px;
}

.quick_links_container {
  text-align: center;
  background-color: #f5f5f5;
  border-radius: 5%;
}

.quick_links_container hr:last-of-type {
  display: none;
}

.modules_icon_container .material-icons {
  font-size: 48px;
  color: #6c757d;
}

.modules_icon_container .module_icon {
  display: inline-block;
  background-color: #eeeeee;
  border-radius: 10%;
  margin: 5px; 
  width: 90px; 
  height: 90px;
}

.modules_icon_container .module_icon a {
  font-weight: bold;
  color: #6c757d;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  cursor: pointer;
}

.overlayText {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: black;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.stopOverlay {
  position: absolute;
  bottom: 0;
  right: 0;
}

div.wrapWhiteSpace {
  white-space: nowrap;
}

table.wrapWhiteSpace {
  white-space: nowrap;
}

.normal-white-space {
  white-space: nowrap;
}

.collections-1-home {
  margin-bottom: 120px;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.03);
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 20px;
}

.features-container-home {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.features-container-home .feature {
  display: flex;
  gap: 40px;
  background-color: #eeeeee;
  border-radius: 50px;
  padding: 30px 20px;
}

.feature-icon {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.feature-description {
  text-align: left;
}

.img-1-home {
  max-width: 80%;
  border: 4px solid #6c757d;
  margin-top: 118px;
  margin-bottom: 124px;
  border-radius: 30px;
  padding-top: 15px;
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.02), 30px 0 70px 10px rgba(0, 0, 0, 0.04);
}

.tutorials-container {
  max-width: 85%;
  border-radius: 30px;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.07);
}

.footer-home {
  box-shadow: 0 20px 30px 15px rgba(0, 0, 0, 0.07);
}

/* ::start:: 
EXTEND Bootstrap MARGINS/PADDING */
.mt-6,
.my-6 {
  margin-top: 5rem !important;
}

.mr-6,
.mx-6 {
  margin-right: 5rem !important;
}

.mb-6,
.my-6 {
  margin-bottom: 5rem !important;
}

.ml-6,
.mx-6 {
  margin-left: 5rem !important;
}

.pt-6,
.py-6 {
  padding-top: 5rem !important;
}

.pr-6,
.px-6 {
  padding-right: 5rem !important;
}

.pb-6,
.py-6 {
  padding-bottom: 5rem !important;
}

.pl-6,
.px-6 {
  padding-left: 5rem !important;
}
/* ::end:: 
EXTEND Bootstrap MARGINS/PADDING */

/* ::start:: Remote Assistance */
.upload-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.85rem;
}

.upload-progress progress {
  flex: 1;
}

.upload-progress-name {
  color: #6c757d;
  min-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-progress-label {
  color: #6c757d;
  min-width: 38px;
  text-align: right;
}

.task-row {
  cursor: pointer;
}

/* status-badge uses Bootstrap .badge as base; these set per-status colours */
.status-badge { border-radius: 12px; }
.status-draft,
.status-cancelled   { background-color: #e2e3e5; color: #383d41; }
.status-in_progress { background-color: #bee5eb; color: #0c5460; }
.status-pending     { background-color: #ffeeba; color: #856404; }
.status-completed   { background-color: #c3e6cb; color: #155724; }
.status-deleted,
.status-failed      { background-color: #f5c6cb; color: #721c24; }

dialog {
  border: 1px solid #dddddd;
  border-radius: 6px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

/* lightbox sizes to the image; close button sits flush above it */
#image-lightbox {
  width: fit-content;
  max-width: 95vw;
  padding: 6px;
  overflow: hidden;
  touch-action: none;
}

#lightbox-scroll-container {
  overflow: auto;
  max-height: 85vh;
}

#lightbox-image {
  max-width: 100%;
  display: block;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.image-card {
  position: relative;
  width: 100px;
  height: 100px;
  border: 1px solid #dddddd;
  border-radius: 6px;
  overflow: hidden;
}

.image-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-align: center;
  padding: 4px;
}

.image-processing { background-color: #e2e3e5; color: #6c757d; }
.image-pending    { background-color: #ffeeba; color: #856404; }
.image-failed     { background-color: #f5c6cb; color: #721c24; }

.remove-image-btn {
  position: absolute;
  top: 3px;
  right: 3px;
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.remove-image-btn:hover {
  background: #dc3545;
}
.sticky-ra-images-panel {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
}

.ra-images-lightbox-wrapper {
  position: relative;
  min-height: calc(100vh - 10rem);
}

/* non-modal dialog scoped to the images column; no backdrop, right panel stays interactive */
.ra-images-lightbox-wrapper #image-lightbox {
  position: absolute;
  inset: 0;
  margin: 0;
  max-width: none;
  width: 100%;
  max-height: none;
  height: 100%;
  padding: 8px;
  display: none;
  flex-direction: column;
  touch-action: none;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.ra-images-lightbox-wrapper #image-lightbox[open] {
  display: flex;
}

.ra-images-lightbox-wrapper #lightbox-scroll-container {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: auto;
}

.ra-images-lightbox-wrapper #lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* ::end:: Remote Assistance */
