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

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

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

/* Client Management Styles */

/* Client card hover effects */
.client-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.client-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Step indicator animations */
.step-indicator .nav-link {
  transition: all 0.3s ease;
}

.step-indicator .nav-link.completed .step-number {
  animation: checkmark 0.3s ease-in-out;
}

@keyframes checkmark {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Timeline styles */
.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: #e9ecef;
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -16px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.timeline-content {
  margin-left: 10px;
}

/* Small timeline for sidebars */
.timeline-small {
  position: relative;
  padding-left: 15px;
}

.timeline-small::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  height: calc(100% - 10px);
  width: 2px;
  background-color: #e9ecef;
}

.timeline-small .timeline-item {
  position: relative;
  padding-bottom: 10px;
}

.timeline-small .timeline-marker {
  position: absolute;
  left: -12px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Card enhancements */
.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.125);
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Alert small variant */
.alert-sm {
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
}

.alert-sm .alert-heading {
  font-size: var(--text-base);
}

/* Button group styling */
.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.btn-group .btn:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Form enhancements */
.form-control:focus,
.form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Badge styling */
.badge {
  font-size: var(--text-xs);
}

/* Loading states */
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* Search input enhancements */
.input-group .form-control {
  border-right: none;
}

.input-group .btn {
  border-left: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-card {
    margin-bottom: 1rem;
  }

  .step-indicator .nav-link .step-title {
    display: none;
  }

  .step-indicator .nav-link .step-number {
    margin-right: 0;
  }
}

/* Custom scrollbar for activity logs */
.timeline {
  max-height: 400px;
  overflow-y: auto;
}

.timeline::-webkit-scrollbar {
  width: 6px;
}

.timeline::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* File upload preview */
#logoPreview {
  margin-top: 1rem;
}

#logoPreview img {
  border: 1px solid #ddd;
  border-radius: 0.375rem;
  padding: 0.5rem;
  background-color: #fff;
}

/* Success animation */
@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.alert-success.show {
  animation: slideInDown 0.3s ease-out;
}

/* Client status badges */
.badge.bg-success {
  background-color: #198754 !important;
}

.badge.bg-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.badge.bg-secondary {
  background-color: #6c757d !important;
}

/* Empty state styling */
.empty-state {
  padding: 3rem 1rem;
  text-align: center;
}

.empty-state i {
  font-size: var(--text-4xl);
  color: #dee2e6;
  margin-bottom: 1rem;
}

.empty-state h3 {
  color: #6c757d;
  margin-bottom: 1rem;
}

.empty-state p {
  color: #adb5bd;
  margin-bottom: 2rem;
}
