.no-border {
    border: 0 !important
}

#overlay {
    background: rgba(0, 0, 0, 0.3);
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1050;
}

.form-select {
    padding: 0.3125rem 0.5rem 0.3125rem 0.5rem;
}

.disabled-link {
  pointer-events: none;
  cursor: not-allowed;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: white;
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 13px;
  height: 13px;
  background-color: #2c7be5;
  border-radius: 50%;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
  position: absolute;
  left: 50%;
}

#preloader div:nth-child(1) {
  left: calc(50% - 22px);
  animation: animate-preloader-1 0.6s infinite;
}

#preloader div:nth-child(2) {
  left: calc(50% - 22px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(3) {
  left: calc(50% + 8px);
  animation: animate-preloader-2 0.6s infinite;
}

#preloader div:nth-child(4) {
  left: calc(50% + 30px);
  animation: animate-preloader-3 0.6s infinite;
}

@keyframes animate-preloader-1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes animate-preloader-3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes animate-preloader-2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

/* Animation for in-progress steps */
@keyframes pulse-warning {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {  
  .step-indicator .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }
  
  .step-action .btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Table styling improvements */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.05);
}

/* Assessment name styling */
.table td:first-child h6 {
  color: #495057;
  font-weight: 600;
  font-size: 1rem;
}

/* Workflow Progress Overview */
.workflow-progress-overview {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
}

.progress-step {
  position: relative;
  min-width: 80px;
}

.progress-step.active {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.10) 0%, rgba(0, 123, 255, 0.05) 100%);
  border: 1px solid #5aa7f9;
  border-radius: 10px;
  padding: 1rem;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.progress-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, #dee2e6 0%, #dee2e6 100%);
  margin: 0 0.5rem;
  align-self: center;
  margin-top: -20px;
  position: relative;
}

.progress-connector::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #dee2e6;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* Arrow connectors for completed steps */
.progress-connector.connector-completed {
  background: linear-gradient(to right, #28a745 0%, #28a745 100%);
}

.progress-connector.connector-completed::after {
  border-left-color: #28a745;
}

/* Arrow connectors for in-progress steps */
.progress-connector.connector-in-progress {
  background: linear-gradient(to right, #ffc107 0%, #ffc107 100%);
}

.progress-connector.connector-in-progress::after {
  border-left-color: #ffc107;
}

/* Arrow connectors for ready steps */
.progress-connector.connector-ready {
  background: linear-gradient(to right, #17a2b8 0%, #17a2b8 100%);
}

.progress-connector.connector-ready::after {
  border-left-color: #17a2b8;
}

/* Arrow connectors for pending steps */
.progress-connector.connector-pending::after {
  border-left-color: #6c757d;
}

@keyframes pulse-icon {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
  }
}

/* Responsive progress overview */
@media (max-width: 768px) {
  .progress-step {
    min-width: 60px;
  }
  
  .step-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  .progress-connector {
    margin: 0 0.25rem;
    margin-top: -15px;
  }
  
  .progress-connector::after {
    border-left: 4px solid #dee2e6;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    right: -1px;
  }
  
  /* Update arrow colors for mobile */
  .progress-connector.connector-completed::after {
    border-left-color: #28a745;
  }
  
  .progress-connector.connector-in-progress::after {
    border-left-color: #ffc107;
  }
  
  .progress-connector.connector-ready::after {
    border-left-color: #17a2b8;
  }
  
  .progress-connector.connector-pending::after {
    border-left-color: #6c757d;
  }
}

/* Tab Styles */
.navigationTabs {
  background-color: #fff;
  padding: 0.5rem 1rem;
}

.navigationTabs .nav-link {
  color: #5e6e82;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navigationTabs .nav-link:hover {
  color: #2c7be5;
  background-color: transparent;
  border-bottom-color: #2c7be5;
}

.navigationTabs .nav-link.active {
  color: #2c7be5;
  background-color: transparent;
  border-bottom: 2px solid #2c7be5;
}

.tab-content {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
