/**
 * Export Module Styles
 * Styles for the Activity Log Pro Export functionality
 */

.alp-export-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alp-export-heading svg {
    color: #2271b1;
}

.alp-export-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0073aa;
    font-weight: 500;
}

.alp-export-loading .spinner {
    visibility: visible;
    float: none;
    margin: 0;
}

.alp-export-progress {
    margin: 10px 0;
}

.alp-export-progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f1;
    border-radius: 10px;
    overflow: hidden;
}

.alp-export-progress-fill {
    height: 100%;
    background-color: #2271b1;
    transition: width 0.3s ease;
}

.alp-export-complete {
    color: #00a32a;
    font-weight: 500;
}

.alp-export-error {
    color: #d63638;
    font-weight: 500;
}

/* Export Table Styles for exported HTML files */
.alp-export-table {
    border-collapse: collapse;
    width: 100%;
}

.alp-export-table th,
.alp-export-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.alp-export-table th {
    background-color: #f2f2f2;
    text-align: left;
}

.alp-export-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.alp-export-table th:nth-child(2),
.alp-export-table td:nth-child(2) {
    min-width: 140px; /* Date/Time column width */
}

.alp-export-table th.date-time,
.alp-export-table td.date-time {
    min-width: 140px; /* Alternative class-based selector */
}

/* Export options styles */
.alp-export-options {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
    max-width: 800px;
}

.alp-export-formats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.alp-export-format {
    display: flex;
    align-items: center;
    gap: 5px;
}

.alp-export-button-container {
    margin-top: 20px;
}

.alp-loading {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.alp-loading .spinner {
    margin-right: 10px;
}

/* Export HTML document styles */
.alp-export-document {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.alp-export-document h1 {
    color: #333;
}

.alp-export-document .export-info {
    margin-bottom: 20px;
    color: #666;
}

.alp-export-document .footer {
    margin-top: 30px;
    color: #666;
    font-size: 12px;
    text-align: center;
}
