/* V4.38 — site e painel de afiliados no padrão Quotex Partner */
*{box-sizing:border-box;margin:0;padding:0}
a{text-decoration:none;color:inherit}

/* ===== SITE (xp) ===== */
body.xp{background:#121221;color:#fff;font:400 14px/22px Montserrat,Arial,sans-serif;overflow-x:hidden}
.xp-head{display:flex;align-items:center;justify-content:space-between;max-width:1180px;margin:0 auto;padding:20px 24px}
.xp-logo{display:flex;align-items:center;gap:10px}
.xp-logo b{display:block;font:800 16px/18px Montserrat;letter-spacing:.5px;text-transform:uppercase}
.xp-logo small{display:block;font:600 8px/10px Montserrat;color:#e04848;letter-spacing:1px}
.xp-logo-ico{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,#e04848,#9c1f3a);font:800 16px Montserrat;color:#fff}
.xp-head-r{display:flex;align-items:center;gap:18px}
.xp-lang{font:600 12px Montserrat;color:#a9b0d6}
.xp-btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 32px;border:0;border-radius:8px;background:#3060f0;color:#fff;font:700 13px/16px Montserrat;letter-spacing:.3px;cursor:pointer;box-shadow:0 10px 30px rgba(48,96,240,.35)}
.xp-btn:hover{background:#3d6cff}
.xp-btn-sm{height:36px;padding:0 18px;box-shadow:none}
.xp-btn-full{width:100%}
.xp-hero{position:relative;max-width:820px;margin:0 auto;padding:60px 24px 40px;text-align:center}
.xp-hero h1{font:800 36px/44px Montserrat;margin-bottom:20px}
.xp-hero p{max-width:560px;margin:0 auto 32px;color:#cfd3ea;font:400 15px/24px Montserrat}
.xp-coin{position:absolute;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid #4d5aa8;color:#8fa0ff;font:700 18px Montserrat;opacity:.7}
.xp-coin-1{left:-20px;top:70px}.xp-coin-2{right:-20px;top:150px}
.xp-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:64px}
.xp-nums b{display:block;font:400 30px/36px Montserrat}
.xp-nums span{display:block;margin-top:10px;font:500 12px/16px Montserrat;color:#a9b0d6}
.xp-nums .g{color:#2bf695}
.xp-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.xp-pay{display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap;max-width:700px;margin:24px auto 72px;padding:18px 24px;border-radius:12px;background:#1d1d33;border:1px solid #2a2a48}
.xp-pay span{font:700 9px/12px Montserrat;color:#a9b0d6;max-width:150px}
.xp-pay i{font:700 13px Montserrat;font-style:normal;color:#e6e8f5;opacity:.85}
.xp-h2{font:700 28px/36px Montserrat;text-align:center;margin:0 0 24px}
.xp-left{text-align:left}
.xp-sub{max-width:560px;margin:-12px auto 32px;text-align:center;color:#cfd3ea}
.xp-who{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:96px}
.xp-who-card{border-radius:12px;overflow:hidden;background:#fff;color:#1e1e2d}
.xp-who-art{height:200px}
.xp-art-a{background:radial-gradient(circle at 30% 30%,#3d7bea 0,#0b1d4f 60%),#0b1d4f}
.xp-art-b{background:radial-gradient(circle at 50% 70%,#1f9cf0 0,#071a3d 60%)}
.xp-art-c{background:linear-gradient(135deg,#0b1d4f,#2f5fd0 60%,#6fb6ff)}
.xp-who-body{padding:20px;text-align:center}
.xp-who-body h3{font:700 15px/20px Montserrat;margin-bottom:8px}
.xp-who-body p{font:400 12px/18px Montserrat;color:#4a4f66}
.xp-easy{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:96px}
.xp-easy-i{margin:0 0 20px;padding-left:22px;position:relative}
.xp-easy-i:before{content:"";position:absolute;left:0;top:6px;width:10px;height:10px;border-radius:3px;background:#3060f0}
.xp-easy-i b{display:block;font:700 15px/20px Montserrat;margin-bottom:4px}
.xp-easy-i p{color:#cfd3ea;font-size:13px}
.xp-easy-art{position:relative;height:340px}
.xp-easy-art div{position:absolute;padding:16px 18px;border-radius:12px;background:#fff;color:#1e1e2d;box-shadow:0 20px 40px rgba(0,0,0,.35);min-width:150px}
.xp-easy-art small{display:block;font:500 11px Montserrat;color:#6b7086}
.xp-easy-art b{display:block;font:700 26px/34px Montserrat}
.xp-easy-art .c1{left:6%;top:24%;background:#e04848;color:#fff}.xp-easy-art .c1 small{color:#ffd6d6}
.xp-easy-art .c2{right:12%;top:8%;background:#7b4de8;color:#fff}.xp-easy-art .c2 small{color:#e3d8ff}
.xp-easy-art .c3{right:4%;bottom:18%}
.xp-easy-art .c4{left:24%;bottom:6%}
.xp-levels{display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.xp-level{grid-column:span 2;padding:18px 20px;border-radius:10px;background:#fff;color:#1e1e2d}
.xp-level:nth-child(4),.xp-level:nth-child(5){grid-column:span 3}
.xp-level:nth-child(6),.xp-level:nth-child(7){grid-column:span 3}
.xp-level small{font:700 10px Montserrat;color:#6b7086}
.xp-level h3{display:flex;align-items:center;gap:8px;margin:4px 0 14px;font:700 17px Montserrat}
.xp-level h3 i{width:22px;height:22px;border-radius:5px;background:var(--c)}
.xp-row{display:flex;justify-content:space-between;font:500 11px/16px Montserrat;color:#4a4f66}
.xp-row b{color:#1e1e2d}
.xp-bar{height:4px;margin:6px 0 12px;border-radius:2px;background:#e8eaf2;overflow:hidden}
.xp-bar span{display:block;height:100%;background:var(--c)}
.xp-center{text-align:center;margin:36px 0 96px}
.xp-opps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.xp-opp{display:flex;flex-direction:column;padding:0 0 22px;border-radius:12px;overflow:hidden;background:#1d1d33;border:1px solid #2a2a48}
.xp-opp-art{height:170px;margin-bottom:18px}
.xp-opp h3{padding:0 20px;font:700 15px/20px Montserrat;margin-bottom:8px}
.xp-opp p{flex:1;padding:0 20px;color:#cfd3ea;font-size:13px;margin-bottom:18px}
.xp-opp .xp-btn{align-self:flex-start;margin:0 20px 10px}
.xp-opp small{padding:0 20px;font:400 10px/14px Montserrat;color:#7f86a8}
.xp-revs{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:96px}
.xp-rev{padding:24px;border-radius:12px;color:#1e1e2d}
.xp-rev-0{background:#fff4e8}.xp-rev-1{background:#e9fbf2}.xp-rev-2{background:#eef0ff}
.xp-rev h3{font:700 16px Montserrat;margin-bottom:12px}.xp-rev h3 small{font:500 11px Montserrat;color:#6b7086;margin-left:6px}
.xp-rev p{font-size:13px;margin-bottom:12px}
.xp-rev span{display:inline-block;margin:0 6px 6px 0;padding:3px 8px;border-radius:6px;background:rgba(0,0,0,.06);font:500 10px Montserrat}
.xp-how{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:96px}
.xp-how-art{height:300px;border-radius:16px;background:radial-gradient(circle at 50% 50%,#1f6dff 0,#0e1a4a 45%,#121221 70%)}
.xp-how ol{list-style:none;margin:0 0 28px;counter-reset:s}
.xp-how li{position:relative;padding:0 0 18px 34px;counter-increment:s}
.xp-how li:before{content:counter(s);position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:#3060f0;display:grid;place-items:center;font:700 11px Montserrat}
.xp-how li b{display:block;font:700 15px Montserrat;margin-bottom:4px}
.xp-how li span{color:#cfd3ea;font-size:13px}
.xp-signup{display:grid;grid-template-columns:1fr 360px;gap:48px;align-items:center;margin-bottom:64px}
.xp-signup h2{font:700 26px/36px Montserrat}
.xp-form{display:flex;flex-direction:column;align-items:center;gap:12px;padding:32px 28px;border-radius:14px;background:#fff;color:#1e1e2d}
.xp-logo-big{width:52px;height:52px;font-size:24px;border-radius:12px}
.xp-form h3{font:600 15px Montserrat;margin-bottom:6px}
.xp-form input[type=email],.xp-form input[type=password]{width:100%;height:44px;padding:0 14px;border:1px solid #e3e6ef;border-radius:8px;background:#f4f6fb;font:400 13px Montserrat;outline:none}
.xp-form input:focus{border-color:#3060f0}
.xp-check{align-self:flex-start;display:flex;align-items:center;gap:8px;font:400 12px Montserrat;color:#4a4f66}
.xp-check a{color:#3060f0}
.xp-small{text-align:center;font:400 12px/18px Montserrat;color:#6b7086}.xp-small a{color:#3060f0}
.xp-err{width:100%;padding:8px 10px;border-radius:6px;background:#ffecec;color:#c02727;font:500 12px Montserrat}
.xp-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;max-width:1180px;margin:0 auto;padding:24px;border-top:1px solid #23233d;font:500 12px Montserrat;color:#a9b0d6}
.xp-foot nav{display:flex;gap:28px}.xp-foot a{color:#fff;font-weight:600}
@media (max-width:900px){
  .xp-who,.xp-opps,.xp-revs{grid-template-columns:1fr}
  .xp-easy,.xp-how,.xp-signup{grid-template-columns:1fr}
  .xp-levels{grid-template-columns:1fr}.xp-level,.xp-level:nth-child(n){grid-column:auto}
  .xp-hero h1{font-size:26px;line-height:34px}
  .xp-nums{grid-template-columns:1fr;gap:28px}
  .xp-coin{display:none}
}

/* ===== PAINEL (xd) ===== */
body.xd{display:flex;min-height:100vh;background:#f5f6fa;color:#1e1e2d;font:400 14px/20px Poppins,Arial,sans-serif}
.xd-side{position:sticky;top:0;width:240px;flex:0 0 240px;height:100vh;display:flex;flex-direction:column;padding:16px 12px;background:#1b1c32;color:#c7cbe0;overflow-y:auto}
.xd-logo{display:flex;align-items:center;gap:10px;padding:4px 8px 20px}
.xd-logo b{display:block;font:700 14px Poppins;color:#fff;text-transform:uppercase}
.xd-logo small{display:block;font:500 8px Poppins;color:#e04848;letter-spacing:1px}
.xd-side nav{display:flex;flex-direction:column;gap:2px}
.xd-side nav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;font:500 13px/18px Poppins;color:#c7cbe0}
.xd-side nav a svg{width:18px;height:18px;flex:0 0 18px}
.xd-side nav a:hover{background:rgba(255,255,255,.05);color:#fff}
.xd-side nav a.on{background:#262950;color:#5d8bff}
.xd-side nav a em{margin-left:auto;padding:1px 6px;border-radius:4px;background:#0faf59;color:#fff;font:600 9px Poppins;font-style:normal}
.xd-contract{margin-top:auto;padding:16px 10px 4px;font:500 12px Poppins;color:#8d92b0}
.xd-main{flex:1;min-width:0;display:flex;flex-direction:column}
.xd-top{display:flex;align-items:center;gap:16px;height:60px;padding:0 24px;background:#fff;border-bottom:1px solid #e9ebf2}
.xd-burger{display:none;width:32px;height:32px;border:0;background:none}
.xd-burger i,.xd-burger i:before,.xd-burger i:after{display:block;width:18px;height:2px;background:#1e1e2d;position:relative}
.xd-burger i:before,.xd-burger i:after{content:"";position:absolute}.xd-burger i:before{top:-6px}.xd-burger i:after{top:6px}
.xd-bal{display:flex;align-items:center;gap:8px}
.xd-bal b{font:600 17px Poppins}
.xd-plus{display:grid;place-items:center;width:18px;height:18px;border-radius:4px;background:#0faf59;color:#fff;font:700 12px Poppins}
.xd-bal small{font:400 12px Poppins;color:#8d92b0}
.xd-lvl{margin-left:auto;padding:4px 12px;border-radius:20px;background:linear-gradient(90deg,#1b1c32,#3060f0);color:#fff;font:600 11px Poppins}
.xd-user{position:relative}
.xd-av{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e8ebf5;font:600 14px Poppins;cursor:pointer}
.xd-menu{display:none;position:absolute;right:0;top:40px;z-index:5;min-width:190px;padding:8px;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.xd-user:hover .xd-menu,.xd-user:focus-within .xd-menu{display:block}
.xd-menu a{display:block;padding:8px 10px;border-radius:6px;font:500 13px Poppins}.xd-menu a:hover{background:#f2f4fa}
.xd-content{padding:24px;display:flex;flex-direction:column;gap:20px}
.xd-card{border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(23,26,51,.04)}
.xd-pad{padding:22px 24px}
.xd-card h1{font:600 22px Poppins;margin-bottom:10px}
.xd-card h2,.xd-stat-head h2{font:600 18px/24px Poppins;margin-bottom:14px}
.xd-card h3{font:600 15px Poppins;margin:20px 0 10px}
.xd-card p{margin-bottom:10px}
.xd-muted{color:#8d92b0;font-size:13px}
.xd-grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.xd-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.xd-balance{display:flex;flex-direction:column;gap:12px;padding:22px 24px;border-radius:10px;background:#1b1c32;color:#fff}
.xd-balance small{font:400 13px Poppins;color:#a9aec8}
.xd-balance > b{font:600 28px Poppins}
.xd-ever{padding:12px 14px;border-radius:8px;background:#262842}
.xd-ever b{display:block;font:600 15px Poppins}
.xd-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 18px;border:0;border-radius:8px;background:#3060f0;color:#fff;font:600 13px Poppins;cursor:pointer;align-self:flex-start}
.xd-btn-green{background:#0faf59}
.xd-quick{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.xd-quick a{display:flex;align-items:center;justify-content:center;height:72px;border-radius:10px;font:500 13px Poppins;text-align:center}
.xd-quick .q1{background:#fff3dc;color:#8a5b00}.xd-quick .q2{background:#ede7ff;color:#5a3fd1}.xd-quick .q3{background:#ffe6e6;color:#c02727}.xd-quick .q4{background:#e3f1ff;color:#1c6bd1}
.xd-stat-head{display:flex;align-items:center;gap:16px}
.xd-stat-head h2{margin:0}
.xd-range select{height:32px;padding:0 10px;border:1px solid #e3e6ef;border-radius:6px;font:400 12px Poppins;background:#fff}
.xd-all{margin-left:auto;color:#3060f0;font:500 13px Poppins}
.xd-mini{display:flex;flex-direction:column;gap:4px;padding:16px 20px;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(23,26,51,.04)}
.xd-mini small{font:500 12px Poppins;color:#6b7086}
.xd-mini b{font:600 20px Poppins}
.xd-mini em{align-self:flex-end;margin-top:-28px;padding:2px 8px;border-radius:4px;background:#f2f4fa;font:500 10px Poppins;font-style:normal;color:#6b7086}
.xd-l-blue{border-left:4px solid #2b99ff}.xd-l-teal{border-left:4px solid #00c8bc}
.xd-b-purple{border-bottom:3px solid #7b61ff}.xd-b-purple small{color:#7b61ff}
.xd-b-orange{border-bottom:3px solid #f5a623}.xd-b-orange small{color:#f5a623}
.xd-b-blue{border-bottom:3px solid #2b99ff}.xd-b-blue small{color:#2b99ff}
.xd-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.xd-tabs{display:flex;gap:6px}
.xd-tabs a{padding:6px 14px;border-radius:6px;border:1px solid #e3e6ef;font:500 12px Poppins;color:#4a4f66}
.xd-tabs a.on{background:#2b99ff;border-color:#2b99ff;color:#fff}
.xd-chart{width:100%;height:260px;margin-top:10px}
.xd-legend{display:flex;gap:18px;justify-content:center;font:500 12px Poppins;color:#6b7086}
.xd-legend span:before{content:"";display:inline-block;width:10px;height:3px;margin-right:6px;vertical-align:middle}
.xd-legend .o:before{background:#f5a623}.xd-legend .b:before{background:#2b99ff}.xd-legend .p:before{background:#7b61ff}
.xd-table{width:100%;border-collapse:collapse;font:400 13px Poppins}
.xd-table th,.xd-table td{padding:10px 12px;border-bottom:1px solid #eef0f5;text-align:left}
.xd-table th{font-weight:600;color:#6b7086;background:#fafbfd}
.xd-table tr.cur td{background:#eef4ff;font-weight:600}
.xd-copy{display:flex;gap:10px;margin:6px 0 12px}
.xd-copy input{flex:1;height:40px;padding:0 12px;border:1px solid #e3e6ef;border-radius:8px;background:#f8f9fc;font:400 13px Poppins}
.xd-form{display:flex;flex-direction:column;gap:10px;max-width:420px}
.xd-form input,.xd-form select{height:40px;padding:0 12px;border:1px solid #e3e6ef;border-radius:8px;font:400 13px Poppins;background:#fff}
.xd-form label{display:flex;align-items:center;gap:8px;font:400 13px Poppins}
.xd-form label input{height:auto}
.xd-q{padding:12px 0;border-bottom:1px solid #eef0f5}.xd-q summary{cursor:pointer;font:600 14px Poppins}.xd-q p{margin:8px 0 0;color:#4a4f66}
.xd-ok{padding:12px 16px;border-radius:8px;background:#e7f8ef;color:#0b7a3e;font:500 13px Poppins}
.xd-bad{padding:12px 16px;border-radius:8px;background:#ffecec;color:#c02727;font:500 13px Poppins}
code{padding:1px 5px;border-radius:4px;background:#f2f4fa;font-size:12px}
@media (max-width:900px){
  .xd-side{position:fixed;left:-260px;z-index:20;transition:left .2s}.xd-side.open{left:0}
  .xd-burger{display:block}
  .xd-grid2,.xd-grid3{grid-template-columns:1fr}
  .xd-bal small,.xd-lvl{display:none}
  .xd-content{padding:16px}
  .xd-table{display:block;overflow-x:auto}
}
.xp-example{position:absolute;left:0;bottom:-26px;font:500 10px Montserrat;color:#7f86a8}
