/**
 * pdf.css
 * Styles for PDF generation functionality
 */

/* PDF Notification */
.pdf-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    color: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    font-family: sans-serif;
    font-size: 14px;
    animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Document Preview Areas */
.about-doc-preview {
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
}

.about-doc-preview:hover {
    transform: scale(1.02);
}

.about-doc-preview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.about-doc-preview:hover::before {
    opacity: 1;
}

/* Status indicators */
.status-loading {
    color: #0D6EFD;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-loading::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(13, 110, 253, 0.25);
    border-top-color: rgba(13, 110, 253, 1);
    border-radius: 50%;
    animation: spinner 1s linear infinite;
}

.status-success {
    color: #198754;
}

.status-error {
    color: #DC3545;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Request Both Button */
.request-both-container {
    grid-column: span 2;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.request-both-btn {
    background-color: #40E0D0;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
}

.request-both-btn:hover {
    background-color: #36c0b0;
}