/* TG-iPASS Phase 1 UI refresh - NEW LOOK for IpassLogin.aspx (the page itself is unchanged).
   Added by UiThemeModule only when the new look is on. Presentation only. */
body { background: #F4F6F3 !important; font-family: 'Noto Sans', 'Noto Sans Telugu', Arial, sans-serif !important; color: #1B2420; }
a:focus, button:focus, input:focus { outline: 3px solid #E0A526 !important; outline-offset: 2px; }

/* Header added by tgipass-login-modern.js */
.tg-l-top { background: #7D5F17; color: #fff; font-size: 13px; }
.tg-l-wrap { max-width: 1280px; margin: 0 auto; padding: 6px 24px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.tg-l-top a { color: #fff; }
.tg-l-top .tg-l-wrap > span { margin-left: auto; }
.tg-l-look { border: 1px solid #fff; border-radius: 6px; padding: 4px 10px; font-weight: 600; text-decoration: none; }
.tg-l-look:hover { background: #fff; color: #7D5F17 !important; }
.tg-l-brand { background: #fff; border-bottom: 4px solid #E0A526; }
.tg-l-brand .tg-l-wrap { padding: 12px 24px; }
.tg-l-brand img.tg-l-logo { max-height: 80px; width: auto; }
.tg-l-leaders { display: grid; grid-template-columns: repeat(2, 176px); gap: 16px; align-items: start; }
.tg-l-leader { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.tg-l-leader img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #E0A526; box-sizing: border-box; }
.tg-l-leader strong { display: block; font-size: 14px; font-weight: 600; }
.tg-l-leader span { display: block; font-size: 12px; color: #3D4A43; }
.tg-l-nav { background: #2E6B3E; }
.tg-l-nav .tg-l-wrap { padding: 0 24px; justify-content: flex-start; gap: 0; }
.tg-l-nav a { color: #fff; padding: 12px 14px; font-size: 15px; text-decoration: none; }
.tg-l-nav a[aria-current] { background: #E0A526; color: #1B2420; font-weight: 700; }

/* Existing page: hide the old slider background, centre the existing login card */
.slider-bg { background: none !important; min-height: 0 !important; height: auto !important; position: static !important; }
.slider-bg #slider { display: none !important; }
.find-section { position: static !important; padding: 40px 16px !important; margin: 0 !important; }
.finder-block { float: none !important; margin: 0 auto !important; max-width: 460px; width: 100% !important; }
.finder-form-transparent { background: transparent !important; padding: 0 !important; }
.well-box { background: #fff !important; border: 1px solid #DCE3DE !important; border-top: 4px solid #2E6B3E !important; border-radius: 16px !important;
            box-shadow: 0 8px 24px rgba(14,66,41,.08) !important; padding: 32px !important; }
.well-box > img { display: none !important; }            /* logo is already in the new header */
.well-box form br { display: none; }
.tg-l-title { margin: 0 0 4px; font-size: 24px; font-weight: 700; color: #1B2420; }
.tg-l-sub { margin: 0 0 20px; font-size: 14px; color: #5B6560; }
.well-box .form-group { margin-bottom: 16px; position: static !important; left: auto !important; top: auto !important; }
.well-box label.tg-l-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #1B2420; }
.well-box .form-control { height: 44px !important; width: 100% !important; border: 1px solid #9AA8A0; border-radius: 8px; font-size: 16px; box-shadow: none; }
.tg-l-pwd { display: flex; }
.tg-l-pwd .form-control { border-radius: 8px 0 0 8px; }
.tg-l-pwd button { width: 68px; border: 1px solid #9AA8A0; border-left: 0; border-radius: 0 8px 8px 0; background: #F4F6F3; color: #155E3B; font-weight: 600; }
.tg-captcha-img table { width: 100%; }
.tg-captcha-img td { padding: 0 !important; }
.tg-captcha-img img { border-radius: 8px; border: 1px solid #DCE3DE; max-height: 48px; }
.well-box .btn-primary { width: 100%; height: 48px; background: #155E3B !important; border: 0 !important; border-radius: 8px !important; font-size: 16px; font-weight: 600; }
.well-box .btn-primary:hover { background: #0E4229 !important; }
.well-box a { color: #155E3B; font-weight: 600; }
.well-box .alert { border-radius: 8px; }
.tg-l-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 4px; }
.tg-l-links a { white-space: nowrap; font-size: 15px; }
.tg-l-links a img { width: 32px !important; height: 32px !important; display: block; }
.tiny-footer { background: #0E4229 !important; color: #DCE8E0 !important; }

@media (max-width: 700px) { .tg-l-leaders { grid-template-columns: repeat(2, 140px); } }
