/* Demo Credentials Box Styling - Only shown in non-production environments */

/* User Login Demo Box - Ultra compact horizontal layout */
.demo-credentials-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.demo-credentials-body {
  padding: 12px 14px; /* More compact padding */
  text-align: center;
  color: white !important;
}

.demo-credentials-icon {
  display: none; /* Hide icon to save space */
}

.demo-credentials-title {
  color: white !important;
  font-weight: 600 !important;
  margin-bottom: 0; /* Remove bottom margin */
  text-transform: none !important;
  font-size: 0.85rem; /* Smaller text */
  display: inline-block;
  margin-right: 8px;
}

.demo-credentials-subtitle {
  display: none; /* Hide subtitle to save space */
}

.demo-credentials-display {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px;
  padding: 6px 10px; /* Very compact padding */
  margin: 0; /* No margins */
  backdrop-filter: blur(10px);
  display: inline-flex; /* Horizontal layout */
  align-items: center;
  gap: 12px; /* Space between fields */
}

.demo-credentials-field {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.demo-credentials-field:last-child {
  margin-bottom: 0;
}

.demo-credentials-label {
  opacity: 0.8;
  display: inline;
  color: white !important;
  font-size: 0.75rem;
}

.demo-credentials-value {
  font-size: 0.8rem;
  color: white !important;
  font-weight: 600;
}

.demo-credentials-btn {
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 6px 16px !important; /* Compact button */
  font-size: 0.85rem !important;
  margin-top: 8px;
}

/* Admin Login Demo Box - Ultra compact horizontal layout */
.admin-demo-credentials-box {
  background: var(--login-card-bg) !important;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  margin-top: 0.75rem;
  box-shadow: var(--login-shadow) !important;
  border: 1px solid var(--login-border) !important;
}

.admin-demo-credentials-body {
  padding: 12px 14px; /* More compact padding */
  text-align: center;
}

.admin-demo-credentials-icon {
  display: none; /* Hide icon to save space */
}

.admin-demo-credentials-title {
  color: var(--login-text-primary) !important;
  font-weight: 600;
  margin-bottom: 0; /* Remove bottom margin */
  text-transform: none !important;
  font-size: 0.85rem; /* Smaller text */
  display: inline-block;
  margin-right: 8px;
}

.admin-demo-credentials-subtitle {
  display: none; /* Hide subtitle to save space */
}

.admin-demo-credentials-display {
  background: var(--login-input-bg) !important;
  border-radius: 6px;
  padding: 6px 10px; /* Very compact padding */
  margin: 0; /* No margins */
  border: 1px solid var(--login-input-border) !important;
  display: inline-flex; /* Horizontal layout */
  align-items: center;
  gap: 12px; /* Space between fields */
}

.admin-demo-credentials-field {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.admin-demo-credentials-field:last-child {
  margin-bottom: 0;
}

.admin-demo-credentials-label {
  color: var(--login-text-secondary) !important;
  display: inline;
  font-size: 0.75rem;
}

.admin-demo-credentials-value {
  font-size: 0.8rem;
  color: var(--login-text-primary) !important;
  font-weight: 600;
}

.admin-demo-credentials-btn {
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
  padding: 6px 16px !important; /* Compact button */
  font-size: 0.85rem !important;
  margin-top: 8px;
}

/* Toast notification animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.demo-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-weight: 500;
  animation: slideIn 0.3s ease;
}

