/* Error Component Styling */
.error-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999;
    backdrop-filter: blur(8px);
    color: white;
    transition: all 0.4s ease;
  }
  
  .error-dialog {
    background-color: rgba(220, 53, 69, 0.15);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 53, 69, 0.4);
    width: 85%;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: errorAppear 0.5s ease forwards;
  }
  
  @keyframes errorAppear {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(220, 53, 69, 0.2);
    border-radius: 50%;
    font-size: 32px;
  }
  
  .error-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
    color: #ff4757;
  }
  
  .error-message {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
    color: white;
  }
  
  .error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }
  
  .error-dismiss {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .error-dismiss:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
  }
  
  .error-dismiss:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.4);
  }
  
  .error-help {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .error-help:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }