/* Keep the original header, icon navigation, and page layouts. */
.btn-primary{background-color:#0E7490;border-color:#0E7490;border-radius:6px;box-shadow:0 2px 5px #0E74901f}
.btn-primary:hover,.btn-primary:active{background-color:#155E75!important;border-color:#155E75!important}
.btn-primary:focus{box-shadow:0 0 0 3px #0E749038}
.main-header .nav-link:hover{color:#0E7490!important}
/* A natural-height footer, never an overlay on form content. */
.portal-footer{background:#15384b;color:#c8dce5;border-top:3px solid #259c9d;padding:20px 0 0!important}
.portal-footer-grid{display:grid;grid-template-columns:1.2fr 1.2fr .8fr;gap:28px;padding-bottom:14px}
.portal-footer-brand{display:block;color:#fff;font-size:20px;font-weight:700;margin-bottom:6px}
.portal-footer-brand span{font-weight:400;color:#9bddd8}
.portal-footer p{font-size:13px;line-height:1.5;margin:0 0 6px}
.portal-footer h2{font-size:14px;font-weight:600;color:white;margin:3px 0 8px}
.portal-footer a{display:block;color:#d4e8ed;font-size:13px;margin-bottom:5px}
.portal-footer a:hover{color:#a6e8df;text-decoration:underline}
.portal-email{overflow-wrap:anywhere}
.portal-footer-bottom{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #ffffff22;font-size:12px;padding:11px 0}
.email-entry-page .wrapper{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.email-entry-page .content-wrapper{flex:1 0 auto;min-height:0!important;display:flex;flex-direction:column}
.email-entry-page .content-header{display:none}
.email-entry-page .content-wrapper>.content{flex:1;display:flex;align-items:center;padding:20px 8px 180px}
.email-entry-page .content-wrapper>.content>.container-fluid{width:100%}
.email-entry-page .card{margin-bottom:0;border-radius:8px;border-top:3px solid #0E7490;box-shadow:0 4px 18px #163b4b12}
.email-entry-page .card-header{background:#fff;color:#185069;font-weight:600}
.email-entry-page .form-control:focus{border-color:#0E7490;box-shadow:0 0 0 3px #0E749020}
a:focus-visible,button:focus-visible{outline:3px solid #0E7490;outline-offset:3px}
@media(max-width:767px){.portal-footer-grid{grid-template-columns:1fr;gap:15px}.portal-footer{padding:20px 15px 0!important}.portal-footer-bottom{flex-direction:column;gap:3px}.email-entry-page .content-wrapper>.content{padding:20px 0}.main-header.navbar{height:auto!important;min-height:100px}.main-header .navbar-nav{margin-top:0!important;padding-left:0!important}}

/* Shared typography for both database-backed terms translations. */
.terms-page .terms-content,.terms-page .terms-content *{font-family:inherit!important;font-weight:400!important;color:#243746!important;line-height:1.65}
.terms-page .terms-content :is(h1,h2,h3,h4,h5,h6,strong,b),.terms-page .terms-content :is(h1,h2,h3,h4,h5,h6,strong,b) *{font-weight:600!important}
.terms-page .btn-outline-primary{color:#0E7490;border-color:#0E7490;font-weight:600}
.terms-page .btn-outline-primary:hover,.terms-page .btn-outline-primary.active,.terms-page .btn-outline-primary:active{color:#fff!important;background-color:#0E7490!important;border-color:#0E7490!important}
.terms-page .btn-outline-primary:focus{box-shadow:0 0 0 3px #0E749038}

.information-heading{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.information-heading h3{flex:1;text-align:center;font-size:24px;float:none!important}
.information-heading #information-back{flex-shrink:0}
@media(max-width:575px){.information-heading{gap:10px}.information-heading h3{font-size:20px}.information-heading .btn-group{margin-left:auto}}

/* Back action sits outside the white card, level with its header. */
.information-card-column{position:relative}
.information-back-outside{position:absolute;right:calc(100% + 1px);top:0;white-space:nowrap}
@media(max-width:767px){.information-card-column{padding-left:108px}.information-back-outside{left:8px;right:auto}}
@media(max-width:420px){.information-card-column{padding-left:92px}.information-back-outside{left:0}.information-back-outside .btn{font-size:12px;padding:5px 7px}}

/* Match authentication form links to the teal buttons. */
.email-entry-page .card-body a{color:#0E7490}
.email-entry-page .card-body a:hover,.email-entry-page .card-body a:focus{color:#155E75;text-decoration:underline}

/* Original illustration with surrounding informational cards. */
.public-home-page .wrapper{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.public-home-page .content-wrapper{flex:1;min-height:0!important}
.public-home-page .content-header{display:none}
.home-landing{max-width:1200px;padding-top:27px;padding-bottom:20px}
.home-introduction{text-align:center;margin-bottom:10px}
.home-introduction h1{font-size:27px;font-weight:600;line-height:1.3;color:#15384b;margin:0 0 7px}
.home-introduction p{font-size:14px;color:#456778;margin:0!important;padding:0!important;line-height:1.25}
.home-overview{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr) minmax(190px,260px);grid-template-rows:auto auto 1fr;gap:16px 24px;align-items:start;position:relative;padding-top:12px;isolation:isolate}
/* Clip only the transparent padding embedded in the original PNG. */
.home-illustration{grid-column:1 / -1;grid-row:1 / 4;position:relative;aspect-ratio:1317 / 1062;width:100%;max-width:1050px;justify-self:center;margin-top:20px;overflow:hidden;z-index:-1}
.home-illustration img{position:absolute;width:105.467%;max-width:none;height:auto;left:-2.734%;top:-22.881%}
.home-info-card{position:relative;z-index:1;padding:18px;background:rgba(255,255,255,.94);border:1px solid #b8dddd;border-radius:8px;box-shadow:0 3px 12px #15384b0a;color:#15384b}
.home-info-tender{grid-column:1;grid-row:1}.home-info-catalog{grid-column:3;grid-row:1}.home-info-article{grid-column:1;grid-row:2}.home-info-account{grid-column:3;grid-row:2}
.home-card-number{font-size:11px;letter-spacing:1px;color:#155E75;font-weight:600}
.home-info-card h2{font-size:19px;font-weight:600;margin:5px 0 8px}
.home-info-card p{font-size:14px;line-height:1.6;color:#456778;margin:0}
.home-guide-note{text-align:center;font-size:12px;line-height:1.5;color:#456778;margin:12px 0 0}
@media(max-width:767px){.home-introduction h1{font-size:23px}.home-overview{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}.home-illustration{grid-column:1 / -1;grid-row:1;max-width:480px;justify-self:center;margin-top:0;z-index:0}.home-info-tender{grid-column:1;grid-row:2}.home-info-catalog{grid-column:2;grid-row:2}.home-info-article{grid-column:1;grid-row:3}.home-info-account{grid-column:2;grid-row:3}.home-info-card{align-self:stretch;padding:15px}}
@media(max-width:400px){.home-overview{display:flex;flex-direction:column}.home-info-card{width:100%}}

.home-introduction .home-guide-note{font-size:12px;margin:0!important;padding:0!important;line-height:1.25}

/* Refreshed header using the original image assets. */
.brand-masthead{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:22px clamp(20px,4vw,72px);background:linear-gradient(115deg,#e3f7f6,#cdf0ef);border-top:3px solid #0E7490}
.brand-masthead-logo{width:clamp(180px,25vw,340px)}
.brand-masthead-logo:last-child{width:clamp(170px,24vw,320px)}
.brand-masthead-logo img{display:block;max-height:110px;object-fit:contain;opacity:1!important}
.refreshed-nav{padding:10px 0;border-bottom:1px solid #c6e4e7;box-shadow:0 4px 14px #15384b08}
.refreshed-nav .navbar-collapse{justify-content:center}
.refreshed-nav .navbar-nav{align-items:center;gap:18px;margin:0;padding:0}
.refreshed-nav .navbar-nav>.nav-item{position:relative}
.refreshed-nav .navbar-nav>.nav-item>.nav-link{height:auto;min-width:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 18px;border-radius:11px;color:#456778;font-size:14px;font-weight:600;transition:background .2s,color .2s}
.refreshed-nav .nav-link br{display:none}
.refreshed-nav .nav-link span{margin:0!important}
.refreshed-nav .nav-icon{display:flex;align-items:center;justify-content:center;height:43px}
.refreshed-nav .nav-icon img{width:43px!important;height:43px;object-fit:contain;padding:0!important}
.refreshed-nav .nav-link:hover,.refreshed-nav .nav-link.is-current{background:#eaf8fa;color:#0E7490!important}
.refreshed-nav .nav-link.is-current{box-shadow:inset 0 -3px #0E7490}
.refreshed-nav .nav-login-image .nav-icon img{width:136px!important;height:auto}
.refreshed-nav .dropdown-menu{border-radius:10px;padding:8px;left:0}
.refreshed-nav .dropdown-item{border-radius:6px;padding:9px 14px;color:#34586a}
.refreshed-nav .dropdown-item:hover{background:#eaf8fa;color:#0E7490}
.nav-profile-notice{max-width:210px;padding:12px;border:1px solid #b9e2e8;border-radius:9px;background:#f1fafb}
@media(max-width:767px){.brand-masthead{padding:16px;gap:20px}.brand-masthead-logo,.brand-masthead-logo:last-child{width:43%}.brand-masthead-logo img{max-height:80px}.refreshed-nav{min-height:60px!important;padding:10px 16px}.refreshed-nav .navbar-nav{align-items:stretch;gap:4px;padding-top:10px!important}.refreshed-nav .navbar-nav>.nav-item>.nav-link{flex-direction:row;justify-content:flex-start;gap:14px}.refreshed-nav .nav-icon,.refreshed-nav .nav-icon img{height:32px;width:32px!important}.refreshed-nav .nav-login-image .nav-icon{width:auto!important}.nav-profile-notice{max-width:none}}
@media(prefers-reduced-motion:reduce){.refreshed-nav .nav-link{transition:none}}
