/* smarters-linux: login, perfis, configurações e diálogos compartilhados. */
.login-page { min-height: 100%; height: 100%; width: 100%; overflow: auto; background: var(--sl-bg) !important; padding: clamp(20px, 5vh, 72px) 4vw; }
.login-container { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, clamp(420px, 38vw, 780px)); margin: 0 auto; padding: 0; }
.login-logo { display: block; width: clamp(96px, 9vw, 180px); height: clamp(36px, 6vh, 72px); object-fit: contain; object-position: left; margin: 0 0 16px; }
.login-header { float: none; font-size: var(--sl-title); font-weight: 600; padding: 0; margin: 0 0 clamp(12px, 2.5vh, 28px); text-align: start; }
.login-content { min-width: 0; width: 100%; padding: 0; text-align: start; }
#loginForm { display: grid; gap: clamp(10px, 1.5vh, 18px); }
.login-content .form-group { width: 100%; float: none; margin: 0; }
.login-content label { display: block; color: var(--sl-muted); font-size: var(--sl-small); font-weight: 500; margin: 0 0 6px; }
.login-content .form-control, .form-control.pinSetting {
  background: var(--sl-surface); color: var(--sl-text); border: 1px solid var(--sl-line);
  border-radius: 0; font-size: var(--sl-type); height: auto; min-height: 48px; padding: .45em .7em;
}
.login-content .form-control::placeholder { color: var(--sl-muted); opacity: 1; }
.login-content .form-control:hover { transform: none; }
#login_error_msg { margin: 0 0 12px; padding: .55em .7em; border-left: 4px solid var(--sl-danger-text); color: var(--sl-danger-text); background: var(--sl-surface); }
.btn-action { display: flex; gap: 12px; padding-top: 6px; }
.btn-action .login-btn { flex: 1; min-width: 0; width: auto !important; padding: .5em 1em; min-height: 48px; height: auto; margin: 0; font-size: var(--sl-type) !important; line-height: 1.4; border: 0; border-radius: 0; transform: none; color: var(--sl-text); text-transform: none; }
.btn-action #login { background: var(--sl-cyan); }
.btn-action #listUsersBtn { background: var(--sl-raised); }
.sl-account-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18em), 1fr)); gap: 8px; margin: 0; font-size: var(--sl-small); }
.sl-account-fields > div { min-width: 0; background: var(--sl-surface); border-left: 4px solid var(--sl-cyan); padding: .65em .9em; }
.sl-account-fields dt { color: var(--sl-muted); font-weight: 500; }
.sl-account-fields dd { margin: .25em 0 0; overflow-wrap: anywhere; }
.sl-account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sl-account-actions .accountBtn { min-height: 44px; padding: .55em 1em; background: var(--sl-raised); font-size: var(--sl-small); }
.sl-account-actions #accountLogout { color: var(--sl-danger-text); }
.mainAccount .accountBody { margin-top: 3vh; padding: 4vh 2vw; display: flex; flex-wrap: nowrap; gap: 2vw; overflow: auto; }
.settingsTile { flex: 1 0 19vw; width: auto; height: auto; min-height: 39vh; margin: 0; padding: 3vh 2vw; border: 0; border-radius: 0; background: var(--sl-cyan); transform: none; }
.settingsTile:nth-child(2) { background: var(--sl-blue); }
.settingsTile:nth-child(3) { background: var(--sl-green); }
.settingsTile.imageFocus { border: 0; }
.settingsTile .sTile { width: 100%; height: 100%; transform: none; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2vh; }
.settingsTile .sTile::after { content: none; }
.sImg { width: 5vw; height: 10vh; object-fit: contain; padding: 0; box-shadow: none; border-radius: 0; }
.sText { font-size: var(--sl-type); text-shadow: none !important; text-align: center; }
.sText-small { font-size: var(--sl-small); text-align: center; }
.pinEnabled, .pinDisabled { color: var(--sl-text); }
.accountElements, .accountElementsSettings { font-size: var(--sl-type); height: auto; padding: 2vh 1vw; background: var(--sl-surface); }
.account-title-Settings, .accountTitle { font-size: var(--sl-title); }
.accountData { font-size: var(--sl-type); }
.accountBtn, .orange-button, .popUpBtn, .btnCust { background: var(--sl-cyan); color: var(--sl-text); border: 0; border-radius: 0; padding: 1.5vh 2vw; font-size: var(--sl-type); height: auto; line-height: 1.4; }
.containerBtn { font-size: var(--sl-type); padding: 2vh 2vw 2vh 4vw; margin-bottom: 2vh; background: var(--sl-surface); }
.checkmark { background: var(--sl-line); }
.containerBtn input:checked ~ .checkmark { background: var(--sl-cyan); }
.dropdownBox { width: clamp(260px, 25vw, 600px) !important; margin: 4vh 2vw; }
.listIcons { width: 100%; height: auto; min-height: 32vh; padding: 3vh 2vw; margin: 0; border: 0; background: var(--sl-blue); transform: none; }
.listIcons.imageFocus { border: 0; }
.listIcons > div { transform: none; }
.listImg, .listTitles { float: none; width: 100%; margin: 0; padding: 0; }
.listImg img { width: 4vw; min-width: 40px; margin: 1vh 0 3vh; }
.listTitles h1 { font-size: var(--sl-type); margin: 0 0 1vh; }
.listTitles p { font-size: var(--sl-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.listCenterButton { background: var(--sl-cyan); padding: 3vh 3vw; font-size: var(--sl-type); transform: none; }
.listCenterButton > * { display: inline-block; transform: none; }
.addUserIcon, .addUserIcon2 { width: 3vw; min-width: 32px; }
.info-msg-cont, .popup-Message-container {
  background: var(--sl-surface); color: var(--sl-text); border: 1px solid var(--sl-line);
  border-radius: 0; box-shadow: var(--sl-shadow); width: min(75vw, 1500px);
  max-height: 85vh; overflow: auto; padding: 4vh 3vw !important; font-size: var(--sl-type);
}
.popup-p, .popUpSubhead, .popUpHead { font-size: var(--sl-type); }
.popUpBtn-orange { background: var(--sl-cyan); }
.popUpBtn-red { background: var(--sl-red); }
.closeModal { width: clamp(36px, 3vw, 64px) !important; right: .6vw !important; top: .6vh !important; background-color: var(--sl-raised) !important; }
/* smarters-linux: configurações compactas, superfície neutra com acento restrito. */
.mainAccount .accountBody { flex-wrap: wrap; align-content: start; gap: 24px; padding: 24px; }
.settingsTile { flex: 1 1 220px; max-width: 380px; min-height: 230px; background: var(--sl-surface); border-top: 5px solid var(--sl-cyan); padding: 24px 20px; }
.settingsTile:nth-child(2) { background: var(--sl-surface); border-top-color: var(--sl-blue); }
.settingsTile:nth-child(3) { background: var(--sl-surface); border-top-color: var(--sl-green); }
.settingsTile.imageFocus { border-top: 5px solid var(--sl-cyan); }
.settingsTile.imageFocus:nth-child(2) { border-top-color: var(--sl-blue); }
.settingsTile.imageFocus:nth-child(3) { border-top-color: var(--sl-green); }
.settingsTile .sTile { justify-content: flex-start; gap: 16px; }
.settingsTile .sImg { width: 48px; height: 48px; }
.settingsTile .sText { font-size: clamp(20px, 1.6vw, 32px); }
.settingsTile .sText-small { margin-top: auto; }
/* smarters-linux: perfis em linhas, avatar proporcional e ação separada. */
.sl-profiles .homeHeader > .row { display: flex; flex-wrap: nowrap; align-items: center; padding-right: 120px; }
.sl-profiles .homeHeader .col-md-4 { flex: 1; max-width: none; min-width: 0; }
.sl-profiles .homeHeader .pagesTitle { margin: 0; text-align: center; }
.sl-profile-actions { display: flex; justify-content: flex-end; padding: 20px 12px; }
.sl-profile-actions #addUserBtn { color: var(--sl-text); background: var(--sl-raised); border: 1px solid var(--sl-line); padding: 12px 18px; font-size: var(--sl-small); min-height: 48px; cursor: pointer; }
.sl-profiles .scrollBarClass { height: auto !important; max-height: 65vh; overflow: auto !important; padding: 12px 12px 32px; margin: 0 !important; }
.sl-profiles .dropdownBox { width: 100% !important; max-width: 680px; margin: 0 0 20px !important; float: none !important; }
.sl-profiles .listBlock, .sl-profiles .dropdown { width: 100%; }
.sl-profiles .listIcons { display: flex; align-items: center; gap: 24px; min-height: 96px; padding: 20px 24px; background: var(--sl-cyan); border: 0; }
.sl-profiles .listIcons:is(:hover, .imageFocus) { transform: none; }
.sl-profiles .listImg { flex: 0 0 50px; background: none; height: auto; }
.sl-profiles .listImg img { display: block; width: 50px; height: 58px; object-fit: contain; margin: 0; background: none; }
.sl-profiles .listTitles { min-width: 0; width: auto; background: none; }
.sl-profiles .listTitles h1 { margin: 0; white-space: normal; }
.sl-profiles .listTitles p { display: none; }
@media (max-width: 650px) {
  .sl-profiles .homeHeader > .row { padding-right: 88px; margin: 0; }
  .sl-profiles .homeHeader .col-md-4 { padding: 0; }
  .sl-profiles .homeHeader .logImg { width: 82px; }
  .sl-profiles .homeHeader .pagesTitle { font-size: 20px !important; }
  .sl-profiles .listIcons { gap: 16px; padding: 18px; }
  .mainAccount .header .row, .mainAccount .homeHeader .row { flex-wrap: wrap; }
}
/* smarters-linux: alturas fixas herdadas recortavam as linhas de perfil. */
.sl-profiles .listBlock { height: auto; min-height: 0; float: none; margin: 0; }
.sl-profiles #addUserBtn { font-size: var(--sl-small); }
.sl-profiles .listIcons { float: none !important; position: relative !important; inset: auto !important; } .sl-profiles :is(.dropdownBox, .listBlock, .scrollBarClass) { display: flow-root; } /* o float herdado zerava a altura e o scroll cortava a linha */
