/**
* LOGIN
*/

/* Defaults */
label {
  display: block;
  font-weight: 600;
}

input[type="text"],
input[type="password"] {
  display: block;
  width: 100%;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: var(--global-radius);
  border: 2px solid #ddd;
  box-shadow: none;
  transition: border .2s ease;
  background-color: #fff;
  -webkit-appearance: none;
}

input:focus {
  outline: none;
  border-color: var(--color-neutral);
}

button {
  padding: 1rem 1.25rem;
  border-radius: 100em;
  border: none;
  background-color: var(--color-neutral);
  color: #fff;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color .3s ease,
    filter .3s ease;
}

button:hover {
  filter: brightness(110%);
}

button:disabled {
  opacity: .25;
  pointer-events: none;
}

/* Form */
.login-container {
  display: flex;
  min-height: 0vh;
}

.login-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  padding: 0em 0em 0em;
  text-align: center;
  background-color: #fff;
  box-shadow: var(--shadow-light);
}

.login-details {
  text-align: left;
  width: 100%;
  max-width: 25em;
  margin: 1em auto 2em;
}

.login-cover {
  background-image: url("../../img/login-cover.png");
  background-size: cover;
  background-position: center;
  background-color: #eee;
}

.login-notice {
  display: none;
  padding: .5em .75em;
  margin: 0 auto;
  background-color: var(--color-neutral);
  color: #fff;
  border-radius: var(--global-radius);
}

.login-notice.is-shown {
  display: inline-block;
}

.login-notice.error {
  background-color: var(--color-error);
}

.login-notice.success {
  background-color: var(--color-success);
}

.login-logo {
  margin-bottom: 0em;
}

.login-logo img {
  width: 100%;
  height: 100%;
  max-width: 200px;
}

.login-title {
  font-size: 1.75em;
  font-weight: 800;
  margin-bottom: .5em;
}

.login-information {
  opacity: .9;
  font-size: 1.2em;
  margin: 0 0 1rem;
}

.login-form label {
  margin-bottom: .25em;
}

.login-form input {
  font-size: 1.2em;
  padding: .75em;
}

.password-input {
  position: relative;
  margin-bottom: 1em;
}

.password-input input {
  position: relative;
  padding-right: 5.5em;
  margin: 0;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 6.5em;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  color: var(--color-neutral);
  font-weight: 600;
  padding: .5em 1em;
  border-radius: .5em;
  transition: color .2s ease;
}

.password-toggle:hover {
  color: #333;
}

.password-toggle svg {
  font-size: 1.25em;
  margin-right: .25em;
}

.login-button {
  position: relative;
  width: 100%;
  font-size: 1.125rem;
}

.login-button:focus {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
}

.login-button svg {
  display: none;
  font-size: 1.5em;
  width: 1em;
  height: 1em;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -0.5em 0 0 -0.5em;
  color: #fff;
  animation: spin .75s linear infinite;
}

.login-button.is-loading {
  opacity: 0.5;
  pointer-events: none;
  color: transparent;
}

.login-button.is-loading svg {
  display: block;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    font-size: .875rem;
    color: rgba(0,0,0,.5);
}

.login-divider:before,
.login-divider:after {
    content: '';
    flex: 1;
    border: 1px solid rgba(0,0,0,.05);
}

.login-copyright {
  /* margin-top: auto; */
  font-size: .9em;
  color: #888;
}

/* Screen: Medium screens */
@media screen and (min-width: 40em) {

  .login-form {
    padding-top: 0em; 
  }

}

/* Screen: Large screens */
@media screen and (min-width: 60em) {

  .login-form {
    width: 35%;
    min-width: 30em;
    /* padding: 4em 4em 2em; */
  }

  .login-cover {
    width: 65%;
  }

  .login-logo {
    margin-bottom: em;
  }

  .login-title {
    font-size: 2em;
  }

  .login-notice {
    margin: .5em auto;
  }

}

/* Page Enhancements for website feel */
:root {
    --brand: #1f299c; /* Bilfinger primary */
    --brand-700: #1f299c;
    --ink: #1b1b1b;
    --muted: #5b5f66;
    --bg: #f6f8fb;
    --card: #ffffff;
}

/* Simple site header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; /* we will pad inner container */
    background: #fff; /* image + white */
    color: var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.investors-header .primary-nav {
 CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX;
 
    max-width: 1200px;
    /* margin: 0 auto; */
    padding: 12px 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.investors-header .nav-left {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
}
.investors-header .nav-left a {
    text-decoration: none;
    color: #191919;
    font-weight: 700;
    border-bottom: 4px solid transparent;
    padding: 22px 0 18px;
}
.investors-header .nav-left a:hover { opacity: 1; border-bottom-color: rgba(0,83,160,.15); }

.investors-header .nav-right { display: inline-flex; align-items: center; gap: 16px; }
.investors-header .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(0,0,0,.06);
    color: #191919;
}
.investors-header .icon-btn:hover { background: rgba(0,0,0,.1); }
.investors-header .locale { color: #191919; text-decoration: none; font-weight: 600; }
.investors-header .header-logo img { height: 40px; width: auto; }

/* Language switch */
.language-switch { display: inline-flex; align-items: center; gap: 8px; }
.language-switch a { color: #191919; text-decoration: none; font-weight: 700; opacity: .7; }
.language-switch a.language-active { opacity: 1; }
.language-switch a:hover { opacity: 1; text-decoration: underline; }
/* Header typography & color */
.site-header,
.site-header nav a {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #191919;
}

/* Prefer Inter to match reference when available */
@supports (font-variation-settings: normal) {
    .site-header,
    .site-header nav a,
    .login-form,
    .info-sections,
    .site-footer {
        font-family: 'Inter', 'Roboto', Arial, sans-serif;
    }
}
/* old brand chunk no longer used */

/* Make login look like a card on a hero */
.hero {
    background: #fff;
    padding: 40px 20px 10px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero h1 {
    margin: 0 0 12px;
    font-size: 32px;
    color: var(--ink);
}
.hero p.lead { color: var(--muted); font-size: 16px; }

/* Tweak existing login card so it fits hero area */
.hero .login-container { margin: 0; }
.hero .login-form {
    background: var(--card);
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    border-radius: 30px;
}
.hero .login-cover { display: none; }

/* Helpful links under inputs */
.login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 0;
    font-size: 13px;
}
.login-links a { color: var(--brand-700); text-decoration: none; }
.login-links a:hover { text-decoration: underline; }

/* Buttons in brand color */
.login-button { background-color: var(--brand); }

/* Informational sections */
.info-sections {
    background: var(--bg);
    padding-top: 20px;
}
.info-container {
    max-width: 1000px;
    margin: 0 auto;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.info-card {
    background: var(--card);
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.info-card h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 18px;
}
.info-card p { color: var(--muted); line-height: 1.6; }

/* Footer */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff;
    color: #191919;
}
.site-footer .footer-logo img { height: 40px; width: auto; }

.investors-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.investors-footer .footer-links {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
}
.investors-footer .footer-links a { color: #191919; text-decoration: none; font-weight: 600; }
.investors-footer .footer-links a:hover { text-decoration: underline; }
.investors-footer .footer-meta {
    width: 100%;
    max-width: 1200px;
    margin: 6px auto 0;
    padding: 0 16px 12px;
    font-size: 14px;
    color: #5b5f66;
}

/* Dark blue legal bar */
/* Unified Bilfinger-like footer bar */
.bf-footer { margin-top: 24px; }
.bf-footer-bar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #202aa0; /* deep Bilfinger blue */
    color: #fff;
}
.bf-footer-left { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.bf-badge { width: 26px; height: 26px; border-radius: 50%; background: #e6f7ff; display: inline-block; }
.bf-footer-links {
    display: flex;
    justify-content: center;
    gap: 24px; /* Optional: adds space between links */
}
.bf-footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.bf-footer-links a:hover { text-decoration: underline; }
.bf-footer-social { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.bf-footer-social a { color: #fff; opacity: .95; }
.bf-footer-social a:hover { opacity: 1; }
.bf-footer-logo img { height: 44px; width: auto; display: block; background: #fff; padding: 8px 10px; }

@media (max-width: 900px) {
    .bf-footer-bar { grid-template-columns: 1fr; row-gap: 10px; text-align: center; }
    .bf-footer-links, .bf-footer-social { justify-content: center; }
    .bf-footer-logo { justify-self: center; }
}

/* Small screens */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
}

/* Make tile titles (h3 inside .info-card) use brand blue */
.info-card h3 {
    color: #1f299c;
}

/* Floating logo in corner */
.floating-logo {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    width: 110px;
    height: 110px;
    transform: translateY(-35%);
    background: #fff; /* White background for the logo */
    border-bottom-left-radius: 55px; /* Optional: rounded corner for style */
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); /* Optional: subtle shadow */
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-logo img {
    width: 90%;
    height: 90%;
    display: block;
    background: none;
}
@media (max-width: 600px) {
    .floating-logo {
        width: 70px;
        height: 70px;
    }
}

/* Make header and floating logo always visible at top */
.site-header.investors-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    background: #fff; /* or your header background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Add top padding to body to prevent content hiding behind header */
body.template-login {
    padding-top: 70px; /* match your header height */
}

/* Make underline green on hover for Objectives card */
#objectives.info-card:hover {
    border-bottom: 3px solid #96D228; /* Replace #009639 with your company green if different */
    /* Remove or override any grey underline styles here */
}