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

    max-width: 900px; 
    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;
}

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

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

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

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

/* BADGE */
.bauth-badge { background: #eee; padding: 4px 10px; border: 2px solid #111; border-radius: 6px; font-weight: 900; font-size: 0.85rem; box-shadow: 2px 2px 0px #111; transition: 0.2s;}
.bauth-badge.active { background: var(--clr-green); color: #111; }

/* INPUTS */
.bauth-group { margin-bottom: 15px; display: flex; flex-direction: column; gap: 8px; }
.bauth-label { font-weight: 900; font-size: 0.95rem; color: #111; }

.bauth-input-row { display: flex; gap: 8px; }
.bauth-input {
    flex: 1; padding: 12px; border: 2px solid #111; border-radius: 8px;
    font-size: 1.1rem; font-weight: bold; outline: none; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); font-family: monospace;
}
.bauth-input:focus { border-color: var(--clr-cyan); box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05), 0 0 0 3px #111; }
.bauth-btn-icon { background: #fff; border: 2px solid #111; border-radius: 8px; padding: 0 15px; font-size: 1.2rem; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s;}
.bauth-btn-icon:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

/* NÚT CLEAR */
.bauth-btn-action {
    width: 100%; padding: 12px; background: #fff; border: 2px solid #111; border-radius: 8px;
    font-weight: 900; font-size: 1rem; cursor: pointer; box-shadow: 3px 3px 0px #111; transition: 0.1s; text-transform: uppercase; margin-top: auto;
}
.bauth-btn-action:active { transform: translate(3px, 3px); box-shadow: 0px 0px 0px #111; }

/* KẾT QUẢ */
.bauth-res-box { padding: 15px; border: 2px solid #111; border-radius: 10px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; box-shadow: 3px 3px 0px #111;}
.bauth-res-box:last-child { margin-bottom: 0; }

.bauth-text-input {
    flex: 1; padding: 12px; border: 2px solid #111; border-radius: 6px;
    font-family: monospace; font-weight: bold; font-size: 1rem; color: #111;
    background: #fdfdfd; outline: none; box-shadow: inset 2px 2px 0px rgba(0,0,0,0.05);
}
.bauth-btn-copy {
    background: #111; color: #fff; border: 2px solid #111; border-radius: 6px; padding: 0 15px;
    font-size: 1.2rem; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s; display: flex; align-items: center; justify-content: center;
}
.bauth-btn-copy:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

.bauth-textarea-res {
    width: 100%; height: 70px; padding: 12px; border: 2px solid #111; border-radius: 6px;
    font-family: monospace; font-weight: 900; font-size: 1rem; color: #111; word-break: break-all;
    background: #fff; outline: none; box-shadow: inset 2px 2px 0px rgba(0,0,0,0.05); resize: none;
}

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

/* THÔNG TIN & CẢNH BÁO */
.bauth-info-box { background: rgba(255,255,255,0.6); padding: 12px; border: 2px dashed #111; border-radius: 8px; }
.bauth-info-box h4 { margin: 0 0 5px 0; font-weight: 900; color: #111; font-size: 0.95rem;}
.bauth-info-box code { background: #fff; border: 1px solid #111; padding: 4px 8px; border-radius: 4px; font-weight: bold; font-family: monospace;}

.bauth-alert-box {
    display: flex; align-items: center; gap: 15px; background: #ffe5ec; border: 2px dashed var(--clr-red); 
    border-radius: 10px; padding: 15px; box-shadow: 3px 3px 0px rgba(255, 0, 110, 0.2);
}
.bauth-alert-icon { font-size: 1.8rem; }
.bauth-alert-content { font-size: 0.85rem; font-weight: 600; color: #721c24; line-height: 1.5; }
.bauth-alert-content strong { color: var(--clr-red); font-size: 0.95rem; display: block; margin-bottom: 2px;}