/*
 * NATCO sign-in page, built to look like the home page of www.natco-sae.com: navy top bar with the NATCO logo and the site's menu,
 * the home-page hero photo with its headline, and the navy footer. The GLPI sign-in form itself is unchanged (moved into the hero).
 */
:root { --natco-navy: #213058; --natco-steel: #a1afc3; --natco-grey: #7e7f82; --natco-blue: #568fde; }
body.welcome-anonymous { margin: 0; background: #fff !important; color: var(--natco-navy); font-family: "Assistant", sans-serif; }
body.natco-skin .page-anonymous { display: block; min-height: 0; }
body.natco-skin .page-anonymous > .flex-fill { display: none !important; }      /* GLPI's own centred box, emptied by natco-login.js */
.natco-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
/* top bar */
.natco-top { background: var(--natco-navy); height: 80px; }
.natco-top .natco-wrap { display: flex; align-items: center; height: 100%; }
.natco-top .natco-brand img { height: 36px; width: auto; display: block; }
.natco-top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.natco-top nav a { color: #fff !important; opacity: .78; text-decoration: none; font-size: 17px; padding: 6px 10px; border-bottom: 2px solid transparent; }
.natco-top nav a:hover { opacity: 1; }
.natco-top nav a.active { opacity: 1; border-bottom-color: var(--natco-blue); }
/* hero with the sign-in card */
.natco-hero { position: relative; min-height: 560px; background: url("../img/natco-hero-home.jpg") center top / cover no-repeat; }
.natco-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,48,88,0) 35%, rgba(33,48,88,.55) 100%); pointer-events: none; }
.natco-hero .natco-wrap { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; min-height: 560px; padding-bottom: 48px; }
.natco-hero h1 { color: #fff; font-family: "Assistant", sans-serif; font-weight: 400; font-size: 54px; line-height: 1.12; text-transform: uppercase; margin: 0 0 12px; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.natco-hero p.natco-lead { color: #fff; font-size: 19px; max-width: 520px; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.natco-signin { width: 380px; flex: 0 0 380px; margin-bottom: -96px; }
.natco-signin .card { border: 0; border-radius: 4px; box-shadow: 0 18px 40px rgba(33,48,88,.25); }
.natco-signin .card-body { padding: 28px 30px 22px; }
.natco-signin .card-body .row > .col-md-5 { flex: 0 0 100%; max-width: 100%; }
.natco-signin .card-header { border: 0; padding: 0; }
.natco-signin h2 { font-family: "Cormorant", serif; font-weight: 700; text-transform: uppercase; color: var(--natco-navy); font-size: 26px; letter-spacing: .5px; }
.natco-signin .form-label { color: var(--natco-navy); font-weight: 600; font-size: 15px; }
.natco-signin .form-control, .natco-signin .form-select { border-radius: 3px; border-color: #ccd3de; font-size: 16px; }
.natco-signin .form-control:focus { border-color: var(--natco-blue); box-shadow: 0 0 0 .2rem rgba(86,143,222,.2); }
.natco-signin .btn-primary { color: #fff !important; background: var(--natco-navy) !important; border-color: var(--natco-navy) !important; border-radius: 4px; font-weight: 700; font-size: 16px; }
.natco-signin .btn-primary::before { content: "\232A"; margin-right: 8px; opacity: .6; font-weight: 400; }
.natco-signin .btn-primary:hover { background: #172344 !important; }
.natco-signin a { color: var(--natco-navy); }
.natco-signin .natco-note { font-size: 13px; color: var(--natco-grey); text-align: center; margin-top: 10px; }
/* service strip under the hero, in the style of the site's industry cards */
.natco-strip { padding: 72px 0 64px; }
.natco-strip .natco-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1160px; padding-right: 440px; }
.natco-strip .box { height: 150px; position: relative; overflow: hidden; background: var(--natco-navy) center / cover no-repeat; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.natco-strip .box::before { content: ""; position: absolute; inset: 0; background: rgba(33,48,88,.72); }
.natco-strip .box span { position: relative; font-family: "Cormorant", serif; font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .5px; }
.natco-strip .box small { position: relative; display: block; font-family: "Assistant", sans-serif; font-size: 14px; opacity: .85; text-transform: none; letter-spacing: 0; margin-top: 4px; }
/* footer */
.natco-foot { background: var(--natco-navy); color: #fff; padding: 44px 0 26px; font-size: 14px; }
.natco-foot .cols { display: flex; gap: 48px; align-items: flex-start; }
.natco-foot img { height: 30px; }
.natco-foot .head { font-family: "Cormorant", serif; font-weight: 700; font-size: 17px; text-transform: uppercase; margin-bottom: 6px; }
.natco-foot a { color: #fff !important; text-decoration: none; display: block; line-height: 1.6; }
.natco-foot .rule { border-top: 1px solid rgba(255,255,255,.6); margin-top: 32px; padding-top: 12px; display: flex; justify-content: space-between; font-size: 13px; }
.natco-foot .rule .powered, .natco-foot .rule .powered a { color: var(--natco-steel) !important; display: inline; }
@media (max-width: 980px) {
  .natco-top nav a:not(.active):not(.lang) { display: none; }
  .natco-hero .natco-wrap { flex-direction: column; align-items: stretch; }
  .natco-signin { width: auto; flex: none; margin-bottom: 0; }
  .natco-strip .natco-wrap { grid-template-columns: 1fr; padding-right: 24px; }
  .natco-foot .cols { flex-direction: column; gap: 18px; }
}
