/* Custom styles for Elements Synchronizer */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-content {
    padding-top: 20px;
    margin-left: 240px;
}

.sync-status {
    font-weight: 600;
    border-radius: 0.375rem;
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.status-notstarted { background-color: #6c757d; color: white; }
.status-inprogress { background-color: #0d6efd; color: white; }
.status-completed { background-color: #198754; color: white; }
.status-failed { background-color: #dc3545; color: white; }

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-group .btn {
    margin: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
}

.sidebar {
    background-color: #f8f9fa;
    min-height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.navbar-brand {
    font-weight: bold;
}

.db-status {
    font-size: 0.8rem;
    margin-left: auto;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
    .sidebar {
        display: none;
    }
}