.etac-soft-wrapper {
    /* Biến CSS độc lập */
    --neo-border: 3px solid #111111;
    --neo-shadow: 5px 5px 0px #111111;
    
    --bg-main: #f8f9fa;
    --clr-yellow: #fde74c;
    --clr-cyan: #00f5d4;
    --clr-dark: #111111;
    --clr-white: #ffffff;
    --clr-green: #06d6a0;
    --clr-pink: #f15bb5;
    --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;
}

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

.etac-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);
}
.etac-soft-header h2 { margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 900; color: var(--clr-yellow); text-transform: uppercase;}
.etac-soft-header p { margin: 0; font-weight: 600; font-size: 0.95rem; color: #ccc;}
.etac-soft-header i { color: var(--clr-green); }

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

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

/* INPUTS */
.etac-inputs-grid { display: flex; flex-direction: column; gap: 15px; }
.etac-group { display: flex; flex-direction: column; gap: 8px; }
.etac-label { font-weight: 900; font-size: 0.95rem; }
.etac-label-sub { font-weight: 700; font-size: 0.85rem; color: #333; }

.etac-input-row { display: flex; gap: 10px; }
.etac-input {
    flex: 1; padding: 12px; border: 2px solid #111; border-radius: 8px;
    font-size: 1.1rem; font-weight: 900; font-family: monospace; outline: none; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); width: 100%;
}
.etac-input:focus { border-color: var(--clr-pink); }

.etac-select-unit {
    width: 100px; padding: 10px; border: 2px solid #111; border-radius: 8px; background: #fff;
    font-weight: 900; font-size: 0.95rem; cursor: pointer; outline: none; box-shadow: 2px 2px 0px #111;
}
.etac-select-unit:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

.etac-btn-small {
    padding: 0 15px; background: #111; color: #fff; border: 2px solid #111; border-radius: 8px; white-space: nowrap;
    font-weight: 900; cursor: pointer; box-shadow: 2px 2px 0px rgba(0,0,0,0.3); transition: 0.1s;
}
.etac-btn-small:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

.etac-divider { border: 0; border-top: 2px dashed #111; margin: 5px 0; opacity: 0.3; }

/* KẾT QUẢ ĐẦU RA (RESULTS) */
.etac-results-container { display: flex; flex-direction: column; gap: 15px; flex: 1; }
.etac-res-box {
    padding: 20px; border: 3px solid #111; border-radius: 10px; text-align: center; box-shadow: inset 4px 4px 0px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; justify-content: center;
}
.etac-bg-cyan { background: var(--clr-cyan); }
.etac-bg-dark { background: var(--clr-dark); color: #fff; flex: 1.2; }

.etac-res-label { font-size: 0.85rem; font-weight: 900; letter-spacing: 1px; margin-bottom: 5px; }
.etac-text-green { color: var(--clr-green); }
.etac-text-white { color: var(--clr-white); }
.etac-text-yellow { color: var(--clr-yellow); }

.etac-res-value { font-size: 2.2rem; font-weight: 900; font-family: monospace; line-height: 1.2; word-break: break-word; }
.etac-bg-dark .etac-res-value { font-size: 3rem; text-shadow: 3px 3px 0px rgba(255,255,255,0.2); }
.etac-res-sub { font-size: 0.9rem; font-weight: 700; margin-top: 8px; font-family: monospace;}

/* NÚT COPY */
.etac-btn-copy {
    width: 100%; padding: 15px; background: #111; color: var(--clr-green); margin-top: 15px;
    border: 2px solid #111; border-radius: 8px; font-size: 1.1rem; font-weight: 900;
    cursor: pointer; box-shadow: 4px 4px 0px var(--clr-green); transition: 0.1s; text-transform: uppercase;
}
.etac-btn-copy:active { transform: translate(4px, 4px); box-shadow: 0px 0px 0px var(--clr-green); }