/* Custom styles for HL Data Sync */

body {
    background-color: #f8f9fa;
}

.navbar {
    margin-bottom: 20px;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.footer {
    border-top: 1px solid #e9ecef;
}

/* Dashboard styles */
.sync-status {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.sync-status.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.sync-status.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* File browser styles */
.file-list {
    max-height: 500px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.file-item:hover {
    background-color: #f8f9fa;
}

.file-icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.file-details {
    flex-grow: 1;
}

.file-actions {
    white-space: nowrap;
}

/* Log styles */
.log-entry {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

.log-entry.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.log-entry.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Table styles */
.table-responsive {
    margin-bottom: 20px;
}

/* Utility classes */
.text-truncate {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .card-header .btn,
    .card-header .btn-group {
        margin-top: 10px;
        width: 100%;
    }
}
