/* Liz AI - cores do webmail (tema Elastic) */

/* Botoes principais (Entrar, Enviar, Salvar) */
.btn-primary, .button.mainaction, button.mainaction, input.mainaction,
#login-form .button.mainaction, .formbuttons .btn-primary {
  background-color: #16803A !important;
  border-color: #16803A !important;
  color: #fff !important;
}
.btn-primary:hover, .button.mainaction:hover, .btn-primary:focus, .button.mainaction:focus {
  background-color: #0F6B2E !important;
  border-color: #0F6B2E !important;
}

/* Botao "Escrever" e destaques */
#layout-menu .compose, a.compose, .btn.compose {
  background-color: #16803A !important;
  color: #fff !important;
}
#layout-menu .compose:hover, a.compose:hover { background-color: #0F6B2E !important; }

/* Links e itens selecionados */
a, .link, a.link { color: #146B33; }
a:hover { color: #0F5E24; }
.listing li.selected, .listing tr.selected td, table.listing tr.selected td,
.listing li.selected > a, .records-table tr.selected td {
  background-color: #EAF4EE !important;
  color: #146B33 !important;
}
.listing li.selected > a, .listing li.selected > a:before { color: #146B33 !important; }
.listing li:hover, table.listing tr:hover td { background-color: #F3F8F4; }

/* Campos com foco */
.form-control:focus, input:focus, textarea:focus, select:focus {
  border-color: #16803A !important;
  box-shadow: 0 0 0 .2rem rgba(22, 128, 58, .2) !important;
}

/* Caixas marcadas e contadores */
.custom-control-input:checked ~ .custom-control-label::before,
input[type=checkbox].custom-switch:checked, .custom-switch:checked {
  background-color: #16803A !important;
  border-color: #16803A !important;
}
.unreadcount, span.unreadcount, .listing li .unreadcount { background-color: #16803A !important; color: #fff !important; }
#layout-menu a.selected, #layout-menu a.selected:before, .menu a.selected { color: #4CC762 !important; }

/* Tela de login */
#login-form #logo, #login-form img#logo { max-width: 280px; height: auto; margin-bottom: 1.2rem; }
#login-footer, #login-form + #login-footer { color: #5A6660; }
body.task-login { background: #F6F8F7; }

/* Logo da Liz (substitui o logo do Roundcube) */
img#logo { content: url("logo.png"); max-height: 60px; width: auto; }
body.task-login img#logo, #login-form img#logo {
  content: url("logo-login.png"); max-height: none; width: 280px; max-width: 80vw; height: auto;
}
