/* Digitmax CMS Installer v1.0.2 — layout baseado na referência visual aprovada */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.digitmax-installer{margin:0;min-height:100vh;min-height:100dvh;background:radial-gradient(ellipse 700px 540px at -3% 6%,#ab10d0 0%,rgba(147,19,215,.65) 27%,transparent 74%),radial-gradient(ellipse 890px 600px at 99% 97%,#4e22c8 0%,rgba(48,42,194,.7) 35%,transparent 75%),radial-gradient(ellipse 600px 550px at 70% 11%,#1b3aba,transparent 72%),linear-gradient(135deg,#070424 4%,#0c0646 50%,#060b41 100%);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#151449;padding:22px 24px 18px;position:relative;overflow-x:hidden}
body.digitmax-installer:before,body.digitmax-installer:after{content:"";position:absolute;pointer-events:none;z-index:0;border-radius:50%;transform:rotate(-18deg)}
body.digitmax-installer:before{top:-470px;left:-430px;width:950px;height:820px;border:2px solid #bd5fff;box-shadow:0 0 28px #ce4eff,0 0 55px #8d23ff}
body.digitmax-installer:after{right:-340px;bottom:-480px;width:950px;height:870px;border:2px solid #527bff;box-shadow:0 0 32px #6558ff,0 0 70px #523dff}
.symbol-bank{position:absolute;width:0;height:0;overflow:hidden}
.digitmax-installer svg:not(.symbol-bank){width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.install-header{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:40px;max-width:1240px;margin:0 auto 20px;min-height:100px;color:#fff}
.header-brand{position:relative;width:330px;height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.header-brand img{width:330px;max-width:100%;max-height:76px;object-fit:contain;object-position:center top;filter:brightness(0) invert(1);clip-path:inset(0 0 20% 0)}
.header-brand .tagline{font-size:13px;font-weight:600;color:#ff564d;line-height:1;letter-spacing:-.1px;position:absolute;bottom:5px;right:2px}
.head-divider{width:2px;height:66px;background:linear-gradient(transparent,#fff,transparent);opacity:.8}
.header-titles h1{font-size:clamp(25px,3.1vw,40px);letter-spacing:-1.7px;font-weight:830;color:#fff;margin:0 0 8px}
.header-titles p{font-size:clamp(12px,1.5vw,18px);font-weight:400;color:#e0e1ff;margin:0}
.frame-wrap{position:relative;z-index:1;max-width:1310px;margin:auto;padding:8px;border-radius:39px;background:linear-gradient(120deg,#e750ff 0%,#8e50ff 24%,#355dff 62%,#39d9ff 100%);box-shadow:0 0 0 2px #ffffff55,0 0 16px 3px #ab3fff,0 0 35px 5px #476dff,0 30px 95px #04041cab}
.installer-pane{background:linear-gradient(145deg,#fff 0%,#fbfaff 55%,#f3f3ff 100%);min-height:680px;border-radius:31px;border:1px solid #ffffffee;padding:20px clamp(20px,5.2vw,72px) 25px;box-shadow:inset 0 2px 28px #5e36cf1e}
.microtop{display:flex;justify-content:space-between;align-items:center;min-height:32px}
.micro-label{font-size:10px;color:#928cb2;letter-spacing:1.6px;font-weight:800}
.version-chip{display:flex;align-items:center;gap:9px;background:#efebff;border-radius:30px;padding:7px 13px;color:#14114e;font-weight:750;font-size:12px;white-space:nowrap}
.version-chip svg{background:linear-gradient(135deg,#ac31ff,#5914d7);width:26px!important;height:26px!important;padding:5px;border-radius:50%;color:white}
.wizard-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));position:relative;max-width:1030px;margin:16px auto 12px;align-items:start}
.wizard-nav:before{position:absolute;top:17px;left:8%;right:8%;height:2px;background:linear-gradient(90deg,#7654e9,#d7cff0);content:"";z-index:0}
.wizard-node{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;position:relative;z-index:1;font-size:11px;font-weight:750;line-height:1.2;color:#3b365e}
.wizard-dot{display:grid;place-items:center;width:35px;height:35px;font-size:14px;border:2px solid #b8addd;background:#fff;border-radius:50%;font-weight:800;color:#26255c;box-shadow:0 2px 3px #00000009}
.wizard-dot svg{font-size:18px}
.wizard-node.current{color:#6820ec}
.wizard-node.current .wizard-dot,.wizard-node.completed .wizard-dot{background:linear-gradient(135deg,#8a1aff,#5320cf);color:#fff;border-color:#6720e6;box-shadow:0 0 0 4px #7b3aff12}
.wizard-node.completed{color:#4e319a}
.page-head{text-align:center;margin:16px auto 24px;max-width:810px}
.page-head h2{font-size:clamp(23px,2.6vw,35px);letter-spacing:-1.2px;color:#17143b;font-weight:850;line-height:1.15;margin:0 0 9px}
.page-head h2 span{color:#7021e8}
.page-head p{color:#424063;font-size:14px;line-height:1.55;margin:0}
.welcome-head{margin:4px auto 18px;max-width:900px}
.welcome-head h2{font-size:clamp(28px,3.3vw,41px)}
.welcome-head p{font-size:clamp(13px,1.36vw,17px)}
.intro-art{height:219px;display:flex;align-items:center;justify-content:center;margin:4px auto -4px;overflow:visible}
.intro-art img{height:100%;width:min(670px,100%);object-fit:contain}
.options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1040px;margin:0 auto}
.option-card{min-height:174px;display:flex;align-items:center;flex-direction:column;justify-content:center;position:relative;padding:20px 18px 15px;border-radius:18px;border:2px solid #c9c1e8;background:linear-gradient(180deg,#fff,#fdfcff);cursor:pointer;gap:7px;text-align:center;transition:box-shadow .2s,transform .2s,border .2s}
.option-card.selected,.option-card:has(input:checked){border-color:#7625f2;background:linear-gradient(180deg,#f5efff,#fbf9ff);box-shadow:inset 0 0 0 1px #8755f5}
.option-card:hover:not(.unavailable){transform:translateY(-2px);box-shadow:0 10px 25px #5e3dad1a}
.option-card input{position:absolute;top:14px;left:16px;appearance:none;width:19px;height:19px;border:1.5px solid #9c90cd;border-radius:50%;background:white}
.option-card input:checked{border:2px solid #7b1dff;background:radial-gradient(circle,#7e1fff 0 52%,#fff 55%)}
.option-card.unavailable{opacity:.68;cursor:not-allowed}
.option-icon{font-size:52px;line-height:1;color:#5224d6;height:58px}
.option-card b{font-size:19px;color:#131243;font-weight:850}
.option-card small{font-size:13px;line-height:1.35;color:#38345c;max-width:225px}
.option-card em{font-size:11px;color:#8d4dba;font-style:normal;font-weight:600}
.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:20px 0 12px}.wizard-actions.right{justify-content:flex-end}
.wizard-btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:11px;border-radius:13px;padding:13px 23px;min-height:48px;font-size:15px;font-weight:780;text-decoration:none;transition:transform .15s,box-shadow .15s;color:#251457}
.wizard-btn svg{font-size:22px}
.wizard-btn.primary{background:linear-gradient(100deg,#942aff,#5611c9);box-shadow:0 9px 20px #7020c72f;color:white;min-width:166px}
.wizard-btn.primary:hover{transform:translateY(-1px);box-shadow:0 11px 24px #7020c749}
.wizard-btn.secondary{background:#fff;border:1.5px solid #9e8fd2;color:#413291;box-shadow:0 3px 9px #5a4d9010}
.wizard-btn:disabled{opacity:.45;cursor:not-allowed}
.installer-benefits{border-top:1px solid #d3c7e6;display:flex;justify-content:space-between;gap:8px;margin-top:20px;padding:15px 0 0;color:#191747}
.installer-benefits span{display:flex;align-items:center;gap:9px;font-weight:590;font-size:11px;line-height:1.35;flex:1;min-width:0;border-right:1px solid #a99cc9;padding:0 10px}
.installer-benefits span:last-child{border:0}
.installer-benefits svg{font-size:29px;color:#251263}
.installer-benefits span:first-child svg{color:#ff9400}
.outside-footer{text-align:center;position:relative;z-index:1;color:#b9b0f3;font-size:10px;letter-spacing:2px;margin-top:13px}
.stage-grid{display:grid;grid-template-columns:42% 58%;align-items:center;max-width:1050px;min-height:362px;margin:0 auto;gap:10px}
.stage-visual{min-height:300px;position:relative;display:flex;align-items:center;justify-content:center;isolation:isolate}
.visual-halo{position:absolute;z-index:-1;width:290px;height:260px;border-radius:45%;background:radial-gradient(circle,#ebe0ff,#f2edff 58%,transparent 73%)}
.stage-circle,.db-graphic,.settings-graphic,.user-graphic{width:202px;height:175px;border:9px solid #8d52ed;border-radius:22px;display:grid;place-items:center;background:linear-gradient(140deg,#a372ff,#5116c9);color:#fff;box-shadow:0 17px 0 #c9bbff,0 22px 32px #4934a852;transform:rotate(-3deg)}
.stage-circle{border-radius:23px}.stage-circle svg{font-size:105px}
.little-server{position:absolute;left:12%;bottom:14%;font-size:92px;color:#5d2ee1;filter:drop-shadow(0 12px 5px #4b39973b)}
.big-ok{position:absolute;right:12%;bottom:18%;width:90px;height:90px;background:linear-gradient(135deg,#45e14c,#06a51f);border:6px solid #eefee9;border-radius:50%;color:white;display:grid;place-items:center;box-shadow:0 14px 22px #31ab4865}
.big-ok svg{font-size:50px}
.db-graphic{width:195px;height:195px;border:0;border-radius:25px;background:linear-gradient(140deg,#b77bff,#6033ce);box-shadow:0 16px 0 #dad1fb,0 25px 30px #5a3ac044}
.db-graphic svg{font-size:150px}
.gear-graphic{position:absolute;font-size:92px;bottom:18%;right:11%;color:#8c4ee8;filter:drop-shadow(2px 8px 7px #4b2fa830)}
.settings-graphic{width:220px;height:170px;background:linear-gradient(145deg,#d2adff,#9358eb);border:9px solid #ae7afa}
.settings-graphic svg{font-size:108px;color:#6b2ce0}
.user-graphic{width:206px;height:206px;border-radius:50%;background:linear-gradient(145deg,#a364ff,#5f2ec9);border:10px solid #c7a9ff;box-shadow:0 18px 0 #cbb8f7,0 27px 35px #5b34b357}
.user-graphic svg{font-size:120px}
.shield-graphic{position:absolute;right:14%;bottom:12%;font-size:118px;color:#5120bb;filter:drop-shadow(0 12px 8px #3e2e9d33)}
.req-list{border:1px solid #d4cbe8;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 12px 30px #533bc10a}
.req-line{display:flex;align-items:center;gap:12px;border-bottom:1px solid #ece9f6;min-height:42px;padding:7px 13px;font-size:12px}.req-line:last-child{border:0}
.req-name{display:flex;align-items:center;gap:10px;flex:1;font-weight:700;color:#292251}.req-name svg{font-size:21px;color:#4934a3}.req-detail{white-space:nowrap;color:#3b3456;font-size:11px}
.status-tick{border-radius:100px;padding:3px 9px;min-width:26px;text-align:center;font-weight:850}.status-tick.good{background:#d7f9df;color:#0d9c40}.status-tick.warning,.status-tick.pending{background:#f1edff;color:#7d55bc}.status-tick.bad{background:#ffe5e5;color:#c5232f}
.status-banner{display:flex;align-items:center;gap:12px;border-radius:13px;padding:12px 15px;margin-top:14px;line-height:1.4}.status-banner svg{font-size:29px}.status-banner b,.status-banner small{display:block}.status-banner b{font-size:13px;font-weight:850}.status-banner small{font-size:11px;margin-top:2px}.status-banner.success{background:#dffae7;color:#096b26}.status-banner.failure{background:#fff0ef;color:#912b2b}
.stage-form{max-width:540px}.field-row{display:grid;grid-template-columns:150px 1fr;gap:13px;align-items:center;margin-bottom:12px}.field-row label{font-size:12px;font-weight:780;color:#211d44;text-align:right}.stage-form input,.stage-form select{display:block;width:100%;height:42px;border:1px solid #c9c2e0;background:#fff;border-radius:8px;padding:9px 13px;color:#26214a;font:inherit;font-size:13px;outline:none}.stage-form input:focus,.stage-form select:focus{border-color:#8034f4;box-shadow:0 0 0 3px #8a35ef20}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:6px;top:5px;bottom:5px;width:36px;border:none;background:transparent;color:#34266d;cursor:pointer;font-size:18px;display:grid;place-items:center}.helper-note{font-size:11px;color:#7e7294;line-height:1.4;margin:10px 0 14px}.password-meter{height:9px;margin:10px 0 3px 163px;border-radius:99px;background:#e4e0ef;overflow:hidden}.password-meter span{display:block;background:linear-gradient(90deg,#fea900,#1ac364);height:100%;width:0;transition:width .2s}.strength-text{margin-left:163px;font-size:11px;font-weight:700;color:#6252a0}.stage-form .wizard-actions{margin-left:163px;justify-content:space-between}.stage-form .wizard-btn{padding:9px 14px;font-size:13px;min-height:42px}.stage-form .wizard-btn svg{font-size:18px}.stage-form .wizard-btn.primary{min-width:138px}
.stage-fields .wizard-actions{margin-top:16px}.stage-fields .wizard-actions:only-child{margin-top:24px}.task-list.clean-list{display:grid;gap:6px;background:#faf9ff;border:1px solid #d4c4f1;border-radius:12px;padding:14px}.task-list.clean-list div{display:flex;align-items:center;gap:10px;font-size:13px;color:#2f2b50}.task-list.clean-list svg{color:#07a941;font-size:20px}
.big-ok.finished{position:static;width:150px;height:150px}.big-ok.finished svg{font-size:92px}.finish-message{max-width:600px;text-align:center;margin:10px auto 45px}.finish-check{border-radius:50%;width:125px;height:125px;margin:0 auto 20px;background:linear-gradient(135deg,#54e458,#09aa28);color:white;display:grid;place-items:center;box-shadow:0 16px 30px #11a03b2c}.finish-check svg{font-size:79px}.finish-message h3{margin:10px 0;font-size:24px}.finish-message p{color:#77718e;margin:0 auto 23px}.finish-message .wizard-btn{margin:4px}.next-steps{max-width:610px;margin:35px auto;display:grid;gap:12px}.next-steps div{background:#f4f0ff;padding:14px;border-radius:12px;color:#31266e;font-weight:700;display:flex;gap:12px;align-items:center}.next-steps svg{color:#069f41;font-size:22px}.wizard-error{max-width:1000px;margin:12px auto 0;border-radius:12px;font-size:13px}.wizard-error ul{padding-left:20px;margin:5px 0}.wizard-error li{line-height:1.5}
@media(max-width:1000px){.installer-pane{padding:20px 28px}.stage-grid{grid-template-columns:37% 63%}.option-card{padding:18px 9px}.installer-benefits span{font-size:10px;gap:5px;padding:0 7px}.installer-benefits svg{font-size:22px}.stage-visual{transform:scale(.87)}}
@media(max-width:740px){body.digitmax-installer{padding:15px 9px}.install-header{gap:11px;min-height:65px;margin-bottom:17px;justify-content:flex-start}.header-brand{width:155px;height:61px;flex:none}.header-brand img{width:155px;max-height:50px}.header-brand .tagline{font-size:6px;bottom:4px}.head-divider{height:46px}.header-titles h1{font-size:20px;letter-spacing:-.4px}.header-titles p{font-size:10px}.frame-wrap{border-radius:23px;padding:4px}.installer-pane{min-height:630px;border-radius:19px;padding:17px 15px}.micro-label{font-size:8px}.version-chip{font-size:9px;padding:6px 8px}.version-chip svg{width:20px!important;height:20px!important}.wizard-nav{margin:20px auto 20px}.wizard-nav:before{top:14px}.wizard-dot{width:29px;height:29px;font-size:11px}.wizard-node{font-size:9px}.wizard-label{max-width:62px}.intro-art{height:142px}.welcome-head{margin:7px auto 17px}.welcome-head h2{font-size:25px}.page-head h2{font-size:24px}.page-head p{font-size:12px}.options-grid{grid-template-columns:1fr;gap:10px}.option-card{min-height:94px;flex-direction:row;justify-content:flex-start;text-align:left;gap:10px;padding:12px 14px 12px 35px;flex-wrap:wrap}.option-card input{top:35px;left:10px;width:15px;height:15px}.option-icon{font-size:34px;height:auto}.option-card b{font-size:15px;flex:1}.option-card small{font-size:11px;max-width:none;width:100%;padding-left:45px}.option-card em{display:none}.wizard-actions{margin:18px 0}.wizard-btn{min-height:44px;font-size:13px;padding:9px 13px}.installer-benefits{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:12px}.installer-benefits span{border:0}.stage-grid{grid-template-columns:1fr;gap:0}.stage-visual{min-height:125px;transform:scale(.63);margin:-45px 0 -40px}.stage-fields{padding:0 2px}.req-line{font-size:11px;min-height:36px}.req-detail{font-size:10px;max-width:135px;white-space:normal;text-align:right}.stage-form{max-width:none}.field-row{grid-template-columns:1fr;gap:4px;margin-bottom:11px}.field-row label{text-align:left}.stage-form .wizard-actions{margin-left:0}.password-meter,.strength-text{margin-left:0}.outside-footer{font-size:8px}}
@media(max-width:390px){.header-brand{width:130px}.header-brand img{width:130px}.header-titles h1{font-size:17px}.wizard-node{font-size:8px}}
.option-card{margin:0}.field-row label{margin:0}.version-chip svg{stroke-width:2}.stage-form .status-banner{margin-bottom:12px}.installer-pane input[type=radio]{min-height:0}
