/* Custom styles for Ops Data Hub */

/* Body and layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Footer */
.footer {
    margin-top: auto;
}

/* Card hover effects */
.card {
    transition: box-shadow 0.3s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Status badges */
.badge {
    text-transform: uppercase;
    font-weight: 600;
}

/* Navigation active state */
.nav-link.active {
    font-weight: bold;
}

/* Table styles */
.table-responsive {
    border-radius: 0.375rem;
}

/* Button groups */
.btn-group .btn {
    margin: 0;
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Log viewer */
.log-viewer {
    background-color: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Courier New', Courier, monospace;
    padding: 1rem;
    border-radius: 0.375rem;
    max-height: 600px;
    overflow-y: auto;
}

.log-line {
    margin: 0;
    padding: 0.25rem 0;
    word-wrap: break-word;
}

/* Job status colors */
.status-success {
    color: #198754;
}

.status-failed {
    color: #dc3545;
}

.status-running {
    color: #0dcaf0;
}

.status-pending {
    color: #6c757d;
}

/* Code blocks */
pre {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
}

/* Form elements */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alert positioning */
.alert {
    margin-bottom: 1rem;
}
