/* SmartIT Repair Configurator */
.rp-shell { max-width:1200px; margin:0 auto; padding:24px 16px; color:#fff; box-sizing:border-box; }
.rp-shell *, .rp-shell *::before, .rp-shell *::after { box-sizing: border-box; }
.rp-card { background:#141821; border:1px solid #1f2530; border-radius:14px; padding:24px; margin-bottom:20px; }
.rp-card h3 { margin:0 0 8px; font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:#9ca3af; font-weight:700; }
.rp-card .rp-card-sub { color:#9ca3af; font-size:13px; margin-bottom:18px; line-height:1.55; }
.rp-grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
@media (max-width:780px) { .rp-grid3 { grid-template-columns:1fr; } }
.rp-step { background:#1a1f2b; border:2px solid #232a38; border-radius:12px; padding:14px 16px; transition:.15s; }
.rp-step.active { border-color:#facc15; }
.rp-step-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.rp-step-label { font-weight:700; color:#fff; font-size:14px; }
.rp-badge { font-size:10px; padding:3px 9px; border-radius:999px; background:#23303f; color:#9ca3af; font-weight:700; letter-spacing:.08em; }
.rp-badge.on { background:#facc15; color:#000; }
.rp-select { width:100%; appearance:none; background:#0f131b; border:1px solid #2a3344; color:#fff; padding:11px 38px 11px 14px; border-radius:8px; font-size:14px; cursor:pointer; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23facc15' stroke-width='2.5' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat:no-repeat; background-position:right 12px center; }
.rp-select:disabled { opacity:.45; cursor:not-allowed; }
.rp-select:focus { outline:none; border-color:#facc15; }
.rp-headerbar { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:18px; flex-wrap:wrap; }
@media(max-width:680px){
  .rp-headerbar .rp-pill{ font-size:11px; padding:6px 10px; }
  .rp-card { padding:18px; }
}
.rp-headerbar h3 { margin-bottom:4px; }
.rp-headerbar .rp-pill { background:#facc15; color:#000; padding:8px 14px; border-radius:8px; font-weight:700; font-size:13px; white-space:nowrap; }

.rp-device { display:grid; grid-template-columns:200px 1fr; gap:24px; align-items:center; }
@media (max-width:680px) { .rp-device { grid-template-columns:1fr; text-align:center; } }
.rp-device-img { background:#0f131b; border:1px solid #1f2530; border-radius:14px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; font-size:80px; overflow:hidden; }
.rp-device-img img { width:100%; height:100%; object-fit:contain; padding:14px; }
.rp-device-info h2 { font-size:24px; margin:0 0 6px; font-weight:800; }
.rp-device-info .rp-muted { color:#9ca3af; font-size:14px; margin-bottom:10px; }

.rp-services { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin-top:14px; }
.rp-service { background:#161a23; border:2px solid #1f2530; border-radius:12px; padding:14px; cursor:pointer; transition:.15s; }
.rp-service:hover { border-color:#facc15; transform:translateY(-2px); }
.rp-service.selected { border-color:#facc15; background:#1c1f0e; }
.rp-service-icon { font-size:30px; margin-bottom:8px; }
.rp-service-name { font-weight:700; color:#fff; font-size:14px; margin-bottom:4px; }
.rp-service-price { color:#facc15; font-weight:800; font-size:15px; }
.rp-service-meta { color:#9ca3af; font-size:11px; margin-top:6px; }

.rp-summary { background:#1a1f2b; border:1px solid #2a3344; border-radius:12px; padding:18px; margin-top:18px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
@media(max-width:680px){
  .rp-summary { flex-direction:column; align-items:stretch; text-align:center; }
  .rp-summary .rp-btn { width:100%; justify-content:center; padding:14px; }
}
.rp-summary-left { flex:1; min-width:240px; }
.rp-summary .rp-price-big { font-size:32px; font-weight:900; color:#facc15; }
.rp-btn { display:inline-flex; align-items:center; gap:8px; background:#facc15; color:#000; font-weight:800; padding:13px 22px; border:none; border-radius:10px; cursor:pointer; font-size:14px; transition:.15s; text-decoration:none; }
.rp-btn:hover { background:#fde047; transform:translateY(-1px); }
.rp-btn[disabled] { background:#3a3a3a; color:#9ca3af; cursor:not-allowed; transform:none; }
.rp-btn-ghost { background:transparent; color:#fff; border:1px solid #2a3344; }
.rp-btn-ghost:hover { background:#1a1f2b; }

/* ─── Order form ──────────────────────────────────────────────────────── */
.rp-form-wrap { display:none; }
.rp-form-wrap.show { display:block; }
.rp-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:20px; }
.rp-tab { background:#161a23; border:2px solid #232a38; border-radius:12px; padding:14px; display:flex; align-items:center; gap:12px; }
.rp-tab.on { border-color:#facc15; background:#1c1f0e; }
.rp-tab-num { width:28px; height:28px; border-radius:50%; background:#23303f; color:#9ca3af; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; }
.rp-tab.on .rp-tab-num { background:#facc15; color:#000; }
.rp-tab.done .rp-tab-num { background:#22c55e; color:#000; }
.rp-tab-label { font-weight:700; font-size:13px; }
.rp-form-row { display:grid; gap:12px; margin-bottom:14px; }
.rp-form-row.cols-2 { grid-template-columns:1fr 1fr; }
.rp-form-row.cols-3 { grid-template-columns:1fr 80px 100px 1fr; }
@media (max-width:680px) {
  .rp-form-row.cols-2, .rp-form-row.cols-3 { grid-template-columns:1fr; }
  .rp-steps { grid-template-columns:1fr; }
  .rp-tab   { padding:10px 12px; }
}
.rp-field label { display:block; font-size:11px; color:#9ca3af; font-weight:700; text-transform:uppercase; letter-spacing:.05em; margin-bottom:5px; }
.rp-field label .rp-req { color:#ef4444; }
.rp-input, .rp-textarea { width:100%; background:#0f131b; border:1px solid #2a3344; color:#fff; padding:11px 14px; border-radius:8px; font-size:14px; font-family:inherit; }
.rp-input:focus, .rp-textarea:focus { outline:none; border-color:#facc15; }
.rp-textarea { resize:vertical; min-height:90px; }
.rp-dropzone { border:2px dashed #2a3344; border-radius:12px; padding:30px; text-align:center; cursor:pointer; transition:.15s; background:#0f131b; }
.rp-dropzone:hover { border-color:#facc15; background:#161a23; }
.rp-dropzone-icon { font-size:36px; margin-bottom:8px; }
.rp-dropzone-text { color:#fff; font-weight:600; margin-bottom:4px; }
.rp-dropzone-sub { color:#9ca3af; font-size:12px; }
.rp-photo-previews { display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.rp-photo { width:90px; height:90px; border-radius:8px; overflow:hidden; position:relative; border:1px solid #2a3344; }
.rp-photo img { width:100%; height:100%; object-fit:cover; }
.rp-photo button { position:absolute; top:4px; right:4px; background:rgba(0,0,0,.7); color:#fff; border:none; width:22px; height:22px; border-radius:50%; cursor:pointer; font-size:12px; }
.rp-actions { display:flex; justify-content:space-between; align-items:center; margin-top:24px; }
.rp-success { background:#0f2a17; border:1px solid #22c55e; color:#86efac; border-radius:12px; padding:24px; text-align:center; }
.rp-success h3 { color:#22c55e; font-size:22px; margin-bottom:8px; }
.rp-error { background:#2b0f11; border:1px solid #ef4444; color:#fca5a5; padding:12px 14px; border-radius:8px; margin-bottom:14px; }
