/* Additions for the static site (new logo, white menu bar, form, cookies, policy pages) */

/* White menu bar so the new JNE Software logo shows as designed */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(23, 13, 91, .12); position: relative; z-index: 10; }
.site-header .navbar { padding-top: 12px; padding-bottom: 12px; }
.site-header .navbar-brand img { display: block; max-width: 100%; height: auto; }
.site-header #navbarNavAltMarkup a,
.site-header #navbarNavAltMarkup .nav-link { color: #2a237c; font-weight: 600; }
.site-header #navbarNavAltMarkup a:hover { color: #1d8fd8; }
.site-header .hvr-sweep-to-right { border-color: #2a237c !important; border-radius: 20px; padding-left: 16px; padding-right: 16px; }
.site-header .hvr-sweep-to-right:before { background: #2a237c; border-radius: 20px; }
.site-header .hvr-sweep-to-right:hover { color: #fff !important; }
.site-header .navbar-toggler { color: #2a237c; border: 0; padding: 6px; }
.site-header .dropdown-menu { min-width: 80px; }
.site-header .dropdown-menu a { color: #31487d !important; }
@media (max-width: 991px) {
  .site-header .navbar-brand img { width: 190px; }
  .site-header .navbar-nav { padding: 12px 0; }
  .site-header .hvr-sweep-to-right { display: inline-block; margin: 8px 0; }
  .site-header .nav-item.dropdown { margin-left: 0 !important; }
}

.icon-bars, .icon-arrow { display: inline-block; vertical-align: -0.15em; }

/* Contact form */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; text-align: center; font-family: 'Titillium Web', sans-serif; }
.form-status.ok { background: #e6f6ec; color: #17603a; }
.form-status.err { background: #fdecea; color: #8a1c13; }

/* Footer */
.footer-links { margin-top: 8px; font-size: 14px; }
.footer-links a, .cookie-settings { color: inherit; text-decoration: underline; }
.cookie-settings { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }

/* Policy pages */
.policy { max-width: 820px; padding-top: 50px; padding-bottom: 30px; font-family: 'Titillium Web', sans-serif; color: #333; }
.policy h1 { color: #2a237c; font-size: 34px; margin-bottom: 8px; }
.policy h2 { color: #2a237c; font-size: 22px; margin-top: 32px; }
.policy p, .policy li { font-size: 16px; line-height: 1.6; }
.policy .updated { color: #777; font-size: 14px; }
.policy table { width: 100%; font-size: 15px; margin: 12px 0; }
.policy th, .policy td { border-bottom: 1px solid #e3e6ef; padding: 8px 6px; vertical-align: top; text-align: left; }
.policy a { color: #1d6fb8; }

/* Cookie window */
#cookie-banner { position: fixed; inset: 0; z-index: 2147483000; background: rgba(23, 13, 91, .7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center; padding: 16px; }
#cookie-banner .cookie-box { background: #fff; color: #222; max-width: 520px; width: 100%; padding: 30px 26px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: center; font-family: 'Titillium Web', sans-serif; }
#cookie-banner h2 { font-size: 22px; color: #2a237c; margin-bottom: 12px; }
#cookie-banner p { margin: 0 0 22px; font-size: 16px; }
#cookie-banner a { color: #1d6fb8; text-decoration: underline; }
#cookie-banner .cookie-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#cookie-banner button { flex: 1 1 160px; font: 600 16px 'Titillium Web', sans-serif; padding: 12px 18px; cursor: pointer; border: 2px solid #2a237c; border-radius: 25px; background: #2a237c; color: #fff; }
#cookie-banner button:hover { background: #fff; color: #2a237c; }
#cookie-banner button:focus-visible { outline: 3px solid #1d8fd8; outline-offset: 2px; }
body.cookie-lock { overflow: hidden; }

/* First-visit notice */
#notice-modal { position: fixed; inset: 0; z-index: 2147483600; background: rgba(23, 13, 91, .75); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 16px; }
#notice-modal .notice-box { background: #fff; color: #222; max-width: 560px; width: 100%; padding: 30px 26px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.35); text-align: center; font-family: 'Titillium Web', sans-serif; max-height: 90vh; overflow: auto; }
#notice-modal h2 { font-size: 22px; color: #2a237c; margin-bottom: 12px; }
#notice-modal p { margin: 0 0 14px; font-size: 17px; }
#notice-modal .notice-copy { font-size: 14px; color: #555; }
#notice-modal button { font: 600 16px 'Titillium Web', sans-serif; padding: 12px 36px; cursor: pointer; border: 2px solid #2a237c; border-radius: 25px; background: #2a237c; color: #fff; margin-top: 6px; }
#notice-modal button:hover { background: #fff; color: #2a237c; }
#notice-modal button:focus-visible { outline: 3px solid #1d8fd8; outline-offset: 2px; }

/* Footer: one wide block at the bottom */
#footer, #footer-contact { max-width: 100%; padding-left: 24px; padding-right: 24px; }
#footer p, #footer-contact p { max-width: none; }
