/* ============================================
   Batch Record Tracker - Custom Styles
   ============================================ */

/* Login Page */
.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Route Map Styles */
.route-map-container {
    padding: 20px 0;
}

.route-stage {
    position: relative;
}

.route-connector {
    display: flex;
    justify-content: center;
    padding: 5px 0;
}

.connector-line {
    width: 3px;
    height: 30px;
    background: linear-gradient(to bottom, #dee2e6, #adb5bd);
    border-radius: 2px;
}

.stage-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin: 0 20px;
    transition: all 0.2s ease;
}

.stage-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.stage-completed {
    border-left: 4px solid #198754;
    background-color: #f8fff8;
}

.stage-in-progress {
    border-left: 4px solid #ffc107;
    background-color: #fffef8;
}

.stage-failed {
    border-left: 4px solid #dc3545;
    background-color: #fff8f8;
}

.stage-pending {
    border-left: 4px solid #dee2e6;
    background-color: #fdfdfd;
}

.stage-icon {
    min-width: 30px;
    text-align: center;
    padding-top: 3px;
}

/* Table Styles */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    vertical-align: middle;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    font-size: 0.75rem;
}

/* Card Hover */
.card {
    border-radius: 10px;
}

/* Navbar */
.navbar-brand {
    font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-card .card-body h2 {
        font-size: 1.5rem;
    }

    .stage-card {
        margin: 0 5px;
    }

    .route-map-container .row .col-md-3 {
        margin-bottom: 5px;
    }
}
