/* Tracking Page Stylesheet (Theme Red/Warning) */

.premium-tracking-card {
  border-top: 5px solid #e31e42 !important;
}

.premium-tracking-input:focus {
  border-color: #e31e42 !important;
  background-color: #ffffff !important;
}

.premium-tracking-btn {
  background-color: #e31e42 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(227, 30, 66, 0.2);
}
.premium-tracking-btn:hover {
  background-color: #c91a3a !important;
  color: #ffffff !important;
}

.premium-clear-btn:hover {
  background-color: #e2e8f0 !important;
  color: #1e293b !important;
}

/* Card Header */
.contact-tracking-details-card .card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-tracking-details-card .card-header {
  background-color: #e31e42;
  color: #ffffff;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

.contact-tracking-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.contact-track-details-flex p {
  font-size: 1rem;
  color: #1e293b;
}

/* Progress bar container */
.contact-progress-bar-container {
  position: relative;
  margin: 2.5rem 0;
}

.contact-progress {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  position: absolute;
  top: 15px;
  left: 18px;
  right: 18px;
  z-index: 1;
}

.contact-progress-bar {
  height: 100%;
  background-color: #10b981; /* Professional Green */
  border-radius: 3px;
  transition: width 0.4s ease;
}

.contact-progress-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.contact-step {
  text-align: center;
  width: 20%;
}

.contact-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid #e2e8f0;
  color: #64748b;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: all 0.3s ease;
}

.contact-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.contact-step-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Completed and active states */
.contact-step.completed .contact-step-icon {
  background-color: #10b981;
  border-color:#10b981;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(25, 135, 84, 0.3);
}

.contact-step.completed .contact-step-label {
  color: #10b981;
}

.contact-step.active .contact-step-icon {
  border-color: #10b981; /* Theme Warning highlight */
  animation: pulse 1.5s infinite;
}

.contact-step.active .contact-step-label {
  color: #1e293b;
  font-weight: 700;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 180, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 180, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 180, 0, 0);
  }
}

/* Table styling */
.contact-tracking-table thead {
  background-color: #f8fafc;
}
.contact-tracking-table th {
  color: #475569;
  font-weight: 600;
}

.contact-call-btn {
  color: #e31e42;
  font-weight: 600;
  text-decoration: none;
}
.contact-call-btn:hover {
  text-decoration: underline;
}
