/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace; /* Font gaya terminal */
}

body {
    background-color: #1a1a1a;
    color: #d1d1d1;
    display: flex;
    flex-direction: column; /* Mengatur susunan ke bawah (vertikal) */
    align-items: center;    /* Memastikan semua konten berada di tengah secara horizontal */
    min-height: 100vh;      /* Memastikan body setinggi layar */
    padding: 20px;
    margin: 0;
}


.container {
    width: 100%;
    max-width: 500px;
    /* Tambahkan kode di bawah ini */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Ubah angka ini untuk mengatur jarak antar kotak */
}


/* Header */
header {
    background-color: #333;
    padding: 20px;
    margin-bottom: 2px;
}

h1 {
    font-size: 1.5rem;
    color: #fff;
}

.fzf-logo {
    color: #ff4d94; /* Warna pink fzf */
    margin-right: 10px;
}

.highlight {
  background-color: #121212;   /* warna stabilo */
  color: #d1d1d1;               /* warna teks */
  padding: 2px 4px;           /* memberi ruang di sekitar teks */
  border-radius: 2px;         /* sudut agak membulat */
  font-weight: bold;          /* optional agar lebih terlihat */
  text-decoration: none;      /* hapus underline jika ada */
}

/* Card Style */
.card {
    background-color: #262626;
    padding: 20px;
    margin-bottom: 2px;
}

h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

a {
    color: #4da6ff;
    text-decoration: none;
}

/* Form / Options Styles */
.section-divider {
    text-align: center;
    color: #88ff88; /* Hijau terminal */
    border-bottom: 1px solid #444;
    line-height: 0.1em;
    margin: 30px 0 20px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

label {
    flex: 1;
    font-size: 0.9rem;
}

.disabled {
    color: #555;
}

/* Selector & Input Decoration */
.selector, input {
    flex: 2;
    background-color: #333;
    border: none;
    padding: 10px;
    color: #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.selector .arrow {
    color: #777;
    cursor: pointer;
}

input {
    width: 100%;
    outline: none;
}

.input-with-icon {
    flex: 2;
    display: flex;
    align-items: center;
    background-color: #333;
}

.info-icon {
    padding: 0 10px;
    color: #fff;
    font-style: italic;
    font-weight: bold;
    cursor: help;
}

input:disabled {
    color: #555;
}

/* Terminal Box di dalam Card */
.terminal-box {
    background-color: #000;
    padding: 20px;
    border: 1px solid #333;
    margin-top: 10px;
}

.terminal-header { color: #81a2be; font-size: 0.8rem; margin-bottom: 5px; }
.stats { color: #b5bd68; font-size: 0.7rem; margin-bottom: 15px; opacity: 0.8; }

.menu-item { display: flex; align-items: center; height: 30px; }
.menu-item.active { background-color: #2a2a2a; }

.pointer { width: 4px; height: 100%; background-color: #ff4d94; margin-right: 15px; }
.pointer-empty { width: 4px; margin-right: 15px; }
.label { font-size: 0.85rem; color: #ddd; }

.cursor { animation: blink 1s infinite; color: #fff; }
@keyframes blink { 50% { opacity: 0; } }


/* Footer Styles */
.small-footer {
    text-align: center;
    padding: 10px;
    margin-top: 10px; /* Memberi sedikit jarak dari card terakhir */
}

.small-footer p {
    font-size: 0.75rem; /* Ukuran teks kecil */
    color: #555; /* Warna abu-abu redup agar tidak mencolok */
    letter-spacing: 1px;
    text-transform: lowercase; /* Opsional: membuat teks jadi huruf kecil semua */
}

/* Garis dekorasi tipis di atas footer (opsional) */
.small-footer::before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #333;
    margin: 0 auto 10px;
}

/* Jarak antar item langkah-langkah */
.step-item {
    margin-bottom: 25px;
}

.step-item p {
    margin-bottom: 8px;
    color: #fff;
    font-size: 0.85rem;
}

/* Container Kode */
.code-container {
    background-color: #000;
    border: 1px solid #333;
    padding: 12px 15px;
    position: relative;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.script-code {
    color: #88ff88;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-all;
    padding-right: 50px;
}

/* Tombol Copy Kecil */
.copy-btn {
    position: absolute;
    right: 8px;
    background: #222;
    color: #ccc;
    border: 1px solid #444;
    padding: 4px 8px;
    font-size: 0.65rem;
    cursor: pointer;
    border-radius: 3px;
    transition: 0.2s;
}

.copy-btn:hover {
    background: #ff4d94;
    color: #fff;
    border-color: #ff4d94;
}

.label-folder { color: #5f5fff; font-weight: bold; }


.disabled-text {
    opacity: 0.7;
    pointer-events: none; /* Agar tidak bisa diklik */
}

.disabled-text .label {
    color: #888; /* Warna abu-abu redup */
}

/* Gaya khusus untuk layar Log */
.log-screen {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #eee;
}

.step-num {
    color: #5f5fff; /* Biru cerah untuk [1/3] */
    font-weight: bold;
}

.log-details {
    color: #bbb;
    margin-bottom: 10px;
    padding-left: 10px;
    font-size: 0.75rem;
}

.status-success {
    color: #00ff00; /* Hijau terang */
    font-weight: bold;
    margin-top: 20px;
    font-size: 1rem;
}

.log-result {
    margin: 10px 0;
}

.path {
    color: #fff;
    text-decoration: none;
}

.terminal-footer {
    margin-top: 20px;
    color: #ddd;
}
