.jwtp-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: #ef476f;
    --clr-pink: #f15bb5;
    --clr-green: #06d6a0;
    --clr-white: #ffffff;
    --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;
}

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

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

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

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

/* COLOR HINTS (Gợi ý màu JWT) */
.jwtp-color-hints { display: flex; align-items: center; justify-content: center; margin: 15px 0; font-weight: 800; font-family: monospace; font-size: 1.1rem;}
.jwtp-hint-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #111; margin-right: 5px;}
.jwtp-dot-red { background: var(--clr-red); }
.jwtp-dot-pink { background: var(--clr-pink); }
.jwtp-dot-cyan { background: var(--clr-cyan); }

/* INPUT & BUTTONS */
.jwtp-textarea-input {
    width: 100%; min-height: 250px; padding: 15px; border: 3px 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; resize: vertical; word-break: break-all; line-height: 1.5; color: #111; background: #fff;
}
.jwtp-textarea-input:focus { border-color: var(--clr-cyan); }

.jwtp-btn-action {
    width: 100%; padding: 12px; background: #111; color: var(--clr-yellow);
    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;
}
.jwtp-btn-action:active { transform: translate(3px, 3px); box-shadow: 0px 0px 0px #111; }

.jwtp-btn-small {
    padding: 6px 12px; background: #fff; border: 2px solid #111; border-radius: 6px;
    font-weight: 900; font-size: 0.85rem; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s; color: #111;
}
.jwtp-btn-small:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

.jwtp-btn-copy {
    padding: 6px 12px; background: #111; color: #fff; border: 2px solid #111; border-radius: 6px;
    font-weight: 900; font-size: 0.85rem; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s;
}
.jwtp-btn-copy:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; background: var(--clr-green); color: #111;}

/* CẢNH BÁO BẢO MẬT */
.jwtp-alert-box { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.7); border: 2px dashed #111; border-radius: 10px; padding: 12px; }
.jwtp-alert-icon { font-size: 1.8rem; }
.jwtp-alert-content { font-size: 0.85rem; font-weight: 600; color: #111; line-height: 1.5; }

/* TRẠNG THÁI (STATUS BOX) */
.jwtp-status-box { 
    display: flex; align-items: center; gap: 15px; padding: 15px 20px; margin-bottom: 20px;
    border: 3px solid #111; border-radius: 10px; background: #fff; box-shadow: 4px 4px 0px #111; transition: 0.3s;
}
.jwtp-status-box.valid { background: var(--clr-green); }
.jwtp-status-box.invalid { background: var(--clr-red); color: #fff; }
.jwtp-status-box.expired { background: var(--clr-yellow); }

.jwtp-status-icon { font-size: 2.5rem; line-height: 1; }
.jwtp-status-info { display: flex; flex-direction: column; gap: 5px; }
.jwtp-status-title { font-size: 1.1rem; font-weight: 900; text-transform: uppercase; }
.jwtp-status-desc { font-size: 0.95rem; font-weight: 600; }

/* CỘT KẾT QUẢ ĐẦU RA */
.jwtp-border-red { border-color: var(--clr-red); box-shadow: 4px 4px 0px var(--clr-red); }
.jwtp-border-pink { border-color: var(--clr-pink); box-shadow: 4px 4px 0px var(--clr-pink); }
.jwtp-border-cyan { border-color: var(--clr-cyan); box-shadow: 4px 4px 0px var(--clr-cyan); }

.jwtp-text-red { color: var(--clr-red); }
.jwtp-text-pink { color: var(--clr-pink); }
.jwtp-text-cyan { color: var(--clr-cyan); }
.jwtp-small-text { font-size: 0.85rem; font-weight: 700; color: #666; text-transform: none; margin-left: 10px;}

.jwtp-textarea-output {
    width: 100%; min-height: 100px; padding: 15px; font-family: monospace; font-size: 1rem;
    font-weight: 600; color: #111; background: #fdfdfd; border: 2px solid #111; 
    border-radius: 8px; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); resize: vertical; outline: none; white-space: pre;
}
.jwtp-textarea-large { min-height: 180px; }

.jwtp-signature-box {
    width: 100%; padding: 15px; font-family: monospace; font-size: 1rem;
    font-weight: bold; color: var(--clr-cyan); background: #111; border: 2px solid #111; 
    border-radius: 8px; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.5); word-break: break-all;
}

.jwtp-note-box { font-size: 0.85rem; padding: 12px; background: rgba(0,245,212,0.1); border: 2px dashed var(--clr-cyan); border-radius: 8px; font-weight: 600; line-height: 1.5; color: #111;}