.bip39g-soft-wrapper {
    /* Biến CSS độc lập */
    --neo-border: 3px solid #111111;
    --neo-shadow: 5px 5px 0px #111111;
    
    --bg-main: #f0f4f8;
    --clr-yellow: #fde74c;
    --clr-cyan: #00f5d4;
    --clr-red: #ff006e;
    --clr-white: #ffffff;
    --clr-green: #06d6a0;
    --clr-text: #111111;

    max-width: 950px; 
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
    color: var(--clr-text);
    background: var(--bg-main);
    padding: 20px;
    border: var(--neo-border);
    border-radius: 16px;
    box-shadow: 6px 6px 0px #111111;
}

.bip39g-soft-wrapper * { box-sizing: border-box; }

.bip39g-soft-header {
    background: #111; padding: 20px; color: #fff;
    border: var(--neo-border); border-radius: 12px;
    text-align: center; margin-bottom: 20px; box-shadow: var(--neo-shadow);
}
.bip39g-soft-header h2 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 900; color: var(--clr-yellow); text-transform: uppercase;}
.bip39g-soft-header p { margin: 0; font-weight: 600; font-size: 0.95rem; color: #ccc;}

/* CẢNH BÁO BẢO MẬT */
.bip39g-alert-box {
    display: flex; align-items: center; gap: 15px; background: #ffe5ec; border: 3px solid var(--clr-red); 
    border-radius: 10px; padding: 15px; margin-bottom: 20px; box-shadow: 4px 4px 0px var(--clr-red);
}
.bip39g-alert-icon { font-size: 2.2rem; animation: bip39gShake 1.5s infinite; }
@keyframes bip39gShake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-10deg); } }
.bip39g-alert-content { font-size: 0.9rem; font-weight: 700; color: #111; line-height: 1.6; }
.bip39g-alert-content strong { color: var(--clr-red); font-size: 1.05rem; display: block; margin-bottom: 3px;}

/* BỐ CỤC 2 CỘT */
.bip39g-main-layout { display: flex; flex-direction: column; gap: 20px; }
.bip39g-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px;}
@media (min-width: 768px) { .bip39g-main-layout { flex-direction: row; align-items: stretch; } }

/* CARDS */
.bip39g-card {
    padding: 20px; border: var(--neo-border); 
    border-radius: 12px; box-shadow: var(--neo-shadow); display: flex; flex-direction: column; height: 100%;
}
.bip39g-bg-yellow { background: var(--clr-yellow); }
.bip39g-bg-white { background: var(--clr-white); }
.bip39g-bg-cyan { background: var(--clr-cyan); }
.bip39g-card-title { margin: 0 0 15px 0; font-size: 1.2rem; font-weight: 900; border-bottom: 2px dashed #111; padding-bottom: 10px; }

/* INPUTS & RADIO */
.bip39g-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.bip39g-label { font-weight: 900; font-size: 0.95rem; }
.bip39g-hint { font-size: 0.85rem; color: #555; font-weight: 700; margin-top: 8px; font-style: italic; line-height: 1.4;}
.bip39g-flex-between { display: flex; justify-content: space-between; align-items: center; }

/* RADIO NEO */
.bip39g-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.bip39g-radio-btn { cursor: pointer; flex: 1; min-width: 70px; }
.bip39g-radio-btn input { display: none; }
.bip39g-radio-text {
    display: block; text-align: center; padding: 10px; background: #fff;
    border: 2px solid #111; border-radius: 8px; font-weight: 900; font-size: 0.95rem;
    box-shadow: 2px 2px 0px #111; transition: 0.1s;
}
.bip39g-radio-btn input:checked + .bip39g-radio-text {
    background: #111; color: var(--clr-yellow); box-shadow: 0px 0px 0px #111; transform: translate(2px, 2px);
}

/* BUTTON MAIN */
.bip39g-btn-main {
    width: 100%; padding: 15px; background: #111; color: var(--clr-yellow);
    border: 2px solid #111; border-radius: 8px; font-size: 1.2rem; font-weight: 900;
    cursor: pointer; box-shadow: 4px 4px 0px var(--clr-yellow); transition: 0.1s; text-transform: uppercase;
}
.bip39g-btn-main:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px var(--clr-yellow); }

.bip39g-btn-small {
    padding: 8px 15px; border: 2px solid #111; border-radius: 6px;
    font-weight: 900; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s; color: #111;
}
.bip39g-btn-small:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

/* WORDS GRID (SHEET) */
.bip39g-words-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; background: #fdfdfd;
    padding: 15px; border: 2px solid #111; border-radius: 10px; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05);
}
@media (min-width: 480px) { .bip39g-words-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .bip39g-words-grid { grid-template-columns: repeat(4, 1fr); } }

.bip39g-word-tag {
    display: flex; align-items: stretch; border: 2px solid #111; border-radius: 6px; 
    overflow: hidden; background: #fff; box-shadow: 2px 2px 0px #111;
}
.bip39g-word-num {
    background: #111; color: var(--clr-yellow); padding: 5px 8px; font-weight: 900;
    font-size: 0.85rem; display: flex; align-items: center; justify-content: center; min-width: 30px;
}
.bip39g-word-text {
    padding: 5px 10px; font-weight: 900; font-family: monospace; font-size: 1.1rem;
    display: flex; align-items: center; color: #111; flex: 1;
}

/* TEXTAREA RAW */
.bip39g-textarea {
    width: 100%; min-height: 80px; padding: 12px; font-family: monospace; font-size: 1.05rem;
    font-weight: bold; color: #555; background: #eee; border: 2px solid #111; 
    border-radius: 8px; resize: vertical; outline: none; box-shadow: inset 2px 2px 0px rgba(0,0,0,0.1);
}

/* INFO BOX */
.bip39g-info-box { margin-top: 20px; background: #e0fbfc; padding: 15px; border: 2px dashed #111; border-radius: 8px; box-shadow: 3px 3px 0px #111; }
.bip39g-info-box h4 { margin: 0 0 5px 0; font-weight: 900; font-size: 1rem; color: #111;}
.bip39g-info-box p { margin: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.5; color: #333; }
.bip39g-info-box code { background: rgba(0,0,0,0.1); padding: 2px 6px; border-radius: 4px; font-weight: bold; }