/* PDF Download Button Styles */

.pdf-download-btn {
  background-color: #fff;
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  box-sizing: border-box;
  color: #0f1111;
  cursor: pointer;
  font-family: "Amazon Ember",sans-serif;
  font-size: 13px;
  line-height: 29px;
  padding: 0 10px 0 11px;
  position: relative;
  text-align: left;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    
}

.pdf-download-btn:hover {
    background-color: #f7fafa;
    transform: translateY(-2px);
}

.pdf-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.4);
}

.pdf-download-btn svg {
    width: 20px;
    height: 20px;
    fill: #2196F3;
}

.pdf-download-btn:focus {
  border-color: #008296;
  box-shadow: rgba(213, 217, 217, .5) 0 2px 5px 0;
  outline: 0;
}

.pdf-download-btn.generating {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    cursor: not-allowed;
    pointer-events: none;
}

.pdf-download-btn.generating::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 15px;
    margin-top: -8px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: pdf-btn-spin 0.8s linear infinite;
}

@keyframes pdf-btn-spin {
    to { transform: rotate(360deg); }
}

.pdf-download-btn-top {
    position: fixed;
    top: 80px;
    right: 30px;
    bottom: auto;
}

.pdf-download-btn-inline {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    display: inline-flex;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .pdf-download-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .pdf-download-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media print {
    .pdf-download-btn {
        display: none;
    }
}

.no-pdf {
    /* Elements with this class will be excluded from PDF */
}
