/* =========================================================
   izMenu - Simulador Mobile DEV em moldura de celular
   Arquivo separado/provisório. Para remover depois:
   1) apague este arquivo
   2) remova a chamada no index.php
   3) apague assets/js/dev-mobile-simulator.js
   ========================================================= */

.dev-mobile-toggle{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:184px;
  min-height:54px;
  padding:13px 18px;
  border-radius:18px;
  border:1px solid rgba(245,184,20,.62);
  background:linear-gradient(135deg,#171717,#050505);
  color:#fff;
  font-weight:950;
  font-size:15px;
  letter-spacing:.2px;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(0,0,0,.62),0 0 24px rgba(226,41,26,.24);
}
.dev-mobile-toggle span{font-size:18px;line-height:1}
.dev-mobile-toggle b{font:inherit}
.dev-mobile-toggle:hover{transform:translateY(-1px);border-color:#ef2b1f;box-shadow:0 16px 42px rgba(0,0,0,.75),0 0 30px rgba(226,41,26,.44)}
@media(min-width:761px){.dev-mobile-toggle{display:flex}}

.dev-phone-overlay{
  position:fixed;
  inset:0;
  z-index:99990;
  display:none;
  background:
    radial-gradient(circle at 50% 18%,rgba(82,82,82,.16),transparent 38%),
    radial-gradient(circle at 50% 100%,rgba(226,41,26,.10),transparent 42%),
    linear-gradient(135deg,#050505,#101010 52%,#030303);
  overflow:auto;
}
.dev-phone-overlay.open{display:block}
body.iz-dev-phone-mode{overflow:hidden!important}
body.iz-dev-phone-mode .dev-mobile-toggle{right:34px;bottom:34px}

.dev-phone-topbar{
  position:fixed;
  left:26px;
  top:22px;
  right:26px;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.dev-mini-brand{
  display:flex;
  align-items:center;
  gap:22px;
  color:#fff;
  font-weight:950;
  letter-spacing:.7px;
  text-shadow:0 2px 16px rgba(0,0,0,.7);
}
.dev-mini-brand span{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(239,43,31,.36);background:rgba(0,0,0,.45);font-size:25px;
}
.dev-mini-brand b{font-size:17px}
.dev-phone-close{
  pointer-events:auto;
  width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.13);
  background:rgba(0,0,0,.58);color:#fff;font-size:26px;font-weight:900;cursor:pointer;
}
.dev-phone-close:hover{border-color:#ef2b1f;color:#ff3a31}

.dev-phone-stage{
  min-height:100vh;
  padding:28px 260px 38px 260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:72px;
  box-sizing:border-box;
}
.dev-phone-device{
  --phone-w:390px;
  --phone-h:844px;
  position:relative;
  flex:0 0 auto;
  width:var(--phone-w);
  height:var(--phone-h);
  padding:13px;
  border-radius:54px;
  background:linear-gradient(145deg,#353535,#050505 32%,#191919 70%,#5a5a5a);
  box-shadow:
    0 0 0 2px rgba(255,255,255,.17),
    inset 0 0 0 1px rgba(255,255,255,.23),
    0 32px 110px rgba(0,0,0,.82),
    0 0 60px rgba(226,41,26,.14);
  box-sizing:content-box;
}
.dev-phone-device:before,
.dev-phone-device:after{
  content:'';position:absolute;background:linear-gradient(#777,#222);border-radius:8px;opacity:.8;
}
.dev-phone-device:before{left:-5px;top:150px;width:4px;height:92px}
.dev-phone-device:after{right:-5px;top:240px;width:4px;height:112px}
.dev-phone-notch{
  position:absolute;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:178px;
  height:34px;
  border-radius:0 0 22px 22px;
  background:#000;
  z-index:4;
}
.dev-phone-status{
  height:42px;
  border-radius:41px 41px 0 0;
  background:#fff;
  color:#050505;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 30px 0 34px;
  box-sizing:border-box;
  font-size:15px;
  font-weight:800;
  overflow:hidden;
}
.dev-phone-status span{font-size:12px;letter-spacing:.5px;opacity:.95}
.dev-phone-address{
  height:50px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 13px 10px;
  box-sizing:border-box;
  gap:8px;
}
.dev-phone-address b{
  height:34px;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#e9edf2;
  color:#111;
  font-size:15px;
  font-weight:500;
}
.dev-phone-address span,
.dev-phone-address em{
  width:30px;height:34px;display:grid;place-items:center;color:#7f858b;font-style:normal;font-size:20px;
}
#devPhoneFrame{
  width:390px;
  height:692px;
  display:block;
  border:0;
  background:#070707;
}
.dev-phone-bottom{
  height:60px;
  border-radius:0 0 41px 41px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-around;
  color:#8b9198;
  font-weight:900;
  font-size:34px;
  overflow:hidden;
}
.dev-phone-bottom b{
  width:44px;height:44px;border-radius:50%;background:#edf0f4;color:#8b9198;display:grid;place-items:center;font-size:34px;line-height:1;
}
.dev-phone-bottom i{
  min-width:33px;height:33px;border-radius:9px;border:2px solid #8b9198;display:grid;place-items:center;font-size:16px;font-style:normal;color:#737a82;
}

.dev-phone-help{
  width:286px;
  padding:22px 24px;
  border-radius:20px;
  border:1px solid rgba(245,184,20,.55);
  background:linear-gradient(145deg,rgba(17,17,17,.92),rgba(5,5,5,.92));
  color:#fff;
  box-shadow:0 20px 65px rgba(0,0,0,.55),0 0 24px rgba(245,184,20,.12);
}
.dev-phone-help h3{margin:0 0 10px;font-size:22px;font-weight:950}
.dev-phone-help p{margin:0 0 18px;color:#d5d5d5;line-height:1.45;font-size:14px}
.dev-phone-reload{
  width:100%;border:0;border-radius:13px;padding:12px 15px;background:#f5b814;color:#080808;font-weight:950;cursor:pointer;
}
.dev-phone-reload:hover{filter:brightness(1.05)}

/* Dentro do iframe: só garante que o simulador não apareça duplicado. */
html.iz-dev-phone-content .dev-mobile-toggle,
html.iz-dev-phone-content .dev-phone-overlay{display:none!important}
html.iz-dev-phone-content,
html.iz-dev-phone-content body{width:100%;min-width:0;overflow-x:hidden;background:#070707}

@media(max-width:1150px){
  .dev-phone-stage{padding-left:24px;padding-right:24px;gap:28px}
  .dev-phone-help{display:none}
}
@media(max-height:920px){
  .dev-phone-stage{align-items:flex-start;padding-top:24px;padding-bottom:24px}
  .dev-phone-device{transform:scale(.88);transform-origin:top center;margin-bottom:-100px}
}
@media(max-height:780px){
  .dev-phone-device{transform:scale(.78);margin-bottom:-185px}
}
