/* Container Utama */
.stepper-container {
    display: flex;
    align-items: flex-start; /* Agar label panjang tidak merusak alignment garis */
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
}

/* Item Step (Lingkaran + Label) */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2; /* Agar di atas garis */
    min-width: 120px; /* Lebar minimum agar label rapi */
}

/* Lingkaran Angka */
.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff; /* Background putih default */
    border: 3px solid #e9ecef; /* Warna border abu-abu default */
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* Kondisi AKTIF (Biru - Step Sedang Dipilih) */
.step-circle.active {
    background-color: #007bff; /* Biru Bootstrap */
    border-color: #007bff;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2); /* Efek glow */
}

/* Kondisi SELESAI (Hijau - Step Sudah Lewat) */
.step-circle.checked {
    background-color: #28a745; /* Hijau Sukses */
    border-color: #28a745;
    color: #fff;
}

/* Label Text */
.step-label strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}
.step-label p {
    font-size: 11px;
    color: #888;
    margin: 0;
    line-height: 1.2;
}

/* Garis Penghubung */
.step-line {
    flex-grow: 1; /* Garis mengisi sisa ruang kosong */
    height: 4px; /* Ketebalan garis */
    background-color: #e9ecef; /* Warna abu-abu default */
    margin-top: 25px; /* Posisi vertikal sejajar tengah lingkaran (50px / 2) */
    margin-left: -10px; /* Overlap sedikit supaya rapi */
    margin-right: -10px;
    z-index: 1; /* Di belakang lingkaran */
    border-radius: 2px;
    transition: background-color 0.4s ease; /* Animasi warna jalan pelan */
}

/* Garis Aktif (Hijau) */
.step-line.active {
    background-color: #28a745;
}

    /* Responsive adjustment handled by Bootstrap classes usually */
    .step-content {
        animation: fadeIn 0.5s;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Custom Tabs Style */
    .custom-tabs .nav-link {
        border-radius: 0; /* Kotak siku */
        color: #6c757d;
        font-weight: 500;
        background-color: #e2e6ea; /* Abu-abu muda default */
        border: 1px solid #dee2e6;
        margin-right: -1px; /* Agar border nempel */
    }
    .custom-tabs .nav-link.active {
        background-color: #007bff !important; /* Biru terang */
        color: white !important;
        border-color: #007bff;
    }
    .custom-tabs .nav-link.disabled {
        background-color: #c5def8 !important; /* Biru pudar sesuai request */
        color: #6c757d !important;
        opacity: 0.7;
    }
    /* Card Styling */
    .card-danger { border-top: 3px solid #dc3545; }

    .alert-fixed {
        position: fixed;
        bottom: 20px;
        right: 20px;
        max-width: 420px;
        width: calc(100% - 40px);
        z-index: 1050; /* di atas konten AdminLTE */
    }


    .shake-anim { animation: shake 0.5s; } @keyframes shake { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } }