/* export.css — Export-Modal Styles für BBO Verwaltungsportal */

.export-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.export-modal-overlay.active {
    display: flex;
}

.export-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 400px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.export-modal h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #1a1a2e;
}

.export-modal .export-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
}

.export-progress-bar {
    background: #e9ecef;
    border-radius: 8px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.export-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2d6a4f, #40916c);
    border-radius: 8px;
    transition: width 0.4s ease;
    width: 0%;
}

.export-progress-percent {
    font-size: 13px;
    color: #555;
    text-align: right;
    margin-bottom: 8px;
}

.export-status-text {
    font-size: 13px;
    color: #888;
    min-height: 20px;
    margin-bottom: 24px;
}

.export-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.export-btn-cancel {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
    color: #555;
    font-size: 14px;
}

.export-btn-download {
    display: none;
    background: #2d6a4f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.export-btn-download.visible {
    display: inline-block;
}

.export-btn-retry {
    display: none;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
}

.export-btn-retry.visible {
    display: inline-block;
}

.export-error-msg {
    display: none;
    color: #e63946;
    font-size: 13px;
    margin-bottom: 16px;
}

.export-error-msg.visible {
    display: block;
}
