.phonep-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-red: #ff006e;
    --clr-green: #06d6a0;
    --clr-blue: #3a86ff;
    --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;
}

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

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

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

/* CARDS */
.phonep-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;
}
.phonep-card-title { margin: 0 0 15px 0; font-size: 1.2rem; font-weight: 900; border-bottom: 2px dashed #111; padding-bottom: 10px; }
.phonep-bg-yellow { background: var(--clr-yellow); }
.phonep-bg-white { background: var(--clr-white); }
.phonep-flex-between { display: flex; justify-content: space-between; align-items: center; }

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

/* INPUT (Khổng lồ) */
.phonep-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px;}
.phonep-input-huge {
    width: 100%; padding: 20px 15px; border: 3px solid #111; border-radius: 8px;
    font-size: 1.5rem; font-weight: 900; outline: none; box-shadow: inset 4px 4px 0px rgba(0,0,0,0.05); font-family: monospace; letter-spacing: 2px;
}
.phonep-input-huge:focus { border-color: var(--clr-blue); box-shadow: 4px 4px 0px #111; transform: translate(-2px, -2px); transition: 0.2s; }
.phonep-hint { font-size: 0.85rem; font-weight: 600; color: #555; line-height: 1.5; font-style: italic;}

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

/* KẾT QUẢ GRID */
.phonep-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; transition: 0.2s; }
@media (max-width: 500px) { .phonep-details-grid { grid-template-columns: 1fr; } .phonep-detail-item[style*="span 2"] { grid-column: span 1 !important; } }

.phonep-detail-item { background: #fdfdfd; border: 2px solid #111; border-radius: 8px; padding: 12px; box-shadow: 3px 3px 0px rgba(0,0,0,0.05);}
.phonep-detail-lbl { display: block; font-weight: 900; font-size: 0.8rem; color: #555; text-transform: uppercase; margin-bottom: 8px; }
.phonep-detail-val { font-size: 1.1rem; font-weight: 900; color: #111; display: flex; align-items: center;}

/* TAG NHÀ MẠNG */
.phonep-carrier-tag { background: #eee; padding: 4px 10px; border: 2px solid #111; border-radius: 6px; font-size: 1rem;}
.phonep-tag-viettel { background: #ee0033; color: #fff; } /* Đỏ Viettel mới */
.phonep-tag-vinaphone { background: #007bff; color: #fff; } /* Xanh Vina */
.phonep-tag-mobifone { background: #0055a5; color: #fff; border-color: #e31837; } /* Xanh/Đỏ Mobi */
.phonep-tag-vietnamobile { background: #f26522; color: #fff; } /* Cam VNMB */
.phonep-tag-gmobile { background: #ffd100; color: #111; } /* Vàng Gmobile */
.phonep-tag-itel { background: #d01d2d; color: #fff; } /* Đỏ iTel */
.phonep-tag-wintel { background: #e3000f; color: #fff; } /* Đỏ Wintel */
.phonep-tag-unknown { background: #111; color: #fff; }

/* INPUT COPY KẾT QUẢ */
.phonep-input-wrap { display: flex; gap: 8px; }
.phonep-text-input {
    flex: 1; min-width: 0; padding: 8px 10px; border: 2px solid #111; border-radius: 6px;
    font-family: monospace; font-weight: 900; font-size: 1.05rem; color: #111;
    background: #fff; outline: none; box-shadow: inset 2px 2px 0px rgba(0,0,0,0.05);
}
.phonep-btn-copy {
    background: #111; color: #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;
}
.phonep-btn-copy:active { transform: translate(2px, 2px); box-shadow: 0px 0px 0px #111; }

.phonep-intl-notice { margin-top: 15px; background: rgba(0,245,212,0.15); border: 2px dashed var(--clr-cyan); border-radius: 8px; padding: 12px; font-size: 0.9rem; font-weight: 600; color: #006655; line-height: 1.5; }

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