/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

/* === CRITICAL GLOBAL STYLES === */
/* These were lost during CSS refactor and need to be restored */

html {
  font-size: 14px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0e0f12;
  color: #e5e7eb;
  line-height: 1.6;
  padding-top: 64px;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 600;
}

small, .text-muted {
  color: #9ca3af !important;
}

/* Password Reset Loading States */
.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn .spinner-border-sm {
  width: 0.875rem;
  height: 0.875rem;
}

/* Enhanced loading spinner animation */
@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

/* Password Reset Form Enhancements */
.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .input-wrapper {
  position: relative;
}

.auth-form .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  z-index: 2;
}

.auth-form .modern-input {
  padding-left: 2.5rem;
  transition: all 0.2s ease;
}

.auth-form .modern-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}

/* Toast Animation Improvements */
.toast-container {
  pointer-events: none;
}

.toast-container .password-reset-toast {
  pointer-events: auto;
}

/* Button hover effects */
.btn-vault-modern:hover:not([disabled]) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-vault-modern:active:not([disabled]) {
  transform: translateY(0);
}

/* Security notice styling */
.auth-form .security-notice {
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .password-reset-toast {
    min-width: 300px !important;
    max-width: 90vw !important;
  }
  
  .toast-container {
    padding: 1rem !important;
  }
}

/* Focus states for accessibility */
.modern-input:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* === Main Container === */
main {
  background-color: #111317;
  border-radius: 8px;
  padding: 2rem;
}

/* === Global Styles === */
hr {
  border-color: #2c2f36;
}

/* Color utilities */
.text-purple {
  color: #7c3aed !important;
}

/* Custom badge color */
.badge.border-purple {
  border-color: #a78bfa;
  color: #a78bfa;
}

/* === Dashboard Styles === */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: minmax(160px, auto);
  grid-auto-flow: dense;
  gap: 1rem;
}

.span-3-rows {
  grid-row: span 3;
}

.org-info {
  font-size: 1rem;
}

.org-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ffffff;
}

/* Dashboard title consistency */
.dashboard-title {
  font-weight: 600;
  font-size: 1.5rem;
  color: #ffffff;
}

/* === PREMIUM FLOATING TOAST SYSTEM === */

.flash-overlay {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1055; /* above Bootstrap modals */
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 80%;
  width: fit-content;
  text-align: center;
  animation: fade-in-out 4s ease forwards;
  pointer-events: none;
}

@keyframes fade-in-out {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  10% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
}

