/* Trang VPSTTT IDE (/ide/): bổ sung cho ../assets/css/app.css (dùng chung biến màu, khoảng cách). */
.ide-steps{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.ide-steps{grid-template-columns:1fr}}

/* Lệnh cài một dòng + nút chép */
.ide-cmd{display:flex;gap:12px;align-items:center;max-width:860px;margin:32px auto 0;padding:12px 12px 12px 20px;
  background:#111827;border-radius:var(--radius);box-shadow:var(--shadow)}
.ide-cmd code{flex:1;min-width:0;color:#e5e7eb;font:500 15px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  overflow-x:auto;white-space:nowrap}
.ide-cmd .btn{flex:none;min-height:44px}
@media(max-width:560px){
  .ide-cmd{flex-direction:column;align-items:stretch;padding:16px}
  .ide-cmd code{white-space:pre-wrap;overflow-wrap:anywhere}   /* xuống dòng ở dấu cách, chỉ cắt giữa chữ khi quá dài */
}

/* Chưa có bản phát hành: làm mờ lệnh cài, ghi chú dưới lệnh */
.ide-cmd--cho code{color:#9ca3af}   /* xám nhạt trên nền tối: vẫn đủ tương phản (~6,9:1) */
.ide-cmd__cho{max-width:860px;margin:10px auto 0;color:var(--text-light);font-size:14.5px;text-align:center}

/* Bản phát hành mới nhất (ide.js điền từ phien-ban.json) */
.ide-release{max-width:860px;margin:20px auto 0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:24px 26px}
.ide-release__head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.ide-release__head h3{font-size:20px}
.ide-release__lead{margin-top:8px;color:var(--text-light)}
.ide-release__lead a{color:var(--primary);font-weight:600}
.ide-release__links{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.ide-release__links .btn{min-height:44px}
.ide-release__changes{margin-top:18px;border-top:1px solid var(--border-soft);padding-top:6px}
.ide-release__changes h4{font-size:15px;margin:14px 0 6px;color:var(--primary-dark)}
.ide-release__changes ul{list-style:disc;padding-left:20px;color:#374151;font-size:14.5px;display:grid;gap:4px}
@media(max-width:560px){.ide-release{padding:20px}}

/* Ghi chú dưới bảng cấu hình */
.ide-ghi-chu{display:grid;gap:10px;margin-top:22px}
.ide-ghi-chu li{display:flex;gap:11px;color:#374151}
.ide-ghi-chu svg{width:19px;height:19px;flex:none;color:var(--accent-dark);margin-top:3px}

/* Ảnh giao diện IDE (ide/anh/: chụp IDE thật chạy bằng dự án mẫu, không có dữ liệu thật) */
.ide-hero-shot{margin:48px 0 0}
.ide-frame{border-radius:var(--radius);overflow:hidden;background:#1e1e1e;border:1px solid rgba(75,36,144,.22);box-shadow:var(--shadow-lg)}
.ide-frame__bar{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px;background:#2b2a33}
.ide-frame__bar span{width:11px;height:11px;border-radius:50%;background:#ff5f57;flex:none}
.ide-frame__bar span:nth-child(2){background:#febc2e}
.ide-frame__bar span:nth-child(3){background:#28c840}
.ide-frame__bar b{flex:0 1 320px;margin:0 auto;padding:3px 14px;border-radius:7px;background:#1c1b22;color:#b4b2c0;
  font:500 12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-align:center;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ide-frame img{display:block;width:100%;height:auto}
@media(max-width:560px){.ide-hero-shot{margin-top:32px}.ide-frame__bar{height:28px;gap:5px;padding:0 10px}
  .ide-frame__bar span{width:8px;height:8px}.ide-frame__bar b{font-size:11px;padding:1px 10px}}

/* Mục "Giao diện": nền tối cho ảnh IDE nền tối */
.ide-show{background:#17112b;color:#d4d0e2}
.ide-show .section-head h2{color:#fff}
.ide-show .section-head p{color:#c9c4dc}
.ide-show .eyebrow{color:#c4b5fd}
.ide-shots{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.ide-shot{margin:0;display:flex;flex-direction:column;background:#221a3d;border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius);overflow:hidden}
.ide-shot__img{display:block;background:#1e1e1e;border-bottom:1px solid rgba(255,255,255,.07)}
.ide-shot__img img{display:block;width:100%;height:auto;transition:transform .2s var(--ease)}
.ide-shot__img:hover img{transform:scale(1.015)}
.ide-shot__img:focus-visible{outline:3px solid #c4b5fd;outline-offset:-3px}
.ide-shot figcaption{padding:18px 22px 22px}
.ide-shot h3{color:#fff;font-size:19px}
.ide-shot p{margin-top:6px;color:#c9c4dc;font-size:15.5px}
/* Ảnh điện thoại: khung máy bên trái, chữ bên phải */
.ide-shot--phone{flex-direction:row;align-items:center;gap:8px;padding:24px 8px 24px 28px}
.ide-shot--phone .ide-shot__img{flex:none;width:180px;border:6px solid #0c0a14;border-radius:26px;overflow:hidden;
  box-shadow:0 18px 40px -18px rgba(0,0,0,.7)}
.ide-shot--phone figcaption{padding:0 16px}
@media(prefers-reduced-motion:reduce){.ide-shot__img img{transition:none}.ide-shot__img:hover img{transform:none}}
@media(max-width:780px){.ide-shots{grid-template-columns:1fr}}
@media(max-width:520px){
  .ide-shot--phone{flex-direction:column;align-items:center;padding:24px 0 0}
  .ide-shot--phone .ide-shot__img{width:200px}
  .ide-shot--phone figcaption{padding:18px 22px 22px;align-self:stretch}
}
