/* app_status.css - App Status Styling for Top Bar Integration */

/* Base styling matches existing top bar elements */
#app-status {
    background-color: #0D882C;
    color: white;
    font-weight: bold;
    margin-top: -10px;
    margin-left: 15px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  
  /* Status type variations - keep green background, change text styling */
  #app-status.status-error {
    color: #ffcccc;
    text-shadow: 0 0 4px rgba(220, 38, 38, 0.8);
    font-weight: bold;
  }
  
  #app-status.status-warning {
    color: #fff3cd;
    text-shadow: 0 0 4px rgba(217, 119, 6, 0.8);
    font-weight: bold;
  }
  
  #app-status.status-success {
    color: #d4edda;
    text-shadow: 0 0 4px rgba(5, 150, 105, 0.8);
    font-weight: bold;
  }
  
  #app-status.status-info {
    color: #cce5ff;
    text-shadow: 0 0 4px rgba(37, 99, 235, 0.8);
    font-weight: bold;
  }
  
  /* Optional: Subtle animation for error/warning states */
  #app-status.status-error,
  #app-status.status-warning {
    animation: status-pulse 2s ease-in-out infinite;
  }
  
  @keyframes status-pulse {
    0%, 100% { 
      opacity: 1; 
    }
    50% { 
      opacity: 0.8; 
    }
  }
  
  /* Ensure status text doesn't break layout */
  #app-status {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px; /* Prevent extremely long messages from breaking layout */
  }