/* === Animations === */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Enhanced Focus States */
.modern-input:focus,
.modern-checkbox:focus,
.auth-footer-link:focus,
.forgot-password-link:focus {
  outline: none;
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
  .auth-container {
    background: linear-gradient(135deg, 
      #0a0b0d 0%, 
      #1a1d23 25%, 
      #0f1117 75%, 
      #12151b 100%);
  }
  
  .auth-card {
    background: rgba(20, 23, 29, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .modern-input {
    background: rgba(13, 20, 35, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.25);
  }
}

/* === GLOBAL BADGE STYLES === */
/* Consistent badge styling with reduced border radius matching task tags */
.badge {
  border-radius: 4px !important;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Override Bootstrap's default badge background colors with border-only styling */
.badge.text-success {
  background-color: transparent !important;
  border: 1px solid #22c55e !important;
  color: #22c55e !important;
}

.badge.text-warning {
  background-color: transparent !important;
  border: 1px solid #f59e0b !important;
  color: #f59e0b !important;
}

.badge.text-secondary {
  background-color: transparent !important;
  border: 1px solid #6b7280 !important;
  color: #6b7280 !important;
}

.badge.text-light {
  background-color: transparent !important;
  border: 1px solid #9ca3af !important;
  color: #9ca3af !important;
}

/* Task Remove Button */
.task-tag .remove-tag {
  margin-left: 0.25rem;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.task-tag .remove-tag:hover {
  color: #dc2626;
  transform: scale(1.1);
}

/* === MODERN ROADMAP STEP CARD IMPROVEMENTS === */

/* Modern Glassmorphism Badge System */
.modern-step-badge {
  background: rgba(45, 55, 72, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  font-weight: 500 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  font-size: 0.75rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}

.modern-step-badge:hover {
  background: rgba(45, 55, 72, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.modern-step-badge i {
  font-size: 0.875rem !important;
  opacity: 0.9 !important;
}

/* File Count Badge Variants */
.modern-step-badge.files-complete {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #22c55e !important;
}

.modern-step-badge.files-partial {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #f59e0b !important;
}

.modern-step-badge.files-none {
  background: rgba(107, 114, 128, 0.15) !important;
  border-color: rgba(107, 114, 128, 0.3) !important;
  color: #6b7280 !important;
}

/* Priority Badge Variants */
.modern-step-badge.priority-critical {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #ef4444 !important;
}

.modern-step-badge.priority-high {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  color: #f59e0b !important;
}

.modern-step-badge.priority-medium {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  color: #3b82f6 !important;
}

.modern-step-badge.priority-low {
  background: rgba(107, 114, 128, 0.15) !important;
  border-color: rgba(107, 114, 128, 0.3) !important;
  color: #6b7280 !important;
}

/* Sequential/Parallel Badge Variants */
.modern-step-badge.execution-parallel {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #22c55e !important;
}

.modern-step-badge.execution-sequential {
  background: rgba(156, 163, 175, 0.15) !important;
  border-color: rgba(156, 163, 175, 0.3) !important;
  color: #9ca3af !important;
}

/* Enhanced Progress Bar System */
.modern-progress-container {
  position: relative;
  margin-bottom: 0.75rem;
}

.modern-progress-bar {
  background: rgba(45, 55, 72, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.75rem !important;
  height: 8px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  overflow: hidden !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.modern-progress-fill {
  height: 100% !important;
  border-radius: 0.75rem !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.modern-progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.modern-progress-fill.progress-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.modern-progress-fill.progress-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3) !important;
}

.modern-progress-text {
  color: #e5e7eb !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  margin-top: 0.375rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.375rem !important;
}

.modern-progress-text i {
  font-size: 0.875rem !important;
  opacity: 0.8 !important;
}

/* Enhanced Metadata Grid */
.modern-metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(30, 40, 50, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-metadata-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.75rem;
  background: rgba(45, 55, 72, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.modern-metadata-item:hover {
  background: rgba(45, 55, 72, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-metadata-label {
  color: #9ca3af;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.modern-metadata-value {
  color: #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.modern-metadata-value i {
  color: #60a5fa;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Modern Button Enhancements */
.step-actions .btn {
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  border-width: 1px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.step-actions .btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.step-actions .btn i {
  opacity: 0.9 !important;
}

.step-actions .btn:hover i {
  opacity: 1 !important;
}

/* Modern Deliverables Enhancement */
.modern-deliverables-container {
  margin-top: 1.5rem;
}

.modern-deliverable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(30, 40, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-deliverable-item:hover {
  background: rgba(30, 40, 50, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-deliverable-item.file-exists {
  border-left: 3px solid #22c55e !important;
  background: rgba(34, 197, 94, 0.08) !important;
}

.modern-deliverable-item.file-pending {
  border-left: 3px solid #6b7280 !important;
  background: rgba(107, 114, 128, 0.08) !important;
}

.modern-deliverable-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modern-deliverable-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.375rem;
  background: rgba(45, 55, 72, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-deliverable-icon.file-exists {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.modern-deliverable-icon.file-pending {
  background: rgba(107, 114, 128, 0.15);
  border-color: rgba(107, 114, 128, 0.3);
  color: #6b7280;
}

.modern-deliverable-text {
  color: #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 500;
}

.modern-deliverable-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.modern-file-status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-file-status-badge.status-created {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.modern-file-status-badge.status-pending {
  background: rgba(107, 114, 128, 0.15);
  border: 1px solid rgba(107, 114, 128, 0.3);
  color: #9ca3af;
}

/* Modern Recommendation Items */
.recommendations-container {
  margin-top: 0.75rem;
}

.modern-recommendation-item {
  background: rgba(30, 40, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid rgba(13, 202, 240, 0.5);
}

.modern-recommendation-item:hover {
  background: rgba(30, 40, 50, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recommendation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
  background: rgba(13, 202, 240, 0.15);
  border: 1px solid rgba(13, 202, 240, 0.3);
  flex-shrink: 0;
}

.recommendation-icon i {
  color: #0dcaf0;
  font-size: 0.875rem;
}

.recommendation-text {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Modern Dependency Items */
.dependencies-container {
  margin-top: 0.75rem;
}

.modern-dependency-item {
  background: rgba(30, 40, 50, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modern-dependency-item:hover {
  background: rgba(30, 40, 50, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modern-dependency-item.dependency-completed {
  border-left: 3px solid #22c55e;
  background: rgba(34, 197, 94, 0.08);
}

.modern-dependency-item.dependency-pending {
  border-left: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.dependency-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.modern-dependency-item.dependency-completed .dependency-status-icon {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.modern-dependency-item.dependency-pending .dependency-status-icon {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.dependency-status-icon i {
  font-size: 0.875rem;
}

.dependency-content {
  flex: 1;
  min-width: 0;
}

.dependency-title {
  color: #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.125rem;
}

.dependency-status-text {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  opacity: 0.8;
}

.modern-dependency-item.dependency-completed .dependency-status-text {
  color: #22c55e;
}

.modern-dependency-item.dependency-pending .dependency-status-text {
  color: #ef4444;
}

/* Ensure button content is above the shine effect */
.premium-btn-plus {
  background: rgba(55, 65, 81, 0.15) !important;
  border: 1px solid rgba(156, 163, 175, 0.3) !important;
  color: #e5e7eb !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.75rem !important;
  /* Complete Bootstrap button override */
  background-image: none !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border-image: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.premium-btn-plus::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(156, 163, 175, 0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
  opacity: 0;
}

.premium-btn-plus:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 1;
}

.premium-btn-plus:hover {
  background: rgba(75, 85, 99, 0.25) !important;
  background-image: none !important;
  border-color: rgba(156, 163, 175, 0.5) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(156, 163, 175, 0.2) !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.premium-btn-plus:active {
  transform: translateY(-1px);
  background: rgba(75, 85, 99, 0.25) !important;
  background-image: none !important;
  box-shadow: 0 4px 15px rgba(156, 163, 175, 0.2) !important;
}

.premium-btn-plus:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.2) !important;
  background: rgba(55, 65, 81, 0.15) !important;
  background-image: none !important;
}

.premium-btn-success {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.75rem !important;
  /* Complete Bootstrap button override */
  background-image: none !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border-image: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.premium-btn-success::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
  opacity: 0;
}

.premium-btn-success:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 1;
}

.premium-btn-success:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  background-image: none !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  color: #6ee7b7 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3) !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.premium-btn-success:active {
  transform: translateY(-1px);
  background: rgba(16, 185, 129, 0.25) !important;
  background-image: none !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.premium-btn-success:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
  background: rgba(16, 185, 129, 0.15) !important;
  background-image: none !important;
}

/* Override any Bootstrap button inheritance */
.premium-btn-plus.btn,
.premium-btn-plus[class*="btn-"],
.premium-btn-success.btn,
.premium-btn-success[class*="btn-"] {
  background-image: none !important;
  border-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Ensure button content is above the shine effect */
.premium-btn-plus > *,
.premium-btn-success > * {
  position: relative;
  z-index: 2;
}

/* Modern Start Step Button */
.modern-start-step-btn {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  color: #60a5fa !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.75rem !important;
  /* Complete Bootstrap button override */
  background-image: none !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border-image: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.modern-start-step-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
  opacity: 0;
}

.modern-start-step-btn:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 1;
}

.modern-start-step-btn:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  background-image: none !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  color: #93c5fd !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3) !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.modern-start-step-btn:active {
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.25) !important;
  background-image: none !important;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

.modern-start-step-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
  background: rgba(59, 130, 246, 0.15) !important;
  background-image: none !important;
}

/* Override any Bootstrap button inheritance */
.modern-start-step-btn.btn,
.modern-start-step-btn[class*="btn-"] {
  background: rgba(59, 130, 246, 0.15) !important;
  background-image: none !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  border-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Modern Waiting for Dependencies Button */
.modern-waiting-dependencies-btn {
  background: rgba(107, 114, 128, 0.15) !important;
  border: 1px solid rgba(107, 114, 128, 0.3) !important;
  color: #9ca3af !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.75rem !important;
  cursor: not-allowed !important;
  /* Complete Bootstrap button override */
  background-image: none !important;
  background-clip: border-box !important;
  border-image: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.modern-waiting-dependencies-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(156, 163, 175, 0.1) 50%, transparent 70%);
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s ease;
}

.modern-waiting-dependencies-btn:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.modern-waiting-dependencies-btn:hover {
  background: rgba(107, 114, 128, 0.25) !important;
  border-color: rgba(107, 114, 128, 0.4) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.modern-waiting-dependencies-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2) !important;
}

.modern-waiting-dependencies-btn:disabled,
.modern-waiting-dependencies-btn[disabled] {
  background: rgba(107, 114, 128, 0.15) !important;
  border: 1px solid rgba(107, 114, 128, 0.3) !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

/* Override any Bootstrap button inheritance */
.modern-waiting-dependencies-btn.btn,
.modern-waiting-dependencies-btn[class*="btn-"] {
  background: rgba(107, 114, 128, 0.15) !important;
  background-image: none !important;
  border: 1px solid rgba(107, 114, 128, 0.3) !important;
  border-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Modern In Progress Button */
.modern-in-progress-btn {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #fbbf24 !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  font-weight: 600 !important;
  padding: 0.375rem 0.75rem !important;
  border-radius: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  box-shadow: none !important;
  font-size: 0.75rem !important;
  /* Complete Bootstrap button override */
  background-image: none !important;
  background-clip: border-box !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  border-image: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.modern-in-progress-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
  opacity: 0;
}

.modern-in-progress-btn:hover::before {
  transform: rotate(45deg) translateX(100%);
  opacity: 1;
}

.modern-in-progress-btn:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  background-image: none !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fcd34d !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3) !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.modern-in-progress-btn:active {
  transform: translateY(-1px);
  background: rgba(245, 158, 11, 0.25) !important;
  background-image: none !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

.modern-in-progress-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
  background: rgba(245, 158, 11, 0.15) !important;
  background-image: none !important;
}

/* Override any Bootstrap button inheritance */
.modern-in-progress-btn.btn,
.modern-in-progress-btn[class*="btn-"] {
  background: rgba(245, 158, 11, 0.15) !important;
  background-image: none !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Ensure button content is above the shine effect */
.modern-in-progress-btn > * {
  position: relative;
  z-index: 2;
}

/* Disabled dropdown item styling */






