/* Custom Styles für PDF-Formular Generator */

body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: #0d6efd;
    color: white;
    font-weight: 600;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: 0.65;
}

#loadingSpinner {
    width: 3rem;
    height: 3rem;
}

#downloadSection {
    animation: fadeIn 0.5s;
    border-color: rgba(25, 135, 84, 0.3);
}

.download-section-header {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
}

.download-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.pdf-download-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.pdf-download-card:hover {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    border-color: #198754;
}

.pdf-download-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.pdf-download-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5e9;
    border-radius: 0.5rem;
    font-size: 1.5rem;
}

.pdf-download-info {
    flex: 1;
    min-width: 0;
}

.pdf-download-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.15rem;
}

.pdf-download-desc {
    font-size: 0.8125rem;
    color: #6c757d;
}

.btn-download-pdf {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-download-pdf:hover {
    background-color: #146c43;
    border-color: #146c43;
}

.btn-download-arrow {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .pdf-download-card-body {
        flex-wrap: wrap;
    }
    .btn-download-pdf {
        width: 100%;
        justify-content: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.form-label {
    font-weight: 500;
}
