/* TUMS Client / Bidder Login — Pilot Energy design (matches pilotenergy.com) */
:root{--eco:#006B5C;--eco-dark:#004f43;--pilot:#02B795;--yellow:#FFC629;--matte:#231F20;--ink:#13241f;--muted:#6b6860;--line:#e0ddd6}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Public Sans',system-ui,sans-serif;color:var(--matte);background:#fff;line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased}
.wrap{max-width:1180px;margin:0 auto;padding-inline:clamp(20px,5vw,56px)}

/* Hero */
.tp-hero{position:relative;background:#fff;min-height:600px;display:flex;align-items:center;overflow:hidden}
.tp-hero-photo{position:absolute;top:0;right:0;bottom:0;width:62%;background:url('../images/tums-hero.jpg') right center/cover no-repeat}
.tp-hero .wrap{position:relative;z-index:1;width:100%}
.tp-hero-copy{max-width:580px;padding:80px 0}
.tp-hero h1{margin:0 0 24px;font-size:56px;line-height:1.1;font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.tp-hero h1 em{display:block;font-style:italic;color:var(--pilot)}
.tp-lede{margin:0 0 36px;font-size:18px;line-height:1.55;font-weight:600;color:var(--matte)}
.tp-ctas{display:flex;flex-wrap:wrap;gap:16px}
.tp-btn{display:inline-block;padding:14px 28px;border-radius:999px;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease}
.tp-btn:hover{transform:translateY(-1px)}
.tp-btn:focus-visible{outline:3px solid var(--pilot);outline-offset:3px}
.tp-btn-yellow{background:var(--yellow);color:var(--eco-dark);box-shadow:0 10px 26px rgba(255,198,41,.32)}
.tp-btn-yellow:hover{background:#f5b800}
.tp-btn-green{background:var(--eco);color:#fff;box-shadow:0 10px 26px rgba(0,107,92,.22)}
.tp-btn-green:hover{background:var(--eco-dark)}

/* Body copy */
.tp-body{padding:56px 0 96px}
.tp-body p{margin:0 0 24px;font-size:17px;line-height:1.6;color:var(--matte)}
.tp-body p:last-child{margin-bottom:0}
.tp-body a{color:var(--eco);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tp-body a:hover{color:var(--pilot)}

@media (max-width:1180px) and (min-width:901px){
  .tp-hero-photo{background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.75) 22%,rgba(255,255,255,0) 45%),url('../images/tums-hero.jpg')}
}
@media (max-width:900px){
  .tp-hero{display:block;min-height:0}
  .tp-hero h1{font-size:40px}
  .tp-hero-copy{max-width:none;padding:48px 0 40px}
  .tp-hero-photo{position:static;width:auto;height:300px;background-position:72% center}
  .tp-lede{font-size:17px;margin-bottom:28px}
  .tp-ctas{flex-direction:column}
  .tp-btn{display:block;text-align:center}
  .tp-body{padding:40px 0 64px}
  .tp-body p{font-size:16px}
}
@media (max-width:480px){
  .tp-hero h1{font-size:34px}
}

/* ---------- Header / nav (matches pilotenergy.com) ---------- */
.pe-nav{
  position:fixed;top:0;left:0;right:0;z-index:50;height:64px;
  display:flex;align-items:center;
  background:rgba(250,250,247,.88);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid #d8d5ce;
}
.pe-nav-inner{
  display:flex;align-items:center;gap:1.5rem;
  width:100%;max-width:1180px;margin:0 auto;height:64px;
  padding-inline:clamp(20px,5vw,56px);
}
.pe-logo{display:inline-flex;align-items:center}
.pe-logo img{display:block;height:46px;width:auto}
.pe-nav-links{display:flex;align-items:center;gap:1.6rem;list-style:none;margin:0 0 0 auto;padding:0}
.pe-nav-links a{color:#13241f;font-size:.92rem;font-weight:500;text-decoration:none;transition:color .15s}
.pe-nav-links a:hover{color:var(--eco)}
.pe-nav-links li:last-child a{background:var(--eco);color:#fafaf7;font-weight:600;border-radius:999px;padding:.55rem 1.1rem}
.pe-nav-links li:last-child a:hover{background:#004f43;color:#fafaf7}
.pe-nav-toggle{display:none}
.pe-nav-spacer{height:64px}

/* ---------- Login panel ---------- */
.tl-section{padding:24px 0 96px;scroll-margin-top:80px}
.tl-panel{display:grid;grid-template-columns:1fr 1fr;background:#F4F3EF;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 10px rgba(0,79,67,.06);padding:36px 0}
.tl-col{padding:0 40px}
.tl-col + .tl-col{border-left:1px solid var(--line)}
.tl-heading{display:flex;align-items:center;gap:14px;margin:0 0 24px}
.tl-icon{flex:0 0 auto;width:24px;height:34px;color:var(--pilot)}
.tl-heading h2{margin:0;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.01em;color:var(--ink)}
.tl-error{display:block;margin:0 0 12px;color:#B42318;font-size:14px;font-weight:600}
.tl-error:empty{display:none}
.tl-field{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:0 16px;margin:0 0 14px}
.tl-field label{font-size:15px;font-weight:500;color:var(--matte)}
.tl-input{width:100%;height:44px;padding:0 14px;font:inherit;font-size:15px;color:var(--matte);background:#fff;border:1px solid var(--line);border-radius:8px;transition:border-color .15s ease,box-shadow .15s ease}
.tl-input:focus{outline:none;border-color:var(--pilot);box-shadow:0 0 0 3px rgba(2,183,149,.22)}
.tl-actions{display:flex;justify-content:flex-end;margin:6px 0 24px}
/* asp:ImageButton renders as <input type="image">; the image is the button face */
.tl-submit{display:block;width:112px;height:44px;border:0;border-radius:8px;cursor:pointer;transition:filter .15s ease,transform .15s ease}
.tl-submit:hover{filter:brightness(.88);transform:translateY(-1px)}
.tl-submit:focus-visible{outline:3px solid var(--pilot);outline-offset:3px}
.tl-cancel{display:none!important} /* legacy Cancel buttons kept for code-behind compatibility */
.tl-help{margin:0;font-size:15px;line-height:1.55;font-style:italic;color:var(--matte)}
.tl-help a{color:var(--matte);text-decoration:none}
.tl-help a:hover{color:var(--eco);text-decoration:underline}

/* ---------- Footer (mirrors pilotenergy.com) ---------- */
.pe-footer-wrap p{margin:0 0 12px}
.pe-footer-seal{display:inline-block;vertical-align:middle;margin-left:12px}

.pe-footer-wrap footer { background:#ffffff; color:#231F20; padding:64px 24px 32px; border-top:1px solid #e0ddd6; }
.pe-footer-wrap .footer-inner { max-width:1180px; margin:0 auto; display:flex; flex-wrap:wrap; gap:48px; align-items:flex-start; }
.pe-footer-wrap .footer-brand { flex:1 1 280px; }
.pe-footer-wrap .footer-logo { display:inline-block; margin-bottom:16px; }
.pe-footer-wrap .footer-logo img { max-width:180px; height:auto; }
.pe-footer-wrap .footer-tagline { font-size:14px; color:#6b6860; margin:0 0 20px; line-height:1.5; }
.pe-footer-wrap .footer-phone { margin:0 0 16px; font-size:15px; font-weight:700; }
.pe-footer-wrap .footer-phone a { color:#006B5C; text-decoration:none; }
.pe-footer-wrap .footer-phone a:hover { color:#02B795; }
.pe-footer-wrap .footer-social { list-style:none; margin:0 0 20px; padding:0; display:flex; gap:12px; }
.pe-footer-wrap .footer-social li { list-style:none; margin:0; padding:0; }
.pe-footer-wrap .footer-social a { color:#006B5C; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border:1px solid #e0ddd6; border-radius:50%; transition:all .15s; }
.pe-footer-wrap .footer-social a:hover { background:#006B5C; color:#ffffff; border-color:#006B5C; }
.pe-footer-wrap .footer-privacy-choice { margin:0 0 20px; font-size:13px; }
.pe-footer-wrap .footer-privacy-choice a { color:#231F20; display:inline-flex; align-items:center; text-decoration:none; }
.pe-footer-wrap .footer-privacy-choice a:hover { color:#006B5C; }
.pe-footer-wrap .footer-brand-row { display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.pe-footer-wrap .footer-brand-left { flex:1 1 auto; }
.pe-footer-wrap .footer-brand-left > *:last-child { margin-bottom:0; }
.pe-footer-wrap .footer-gptw { display:inline-block; flex:0 0 auto; }
.pe-footer-wrap .footer-gptw img { max-width:110px; height:auto; }
.pe-footer-wrap .footer-bottom a { color:#006B5C; text-decoration:none; }
.pe-footer-wrap .footer-bottom a:hover { color:#02B795; text-decoration:underline; }
.pe-footer-wrap .footer-cols { flex:2 1 600px; display:flex; flex-wrap:wrap; gap:32px; }
.pe-footer-wrap .footer-cols > div { flex:1 1 160px; }
.pe-footer-wrap .footer-col-label { font-size:12px; font-weight:700; letter-spacing:2px; color:#02B795; text-transform:uppercase; margin:0 0 14px; }
.pe-footer-wrap .footer-cols ul { list-style:none; margin:0; padding:0; }
.pe-footer-wrap .footer-cols li { margin:0 0 10px; padding:0; list-style:none; }
.pe-footer-wrap .footer-cols a { color:#231F20; text-decoration:none; font-size:14px; transition:color .15s; }
.pe-footer-wrap .footer-cols a:hover { color:#006B5C; }
.pe-footer-wrap .footer-bottom { max-width:1180px; margin:40px auto 0; padding-top:24px; border-top:1px solid #e0ddd6; font-size:12px; color:#6b6860; line-height:1.6; }
@media (max-width:640px){
.pe-footer-wrap .footer-inner { gap:32px; }
.pe-footer-wrap .footer-cols { gap:24px; }
}

@media (max-width:1080px){
  .tl-col{padding:0 28px}
  .tl-field{grid-template-columns:1fr;gap:6px}
}
@media (max-width:900px){
  .pe-nav-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:8px;background:none;border:0;cursor:pointer;z-index:101}
  .pe-nav-toggle span,.pe-nav-toggle span::before,.pe-nav-toggle span::after{display:block;width:22px;height:2px;background:#13241f;border-radius:1px}
  .pe-nav-toggle span{position:relative}
  .pe-nav-toggle span::before,.pe-nav-toggle span::after{content:"";position:absolute;left:0}
  .pe-nav-toggle span::before{top:-7px}
  .pe-nav-toggle span::after{top:7px}
  .pe-nav-links{
    position:absolute;top:0;right:0;z-index:95;
    flex-direction:column;align-items:stretch;gap:0;margin:0;
    width:min(280px,80vw);height:100vh;overflow-y:auto;
    padding:5rem 1.5rem 2rem;background:#fafaf7;box-shadow:-8px 0 24px rgba(0,0,0,.08);
    transform:translateX(100%);transition:transform .25s ease,visibility 0s linear .25s;visibility:hidden;
  }
  .pe-nav-links li{width:100%}
  .pe-nav-links a{display:block;padding:.9rem 0;font-size:15px;border-bottom:1px solid #d8d5ce}
  .pe-nav-links li:last-child a{margin-top:1rem;text-align:center;border-bottom:0}
  body.nav-open .pe-nav-links{transform:translateX(0);visibility:visible;transition:transform .25s ease}
  .tl-section{padding:16px 0 64px}
  .tl-panel{grid-template-columns:1fr;padding:28px 0}
  .tl-col{padding:0 24px}
  .tl-col + .tl-col{border-left:0;border-top:1px solid var(--line);margin-top:28px;padding-top:28px}
  .tl-heading h2{font-size:22px}
}
