/**
 * Database Export Styles
 * File: /assets/css/db-export-styles-xy67.css (Main Theme)
 */

.db-export-container-xy67 {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.db-export-container-xy67 h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.db-export-info-xy67 {
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.6;
}

.db-export-info-xy67 p {
    margin: 0 0 0.5rem 0;
}

.db-export-info-xy67 small {
    color: #7f8c8d;
    font-style: italic;
}

.db-export-controls-xy67 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.db-export-button-xy67 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.3);
}

.db-export-button-xy67:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9, #21618c);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
    transform: translateY(-1px);
}

.db-export-button-xy67:active {
    transform: translateY(0);
}

.db-export-button-xy67:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.db-export-button-xy67:focus {
    outline: 3px solid rgba(52, 152, 219, 0.5);
    outline-offset: 2px;
}

.btn-spinner-xy67 {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin-xy67 1s linear infinite;
}

.db-export-button-xy67.loading .btn-spinner-xy67 {
    display: block;
}

.db-export-button-xy67.loading .btn-text-xy67 {
    opacity: 0.8;
}

.db-export-status-xy67 {
    min-height: 1.5rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.db-export-status-xy67.success {
    background: #d5f4e6;
    color: #27ae60;
    border: 1px solid #27ae60;
}

.db-export-status-xy67.error {
    background: #fde8e8;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.db-export-status-xy67.info {
    background: #e8f4fd;
    color: #3498db;
    border: 1px solid #3498db;
}

.db-export-status-xy67:empty {
    display: none;
}

.db-export-progress-xy67 {
    position: relative;
    width: 100%;
    height: 20px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar-xy67 {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text-xy67 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.db-export-error-xy67 {
    background: #fde8e8;
    color: #e74c3c;
    padding: 1rem;
    border: 1px solid #e74c3c;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .db-export-container-xy67 {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .db-export-button-xy67 {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .db-export-button-xy67,
    .db-export-status-xy67,
    .progress-bar-xy67,
    .btn-spinner-xy67 {
        transition: none;
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .db-export-container-xy67 {
        border: 2px solid #000;
        box-shadow: none;
    }
    
    .db-export-button-xy67 {
        border: 2px solid #000;
        box-shadow: none;
    }
}

/* Animation keyframes */
@keyframes spin-xy67 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================================
   BACKUP LIST STYLES
   ============================================================================ */

.db-backup-list-container-xy67 {
    max-width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.db-backup-list-container-xy67 h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

.db-backup-empty-xy67 {
    text-align: center;
    padding: 3rem 1rem;
    color: #7f8c8d;
}

.db-backup-empty-xy67 p {
    margin: 0 0 0.5rem 0;
}

.db-backup-table-container-xy67 {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.db-backup-table-xy67 {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.db-backup-table-xy67 th,
.db-backup-table-xy67 td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.db-backup-table-xy67 th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e0e0e0;
}

.db-backup-table-xy67 tbody tr:hover {
    background: #f8f9fa;
}

.db-backup-table-xy67 tbody tr:last-child td {
    border-bottom: none;
}

.backup-actions-xy67 {
    white-space: nowrap;
}

.backup-download-btn-xy67,
.backup-delete-btn-xy67 {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin: 0 0.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.backup-download-btn-xy67 {
    background: #27ae60;
    color: white;
}

.backup-download-btn-xy67:hover {
    background: #229954;
    color: white;
    text-decoration: none;
}

.backup-delete-btn-xy67 {
    background: #e74c3c;
    color: white;
}

.backup-delete-btn-xy67:hover {
    background: #c0392b;
}

.backup-delete-btn-xy67:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.db-backup-summary-xy67 {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #7f8c8d;
}

.db-backup-summary-xy67 a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.db-backup-summary-xy67 a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive design for backup table */
@media (max-width: 768px) {
    .db-backup-list-container-xy67 {
        margin: 1rem;
        padding: 1rem;
    }
    
    .db-backup-table-xy67 {
        font-size: 0.9rem;
    }
    
    .db-backup-table-xy67 th,
    .db-backup-table-xy67 td {
        padding: 0.5rem;
    }
    
    .backup-download-btn-xy67,
    .backup-delete-btn-xy67 {
        display: block;
        margin: 0.2rem 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .db-backup-table-xy67 th:nth-child(2),
    .db-backup-table-xy67 td:nth-child(2),
    .db-backup-table-xy67 th:nth-child(4),
    .db-backup-table-xy67 td:nth-child(4) {
        display: none;
    }
}