/* Remote Support Portal (RSP) - UI estilo Windows/RDP */
.rsp-shell{
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  display:flex; justify-content:center; align-items:center;
  padding: 24px;
}
.rsp-window{
  width: min(860px, 100%);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.08);
}
.rsp-theme-dark .rsp-window{
  background: #0c0f14;
  color: #e8eef7;
}
.rsp-theme-light .rsp-window{
  background: #f6f7fb;
  color: #0b1220;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}

.rsp-titlebar{
  height: 44px;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rsp-theme-light .rsp-titlebar{
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.01));
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.rsp-title-left{ display:flex; gap:10px; align-items:center; }
.rsp-appicon{
  width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg, #36c, #7af);
  box-shadow: 0 6px 18px rgba(80,140,255,.35);
}
.rsp-title{ font-weight: 600; font-size: 13.5px; opacity:.95; }

.rsp-title-right{ display:flex; gap:10px; }
.rsp-btn{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.22);
}
.rsp-theme-light .rsp-btn{ background: rgba(0,0,0,.18); }
.rsp-btn.rsp-close{ background: rgba(255,85,85,.75); }
.rsp-btn.rsp-max{ background: rgba(255,210,77,.70); }
.rsp-btn.rsp-min{ background: rgba(72,214,144,.70); }

.rsp-content{ padding: 22px; }
.rsp-header{
  display:flex; gap:16px; align-items:center;
  margin-bottom: 18px;
}
.rsp-monitor{
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  position:relative;
}
.rsp-theme-light .rsp-monitor{
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
  border: 1px solid rgba(0,0,0,.12);
}
.rsp-monitor:before{
  content:"";
  position:absolute; inset: 12px 10px 16px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(80,140,255,.25), rgba(120,240,255,.12));
  border: 1px solid rgba(120,200,255,.30);
}
.rsp-monitor:after{
  content:"";
  position:absolute; left: 18px; right: 18px; bottom: 8px; height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.rsp-theme-light .rsp-monitor:after{ background: rgba(0,0,0,.15); }

.rsp-h1{ font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.rsp-sub{ font-size: 13px; opacity: .80; margin-top: 3px; }

.rsp-form{ margin-top: 14px; }
.rsp-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px){
  .rsp-grid{ grid-template-columns: 1fr; }
}

.rsp-field span{
  display:block; font-size: 12px; opacity:.85; margin-bottom: 7px;
}
.rsp-field input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  outline: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: inherit;
}
.rsp-theme-light .rsp-field input{
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.85);
}
.rsp-field input:focus{
  border-color: rgba(120,200,255,.55);
  box-shadow: 0 0 0 4px rgba(120,200,255,.12);
}

.rsp-actions{
  display:flex; gap: 14px; align-items:center; justify-content:space-between;
  margin-top: 16px;
  flex-wrap: wrap;
}
.rsp-primary{
  display:inline-flex; align-items:center; gap:10px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(80,140,255,.85), rgba(60,110,240,.85));
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
}
.rsp-primary:hover{ filter: brightness(1.04); }
.rsp-dot{
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 4px rgba(255,255,255,.14);
}

.rsp-secondary{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: inherit;
  cursor: pointer;
}
.rsp-theme-light .rsp-secondary{
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.70);
}
.rsp-secondary:hover{ filter: brightness(1.05); }

.rsp-privacy{
  font-size: 12px; opacity: .75;
  max-width: 520px;
}
.rsp-status{
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.rsp-theme-light .rsp-status{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.65);
}
.rsp-steps{ display:grid; gap: 10px; }
.rsp-step{ display:flex; gap: 10px; align-items:center; }
.rsp-bullet{
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 0 rgba(120,200,255,0);
}
.rsp-theme-light .rsp-bullet{
  background: rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.12);
}
.rsp-steptext{ font-size: 13px; opacity: .78; }
.rsp-step.rsp-active .rsp-bullet{
  background: rgba(120,200,255,.60);
  border-color: rgba(120,200,255,.65);
  box-shadow: 0 0 0 4px rgba(120,200,255,.14);
}
.rsp-step.rsp-done .rsp-bullet{
  background: rgba(72,214,144,.55);
  border-color: rgba(72,214,144,.55);
}

.rsp-result{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.rsp-theme-light .rsp-result{ border-top: 1px solid rgba(0,0,0,.12); }

.rsp-card{
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.rsp-theme-light .rsp-card{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.85);
}
.rsp-kv{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
  font-size: 13px;
}
@media (max-width: 520px){
  .rsp-kv{ grid-template-columns: 1fr; }
}
.rsp-k{ opacity: .70; }
.rsp-v{ font-weight: 650; }

.rsp-msg{
  margin-top: 10px;
  font-size: 13px;
  opacity: .95;
  line-height: 1.45;
}
.rsp-error{
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,85,85,.35);
  background: rgba(255,85,85,.10);
}
.rsp-footer-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap: wrap;
}
.rsp-linkbtn{
  display:inline-flex;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  text-decoration:none;
  color: inherit;
  background: rgba(255,255,255,.05);
  font-weight: 650;
}
.rsp-theme-light .rsp-linkbtn{
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.70);
}
.rsp-linkbtn:hover{ filter: brightness(1.05); }

.rsp-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 10px 14px;
  font-size: 12px;
  opacity: .70;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.rsp-theme-light .rsp-bottom{
  border-top: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.rsp-muted{ opacity: .85; }
