/* PDF Error Popup Styles - v štýle vašej aplikácie */
.pdf-error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f6f6f672;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity 0.3s ease-out;
    backdrop-filter: blur(10px);
  }
  
  .pdf-error-overlay.fade-out {
    opacity: 0;
  }
  
  .pdf-error-popup {
    background: linear-gradient(110deg, var(--color-purple1) 10%, var(--color-blue1) 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: popupSlideIn 0.3s ease-out;
    backdrop-filter: blur(10px);
    position: relative;
  }
  
  .pdf-error-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.9;
  }
  
  .pdf-error-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 300;
    color: white;
  }
  
  .pdf-error-message {
    margin: 0 0 30px 0;
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.9;
    color: white;
  }
  
  .pdf-error-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(5px);
  }
  
  .pdf-error-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
  }
  
  .pdf-error-button:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  }
  
  .pdf-error-button:active {
    transform: translateY(0);
  }
  
  /* Animácie */
  @keyframes popupSlideIn {
    from {
      opacity: 0;
      transform: translateY(-20px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* Responzívne úpravy pre mobily */
  @media (max-width: 767px) {
    .pdf-error-popup {
      margin: 15px;
      padding: 30px 20px;
      max-width: 320px;
      border-radius: 15px;
    }
    
    .pdf-error-icon {
      font-size: 40px;
      margin-bottom: 15px;
    }
    
    .pdf-error-title {
      font-size: 18px;
      margin-bottom: 15px;
    }
    
    .pdf-error-message {
      font-size: 14px;
      margin-bottom: 25px;
      line-height: 1.4;
    }
    
    .pdf-error-button {
      padding: 10px 20px;
      font-size: 13px;
    }
  }