/* PDF Manager Frontend Styles */

.pdm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.pdm-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.pdm-loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: pdm-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes pdm-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pdm-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.pdm-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.pdm-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.pdm-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pdm-btn-primary {
    background: #007cba;
    color: white;
}

.pdm-btn-primary:hover {
    background: #005a87;
    text-decoration: none;
    color: white;
}

.pdm-download-btn {
    background: #28a745;
    color: white;
}

.pdm-download-btn:hover {
    background: #218838;
    text-decoration: none;
    color: white;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .pdm-container {
        padding: 15px;
    }
    
    .pdm-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}