/* 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;
}

/* Custom styles for Star Admin integration */

/* Logo Sizing - Holistic fix for all logo instances */
.navbar-brand img,
.brand-logo img,
.brand-logo-mini img {
  height: 32px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Smaller size for mini logo */
.brand-logo-mini img {
  height: 28px;
}

/* Auth pages and other standalone logo usage */
.brand-logo.text-center img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Inline logo with text (API docs, footer, etc) */
.navbar-brand.d-flex img,
.d-flex img[alt="logo"] {
  height: 24px;
  width: auto;
  object-fit: contain;
}

/* Footer and smaller contexts */
img[alt="logo"][height="30"] {
  height: 30px !important;
  width: auto;
  object-fit: contain;
}

/* Dashed border card for "Create New" cards */
.border-dashed {
  border-style: dashed !important;
  border-width: 2px !important;
  border-color: #ddd !important;
}

/* Feature icon styling */
.feature-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Dashboard improvements */
.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

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

.quick-action-btn i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

/* Status indicator */
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.status-active {
  background-color: #00d25b;
}

.status-warning {
  background-color: #ffab00;
}

.status-danger {
  background-color: #fc424a;
}

/* Separator dashed */
.separator-dashed {
  border-top: 1px dashed #e9ecef;
  margin: 1rem 0;
}

/* Card hover effect */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Rounded profile image with border */
.profile-img-container {
  position: relative;
  width: 40px;
  height: 40px;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

/* Badge positioning */
.badge-top-right {
  position: absolute;
  top: -5px;
  right: -5px;
}

/* Custom styles for landing page sections */
.landing-page .hero-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Make footer appear only on landing pages */
.dashboard footer.footer.mt-auto {
  display: none;
}

/* Add spacing after footer */
.footer.mt-auto {
  margin-top: 3rem;
}

/* Remove extra whitespace from welcome-text on small screens */
@media (max-width: 992px) {
  .welcome-text {
    font-size: 1.5rem;
  }
  .welcome-sub-text {
    font-size: 1rem;
  }
}

/* Timeline styling for user activity */
.timeline {
  position: relative;
  padding-left: 1rem;
  margin-left: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background-color: #e9ecef;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
}

.timeline-item-marker-text {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.timeline-item-marker-indicator {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  position: absolute;
  left: -7px;
}

.timeline-item-content {
  flex: 1;
  margin-left: 1rem;
}

/* Input group styles for Star Admin */
.input-group-prepend {
  display: flex;
}

.input-group-prepend .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
  padding: 0.75rem;
}
