.smart-login{min-height:100dvh;background:radial-gradient(ellipse at 51% 50%,#3188ff 0,#1e5fb9 34%,#102d55 62%,#050e17 100%);padding:92px 32px 48px;display:flex;align-items:center;justify-content:center;font-family:Arial,"Segoe UI",sans-serif}
.login-brand{position:absolute;top:18px;left:32px}.login-brand img{width:150px;height:auto;display:block}
.smart-login-layout{width:100%;max-width:1240px;display:grid;grid-template-columns:minmax(0,840px) 350px;gap:50px;align-items:stretch}
.news-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 0 30px 8px #b5d9ff80;align-self:center;min-width:0;overflow:hidden}
.news-image{aspect-ratio:1.7;display:flex;justify-content:center;align-items:center;overflow:hidden}.news-image img{width:100%;height:100%;object-fit:contain}
.news-controls{display:flex;align-items:center;gap:8px;margin-top:15px}.news-controls>button{border:0;border-radius:9px;background:#f0f2f5;color:#235ba5;flex:0 0 30px;height:56px;font-size:30px}.news-thumbs{display:flex;overflow-x:auto;gap:8px;scrollbar-width:thin;min-width:0;padding:4px}.news-thumbs button{flex:0 0 70px;padding:3px;background:white;border:2px solid transparent;border-radius:6px;height:50px}.news-thumbs button[aria-current=true]{border-color:#3157d5}.news-thumbs img{width:100%;height:100%;object-fit:contain}.news-footer{display:flex;justify-content:space-between;align-items:center;color:#64748b;font-size:11px;margin-top:10px}.news-footer button{background:transparent;border:0;color:#3157d5;font-size:12px;padding:4px 8px}
.smart-login-card{background:#030e19;border-radius:24px;padding:42px 42px 32px;box-shadow:0 0 30px 8px #b5d9ff70;display:flex;flex-direction:column;justify-content:center;min-width:0;color:#eaf5ff}
.smartbroker-logo{width:100%;height:auto;max-height:66px;object-fit:contain;margin:0 auto 24px;filter:brightness(0) invert(1)}
.smart-login-card .access-tabs{margin:0 0 18px;background:#142536;gap:4px;padding:4px}.smart-login-card .access-tabs button{font-size:11px;color:#b8cadf}.smart-login-card .access-tabs button.selected{color:#0c2853;background:#e7f0ff}
.smart-login-card label{font-size:12px;color:#eaf5ff;font-weight:400;gap:6px}.smart-login-card input{background:#e8f0ff;border:1px solid #e8f0ff;border-radius:10px;min-height:46px;padding:12px 14px;color:#10264a}.smart-login-card input::placeholder{color:#61748e}.smart-login-card #login-form{gap:15px}.password-field{position:relative}.password-field input{padding-right:44px}.password-field button{position:absolute;right:7px;top:5px;background:none;border:0;color:#24476b;width:36px;height:36px;display:grid;place-items:center}.password-field svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.login-submit{margin-top:6px;border:0;background:#eaf7ff;color:#0d2855;border-radius:10px;min-height:48px;font-size:17px;font-weight:700}.login-submit:hover{background:white}.smart-login-card .error{color:#ffbdba}
.login-links{display:flex;flex-direction:column;align-items:center;gap:9px;margin-top:16px}.login-links button,.login-links a{font-size:12px;color:#eaf5ff;text-decoration:none;border:0;background:none;padding:0;line-height:1.5}.login-links button:hover,.login-links a:hover{text-decoration:underline}.login-social{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:24px}.login-social a{border:1px solid #67727e;border-radius:7px;color:#eaf5ff;text-decoration:none;padding:8px;font-size:10px}
#access-dialog{width:min(480px,calc(100vw - 32px))}#access-fields{display:grid;gap:16px;margin-top:20px}#access-help{font-size:13px;line-height:1.6;color:#64748b}#access-success{font-size:13px;line-height:1.6;color:#166534}#access-success:empty{display:none}
@media(max-width:1050px){.smart-login-layout{gap:28px;grid-template-columns:minmax(0,1fr) 320px}.smart-login-card{padding:32px 28px}.smart-login{padding-left:24px;padding-right:24px}}
@media(max-width:760px){.smart-login{padding:84px 20px 32px}.smart-login-layout{display:flex;flex-direction:column;max-width:540px;gap:32px}.smart-login-card{order:-1;align-self:center;width:min(100%,350px);padding:30px}.news-card{width:100%;padding:12px}.news-thumbs button{flex-basis:58px}.login-brand{left:20px;top:16px}.login-brand img{width:132px}}

@media(min-width:761px) and (max-height:800px){.smart-login{padding-top:72px;padding-bottom:24px}.smart-login-card{padding:26px 36px}.smartbroker-logo{max-height:48px;margin-bottom:16px}.smart-login-card .access-tabs{margin-bottom:12px}.smart-login-card #login-form{gap:10px}.smart-login-card input{min-height:42px;padding-top:10px;padding-bottom:10px}.smart-login-card .login-social{margin-top:16px}.smart-login-card .login-links{gap:6px;margin-top:12px}.login-submit{min-height:44px}}

/* Cards compactos, com a mesma altura e alinhados ao centro. */
.smart-login{padding:64px 24px}
.smart-login-layout{max-width:1100px;grid-template-columns:minmax(0,740px) 320px;gap:40px;align-items:stretch}
.news-card,.smart-login-card{height:560px;align-self:stretch}
.news-card{display:flex;flex-direction:column;padding:18px}
.news-image{aspect-ratio:auto;flex:1;min-height:0}
.news-controls,.news-footer{flex-shrink:0}
.smart-login-card{padding:24px 30px}
.smartbroker-logo{max-height:46px;margin-bottom:16px}
.smart-login-card .access-tabs{margin-bottom:12px}
.smart-login-card #login-form{gap:10px}
.smart-login-card input{min-height:42px;padding-top:10px;padding-bottom:10px}
.smart-login-card .login-submit{min-height:44px}
.smart-login-card .login-links{gap:6px;margin-top:12px}
.smart-login-card .login-social{margin-top:18px;gap:10px;flex-wrap:nowrap}
.login-social a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:8px;border:2px solid #67727e;border-radius:8px;color:#f3f7fb}
.login-social a:hover{color:white;border-color:#eaf5ff;background:#ffffff12}
.login-social svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:1050px) and (min-width:761px){.smart-login-layout{gap:28px;grid-template-columns:minmax(0,1fr) 310px}.smart-login-card{padding-left:25px;padding-right:25px}}
@media(max-width:760px){.smart-login{padding:84px 20px 32px}.smart-login-layout{gap:28px;max-width:540px}.smart-login-card{align-self:center;width:100%;max-width:540px}.smart-login-card>form,.smart-login-card>.access-tabs,.smart-login-card>.smartbroker-logo{width:100%;max-width:300px;margin-left:auto;margin-right:auto}.news-card{height:560px}.smart-login-card{padding:24px}.news-thumbs button{flex-basis:58px}}
