.pass-neo-wrapper {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 1000px;
    margin: 20px auto;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 8px 8px 0px #000000;
    padding: 25px;
    background: #ffffff;
    color: #000000;
    box-sizing: border-box;
}

.pass-neo-wrapper * { box-sizing: border-box; }

.pass-neo-header {
    background: #cbaacb; padding: 15px 20px; border-radius: 12px;
    border: 3px solid #000000; box-shadow: 4px 4px 0px #000000; margin-bottom: 25px; text-align: center;
}
.pass-neo-header h2 { margin: 0 0 5px 0; font-size: 1.8rem; font-weight: 900; text-transform: uppercase; color: #000; }
.pass-neo-header p { margin: 0; font-weight: 800; font-size: 0.95rem; }

.pass-main-layout { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 800px) {
    .pass-main-layout { flex-direction: row; align-items: stretch; }
    .pass-controls { flex: 1; }
    .pass-result-section { flex: 1; display: flex; flex-direction: column; }
}

.pass-controls { display: flex; flex-direction: column; gap: 15px; }

.pass-group { display: flex; flex-direction: column; gap: 8px; }
.pass-group label { font-weight: 900; font-size: 1.05rem; color: #000; }
.pass-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.pass-neo-input { width: 100%; padding: 12px; font-size: 1.1rem; font-weight: 900; border-radius: 8px; border: 3px solid #000; background: #fff; color: #000; outline: none; box-shadow: inset 2px 2px 0px rgba(0,0,0,0.05); transition: 0.1s; font-family: monospace;}
.pass-neo-input:focus { border-color: #ff595e; }

.pass-neo-range { width: 100%; height: 8px; background: #000; border-radius: 4px; outline: none; -webkit-appearance: none; cursor: pointer; margin-top: 10px; }
.pass-neo-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #ffdac1; border: 3px solid #000; cursor: pointer; }

/* Radio Mode Toggle */
.pass-mode-toggle { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-mode { flex: 1; cursor: pointer; }
.radio-mode input { display: none; }
.radio-mode .neo-content { display: block; text-align: center; padding: 10px; font-weight: 900; border: 3px solid #000; border-radius: 8px; background: #e9ecef; box-shadow: 3px 3px 0px #000; transition: all 0.1s; font-size: 0.95rem; color: #000;}
.radio-mode input:checked + .neo-content { background: #b5ead7; box-shadow: 1px 1px 0px #000; transform: translate(2px, 2px); }

.pass-divider { border: none; border-top: 3px dashed #000; margin: 5px 0; opacity: 0.5; }

.pass-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #f4f4f4; padding: 15px; border: 3px solid #000; border-radius: 8px; }
.checkbox-container { display: flex; align-items: center; cursor: pointer; font-weight: 900; font-size: 1rem; user-select: none; color: #000; }
.checkbox-container input { margin-right: 10px; width: 20px; height: 20px; accent-color: #000; cursor: pointer; }

.btn-neo-primary { width: 100%; cursor: pointer; font-size: 1.3rem; font-weight: 900; padding: 15px; background-color: #ffdac1; border: 3px solid #000; border-radius: 8px; box-shadow: 4px 4px 0px #000; text-transform: uppercase; color: #000; transition: transform 0.1s, box-shadow 0.1s; margin-top: 10px; }
.btn-neo-primary:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px #000; }

.btn-small-neo { cursor: pointer; font-weight: 900; padding: 8px 15px; background: #fff; border: 3px solid #000; border-radius: 8px; box-shadow: 3px 3px 0px #000; transition: 0.1s; font-size: 1rem; color: #000; text-transform: uppercase;}
.btn-small-neo:active { transform: translate(3px, 3px); box-shadow: 0px 0px 0px #000; }

/* KẾT QUẢ */
.pass-result-section { background-color: #f4f4f4; border: 3px solid #000; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 3px solid #000; padding-bottom: 10px; }
.result-header h3 { margin: 0; font-size: 1.4rem; font-weight: 900; color: #000; }

.neo-textarea-result { width: 100%; flex-grow: 1; min-height: 150px; padding: 15px; font-family: 'Consolas', monospace; font-size: 1.2rem; font-weight: 900; color: #000; border: 3px solid #000; border-radius: 8px; background: #fff; resize: vertical; outline: none; line-height: 1.6; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); word-break: break-all; }

/* THANH ĐỘ MẠNH */
.strength-box { margin-top: 15px; }
.strength-meter { height: 12px; width: 100%; background-color: #ddd; border: 2px solid #000; border-radius: 6px; overflow: hidden; margin-bottom: 5px; }
.strength-bar { height: 100%; width: 0%; background-color: #ff595e; transition: width 0.3s ease, background-color 0.3s ease; }
.strength-text { font-size: 1rem; font-weight: 900; text-align: right; color: #000; }

/* LỊCH SỬ */
.history-box { margin-top: 20px; padding: 15px; background-color: #fff; border: 3px dashed #000; border-radius: 8px; }
.history-box h4 { margin: 0 0 10px 0; font-size: 1.05rem; font-weight: 900; color: #000; }
.history-box ul { list-style: none; padding: 0; margin: 0; max-height: 120px; overflow-y: auto; }
.history-box li { font-family: monospace; font-size: 1.1rem; padding: 6px 0; border-bottom: 2px dashed #ccc; cursor: pointer; color: #000; font-weight: bold; word-break: break-all; }
.history-box li:hover { color: #ff595e; }
.history-box li:last-child { border-bottom: none; }

#toastPass { visibility: hidden; min-width: 200px; background-color: #000; color: #fff; text-align: center; border-radius: 8px; padding: 12px; position: fixed; z-index: 9999; bottom: 30px; left: 50%; transform: translateX(-50%); font-weight: bold; opacity: 0; transition: opacity 0.3s, bottom 0.3s; }
#toastPass.show { visibility: visible; opacity: 1; bottom: 50px; }