/* style.css */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f6f9;
    color: #343a40;
    
    /* Tambahan agar Footer Sticky di Bawah */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto; /* Ini kunci agar footer terdorong ke bawah */
}

.navbar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Style untuk Nomor Langkah (Step Number) */
.step-number {
    width: 32px;
    height: 32px;
    background-color: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Garis pemisah antar kolom instruksi pada layar desktop */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid #e9ecef;
    }
}

/* Upload Area Styling */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover, .upload-area.active {
    border-color: #0d6efd;
    background-color: #eff6ff;
}

.upload-area .icon-container i {
    transition: color 0.3s ease;
}

.upload-area:hover .icon-container i {
    color: #0d6efd !important; /* Icon jadi biru saat hover */
}

.transition-btn {
    transition: transform 0.1s;
}
.transition-btn:active {
    transform: scale(0.98);
}

/* Style untuk PWA */
.pwa-mode header {
  padding-top: env(safe-area-inset-top, 20px);
}

@media (display-mode: standalone) {
  body {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Sembunyikan browser UI */
  header {
    padding-top: 40px;
  }
}

/* ===== NEW: Styling untuk Radio Button Sorting Option ===== */
.form-check {
    cursor: pointer;
    border-color: #dee2e6 !important;
    transition: all 0.2s ease;
}

.form-check:hover {
    border-color: #0d6efd !important;
    background-color: #f0f7ff !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.form-check input[type="radio"] {
    cursor: pointer;
    width: 1.3em;
    height: 1.3em;
    margin-top: 0.15em;
}

.form-check input[type="radio"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check label {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

/* Highlight option yang dipilih */
.form-check input[type="radio"]:checked + label .fw-bold {
    color: #0d6efd;
}

.form-check input[type="radio"]:checked + label {
    color: #0d6efd;
}

.form-check input[type="radio"]:checked ~ .form-check {
    opacity: 0.6;
}