.urlp-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-green: #06d6a0;
    --clr-white: #ffffff;
    --clr-text: #111111;

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

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

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

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

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

/* STATUS BADGE */
.urlp-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;}
.urlp-badge.active { background: var(--clr-green); color: #111; }
.urlp-badge.error { background: var(--clr-red); color: #fff; }

/* TEXTAREA (LEFT) */
.urlp-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px;}
.urlp-textarea {
    width: 100%; min-height: 200px; flex: 1; padding: 15px; border: 3px solid #111; border-radius: 8px;
    font-size: 1.05rem; font-weight: bold; outline: none; box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05); font-family: monospace; resize: vertical; line-height: 1.5; word-break: break-all;
}
.urlp-textarea:focus { border-color: var(--clr-cyan); box-shadow: inset 3px 3px 0px rgba(0,0,0,0.05), 0 0 0 3px #111; }

/* BUTTONS */
.urlp-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;
}
.urlp-btn-small:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

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

/* OUTPUT COMPONENTS (RIGHT) */
.urlp-components-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; transition: 0.2s;}
.urlp-comp-row { display: flex; flex-direction: column; gap: 5px; }
.urlp-comp-lbl { font-weight: 900; font-size: 0.9rem; color: #333; }

.urlp-input-wrap { display: flex; gap: 8px; }
.urlp-text-input {
    flex: 1; padding: 10px 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); text-overflow: ellipsis;
}
.urlp-text-input::placeholder { color: #aaa; font-style: italic;}
.urlp-btn-copy {
    background: #fff; border: 2px solid #111; border-radius: 6px; padding: 0 12px;
    font-size: 1.1rem; cursor: pointer; box-shadow: 2px 2px 0px #111; transition: 0.1s; display: flex; align-items: center; justify-content: center;
}
.urlp-btn-copy:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

/* QUERY PARAMS TABLE */
.urlp-params-section { border-top: 2px dashed #111; padding-top: 20px; }
.urlp-params-title { margin: 0 0 15px 0; font-size: 1.1rem; font-weight: 900; color: #111;}
.urlp-params-table-wrapper { overflow-x: auto; border: 2px solid #111; border-radius: 8px; box-shadow: 3px 3px 0px #111; background: #fff;}
.urlp-params-table { width: 100%; border-collapse: collapse; text-align: left; font-family: monospace; font-size: 0.95rem; }
.urlp-params-table th { background: #111; color: var(--clr-yellow); padding: 12px; font-weight: 900; border-bottom: 2px solid #111; border-right: 2px solid #111;}
.urlp-params-table th:last-child { border-right: none; }
.urlp-params-table td { padding: 10px 12px; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; font-weight: bold; word-break: break-all; color: #111;}
.urlp-params-table td:last-child { border-right: none; }
.urlp-params-table tr:last-child td { border-bottom: none; }
.urlp-params-table tr:nth-child(even) { background: #f9f9f9; }
.urlp-td-copy { background: #eee; border: 1px solid #111; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; cursor: pointer; margin-left: 5px; font-family: system-ui; font-weight: 900;}

/* INFO BOX */
.urlp-info-box { background: rgba(255,255,255,0.6); padding: 15px; border: 2px dashed #111; border-radius: 8px; margin-top: 20px;}
.urlp-info-box h4 { margin: 0 0 5px 0; font-weight: 900; color: #111; font-size: 1rem;}
.urlp-info-box p { margin: 0; font-size: 0.9rem; font-weight: 600; line-height: 1.5; color: #333;}