/* All Black - pagina d'accesso blu a righe */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500&display=swap');

body.task-login {
  background-color: #0a1530 !important;
  background-image:
    radial-gradient(ellipse at 50% 35%, rgba(40,90,200,.28), transparent 60%),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 38px, transparent 38px 76px) !important;
  color: #e8eefc; font-family: Inter, system-ui, sans-serif; min-height: 100vh; overflow-x: hidden;
}
body.task-login #layout, body.task-login #layout-content,
body.task-login #layout-content.selected { background: transparent !important; border: 0 !important; }
body.task-login { display: flex !important; flex-direction: column; height: auto !important; overflow-y: auto !important; }
body.task-login #layout { min-height: calc(100vh - 70px); height: auto !important; display: flex; flex: 1 0 auto; }
body.task-login #layout-content { display: flex !important; flex-direction: column; align-items: center; justify-content: center; flex: 1; width: 100%; padding: 40px 16px 30px; box-sizing: border-box; }
body.task-login #logo, body.task-login #login-footer, body.task-login .voice { display: none !important; }

#ab-head { text-align: center; margin-bottom: 26px; position: relative; z-index: 2; }
#ab-head .ab-icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg,#3b82f6,#2563eb); box-shadow: 0 0 40px rgba(59,130,246,.55); }
#ab-head .ab-title { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(20px, 4.2vw, 28px); letter-spacing: .02em; margin: 0; color: #f1f5ff; line-height: 1.1; }
#ab-head .ab-title span { color: #4da3ff; }
#ab-head .ab-sub { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 14px; color: #b9c6e6; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .4em; }
#ab-head .ab-sub::before, #ab-head .ab-sub::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, transparent, rgba(120,160,255,.6)); }
#ab-head .ab-sub::after { transform: scaleX(-1); }

body.task-login #login-form { position: relative; z-index: 2; width: 100%; max-width: 460px; box-sizing: border-box; padding: 30px 28px 26px !important;
  background: rgba(16,30,66,.55) !important; border: 1px solid rgba(140,170,255,.18); border-radius: 22px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.ab-card-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 22px; text-align: center; color: #fff; margin: 0 0 20px; }
body.task-login #login-form { margin: 0 !important; top: 0 !important; }
body.task-login #login-form table, body.task-login #login-form tbody { display: block; width: 100%; margin: 0; }
body.task-login #login-form tr { display: block; margin: 0 0 14px !important; padding: 0; }
body.task-login #login-form td.title { display: none !important; }
body.task-login #login-form td.input { display: flex !important; align-items: center; width: 100%; padding: 0 !important; height: 54px;
  background: rgba(5,12,32,.75); border: 1px solid rgba(140,170,255,.22); border-radius: 14px; overflow: hidden; }
body.task-login #login-form td.input:focus-within { border-color: #4da3ff; box-shadow: 0 0 0 3px rgba(77,163,255,.25); }
body.task-login #login-form .input-group-prepend { display: flex; align-items: center; padding-left: 16px; }
body.task-login #login-form .input-group-text { padding: 0 !important; height: auto !important; font-size: 17px; }
body.task-login #login-form .input-group-text, body.task-login #login-form .input-group-prepend { background: transparent !important; border: 0 !important; color: #4da3ff !important; }
body.task-login #login-form input.form-control {
  background: rgba(5,12,32,.75) !important; color: #fff !important; border: 1px solid rgba(140,170,255,.22) !important;
  border-radius: 14px !important; height: 52px; font-size: 16px; padding: 0 16px; }
body.task-login #login-form input.form-control::placeholder { color: #8fa0c8; }
body.task-login #login-form input.form-control:focus { border-color: #4da3ff !important; box-shadow: 0 0 0 3px rgba(77,163,255,.25) !important; }
body.task-login #login-form td.input input.form-control { flex: 1; height: 52px !important; padding-left: 14px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
body.task-login #rcmloginsubmit, body.task-login #login-form button[type=submit] {
  width: 100%; height: 54px; margin-top: 6px; border: 0 !important; border-radius: 14px !important; text-transform: none !important;
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 18px; color: #fff !important;
  background: linear-gradient(90deg,#2f6bf0,#3b8dff) !important; box-shadow: 0 10px 30px rgba(47,107,240,.45); }
body.task-login #rcmloginsubmit:hover { filter: brightness(1.08); }
body.task-login #login-form .formbuttons { margin: 4px 0 0 !important; padding: 0 !important; }
body.task-login #rcmloginsubmit { display: flex; align-items: center; justify-content: center; gap: 12px; }
body.task-login #rcmloginsubmit .ab-chev { font-size: 26px; line-height: 1; margin-top: -3px; }
.ab-hint { text-align: center; color: #9fb0d6; font-size: 14px; margin: 16px 0 0; }
body.task-login #messagestack { z-index: 5; }

#ab-foot { position: relative; flex: 0 0 auto; min-height: 70px; box-sizing: border-box; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 16px; border-top: 1px solid rgba(140,170,255,.12); background: rgba(6,12,30,.88); color: #b9c6e6; font-size: 14px; }
#ab-foot a { color: #4da3ff; text-decoration: none; }
#ab-foot .ab-badge { font-family: Montserrat, sans-serif; font-weight: 800; letter-spacing: .12em; font-size: 12px; color: #fff; background: #000; border: 1px solid #555; border-radius: 8px; padding: 6px 12px; }
#ab-foot .ab-sep { width: 1px; height: 22px; background: rgba(255,255,255,.18); }

.ab-ball { position: fixed; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(120,160,255,.55), rgba(37,85,200,.45) 60%, rgba(30,70,170,.3)); }
.ab-b1 { width: 80px; height: 80px; left: 12%; top: 14%; opacity: .6; }
.ab-b2 { width: 360px; height: 360px; right: -120px; top: 6%; opacity: .55; }
.ab-b3 { width: 420px; height: 420px; left: -160px; bottom: -180px; opacity: .55; }
@media (max-width: 600px) { .ab-b2 { width: 200px; height: 200px; right: -90px; } .ab-b3 { width: 260px; height: 260px; left: -120px; bottom: -140px; } #ab-head .ab-sub::before, #ab-head .ab-sub::after { width: 40px; } }
#ab-foot .ab-logo { height: 38px; width: 38px; border-radius: 8px; display: block; background: #fff url(logo.png) center/cover no-repeat; box-shadow: 0 0 0 2px #fff; }
#ab-foot .ab-brand { display: inline-flex; align-items: center; gap: 8px; }
#ab-foot .ab-flag { display: inline-flex; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
#ab-foot .ab-flag i { flex: 1; }
#ab-foot .ab-flag i:nth-child(1) { background: #009246; }
#ab-foot .ab-flag i:nth-child(2) { background: #fff; }
#ab-foot .ab-flag i:nth-child(3) { background: #ce2b37; }

/* Logo All Black nel menu a sinistra (dentro la webmail) */
#layout-menu .popover-header img#logo { max-width: 52px; max-height: 52px; padding: 0; margin: 10px auto; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px #fff; opacity: 1; }
html.dark-mode #layout-menu #logo { opacity: 1; }
