
/* ServerPACS v555 - Generador MWL aleatorio */
.mwl-random-modal-v555.hidden{display:none}
.mwl-random-modal-v555{
  position:fixed;
  inset:0;
  z-index:28000;
  background:rgba(6,12,18,.78);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.mwl-random-box-v555{
  width:min(940px,96vw);
  max-height:92vh;
  overflow:auto;
  background:#1a2632;
  border:1px solid #3a5368;
  border-radius:8px;
  color:#edf6ff;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  padding:14px;
}
.mwl-random-head-v555{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding-bottom:10px;
  margin-bottom:12px;
  border-bottom:1px solid #354c60;
}
.mwl-random-head-v555 b{font-size:18px}
.mwl-random-head-v555 small{display:block;color:#aab7c4;margin-top:4px}
#mwlRandomCloseV555{
  width:30px!important;
  min-width:30px!important;
  height:28px!important;
  padding:0!important;
}
.mwl-random-warning-v555{
  background:rgba(215,167,66,.12);
  border:1px solid rgba(215,167,66,.55);
  color:#ffe3a3;
  border-radius:6px;
  padding:10px;
  margin-bottom:12px;
}
.mwl-random-warning-v555 p{margin:6px 0 0}
.mwl-random-grid-v555{
  display:grid;
  grid-template-columns:repeat(3,minmax(180px,1fr));
  gap:10px;
}
.mwl-random-grid-v555 label{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.mwl-random-grid-v555 span{
  font-size:12px;
  font-weight:800;
  color:#d9edf9;
}
.mwl-random-grid-v555 input{
  width:100%;
  box-sizing:border-box;
}
.mwl-random-options-v555{
  margin-top:12px;
  border:1px solid #354c60;
  border-radius:6px;
  padding:10px;
}
.mwl-random-actions-v555{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.mwl-random-actions-v555 button.primary{
  background:linear-gradient(#3b9ae0,#1f75b4)!important;
  border-color:#56aee9!important;
}
.mwl-random-status-v555{
  margin-top:10px;
  padding:9px;
  border-radius:6px;
  border:1px solid #3a5368;
}
.mwl-random-status-v555.info{background:rgba(74,163,219,.12);color:#9bd7ff;border-color:#4aa3db}
.mwl-random-status-v555.ok{background:rgba(64,178,122,.12);color:#a8f0c9;border-color:#40b27a}
.mwl-random-status-v555.error{background:rgba(201,77,77,.12);color:#ffb4b4;border-color:#c94d4d}
.mwl-random-details-v555{
  margin-top:10px;
  border:1px solid #354c60;
  border-radius:6px;
  padding:8px;
}
#mwlRandomDiagV555{
  max-height:300px;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  background:#0f1822;
  border-radius:6px;
  padding:10px;
}

html[data-servpacs-theme='light'] .mwl-random-box-v555{
  background:#ffffff!important;
  color:#263645!important;
  border-color:#c5d5df!important;
}
html[data-servpacs-theme='light'] .mwl-random-head-v555,
html[data-servpacs-theme='light'] .mwl-random-options-v555,
html[data-servpacs-theme='light'] .mwl-random-details-v555{
  border-color:#d6e2ea!important;
}
html[data-servpacs-theme='light'] .mwl-random-head-v555 small,
html[data-servpacs-theme='light'] .mwl-random-grid-v555 span{
  color:#526b80!important;
}
html[data-servpacs-theme='light'] .mwl-random-warning-v555{
  background:#fff7e6!important;
  color:#805900!important;
  border-color:#f7d28b!important;
}
html[data-servpacs-theme='light'] #mwlRandomDiagV555{
  background:#f6f9fb!important;
  color:#263645!important;
}

@media(max-width:760px){
  .mwl-random-modal-v555{padding:8px}
  .mwl-random-box-v555{max-height:calc(100vh - 16px)}
  .mwl-random-grid-v555{grid-template-columns:1fr}
}
