/* Modern compatibility layer for the legacy Bootstrap 3 / Web Forms UI. */
:root {
    --ui-primary: #006b4f;
    --ui-primary-dark: #004c3b;
    --ui-primary-soft: #e8f5f0;
    --ui-accent: #d95d9f;
    --ui-navy: #12372f;
    --ui-text: #263b36;
    --ui-muted: #62736f;
    --ui-border: #dfe9e5;
    --ui-surface: #ffffff;
    --ui-background: #f5f8f7;
    --ui-success: #087f5b;
    --ui-danger: #b42318;
    --ui-radius: 10px;
    --ui-shadow: 0 14px 34px rgba(10, 62, 49, .11);
}

html { font-size: 62.5%; }

body.app-shell {
    background: var(--ui-background);
    color: var(--ui-text);
    font-family: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
}

body.app-shell a { color: var(--ui-primary); }
body.app-shell a:hover, body.app-shell a:focus { color: var(--ui-primary-dark); }

.navbar.navbar-first {
    background: rgba(255, 255, 255, .96);
    border: 0;
    border-bottom: 1px solid var(--ui-border);
    box-shadow: 0 4px 18px rgba(24, 27, 57, .06);
}

.navbar.navbar-second {
    background: rgba(255, 255, 255, .97);
    border: 0;
    border-bottom: 1px solid var(--ui-border);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .07);
}

.navbar-brand.menu-first, .navbar-brand.menu-last { color: #555b76; }
.navbar-brand.menu-second { color: var(--ui-navy); font-weight: 600; }
.navbar-nav > li > a { color: #334155; font-weight: 500; }
.navbar-nav > li > a:hover, .navbar-nav > li > a:focus {
    background: var(--ui-primary-soft);
    color: var(--ui-primary-dark);
}

.dropdown-menu {
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
    padding: 6px;
}

.dropdown-menu > li > a { border-radius: 7px; padding: 8px 12px; }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background: var(--ui-primary-soft);
    color: var(--ui-primary-dark);
}

.body-content { padding-bottom: 24px; }

.panel, .well, .modal-content, .jumbotron {
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    box-shadow: 0 4px 16px rgba(15, 23, 42, .055);
}

.panel-heading, .modal-header {
    background: #f8fafc;
    border-color: var(--ui-border);
    border-radius: var(--ui-radius) var(--ui-radius) 0 0;
    color: var(--ui-navy);
}

.panel-title, .modal-title, h1, h2, h3, h4, h5, h6 { color: var(--ui-navy); }

.form-control, input[type="text"], input[type="password"], input[type="email"], input[type="tel"], select, textarea {
    border-color: #cbd5e1;
    border-radius: 8px;
    box-shadow: none;
    color: var(--ui-navy);
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--ui-primary);
    box-shadow: 0 0 0 3px rgba(0, 107, 79, .15);
    outline: none;
}

.btn { border-radius: 8px; font-weight: 600; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ui-primary) !important; border-color: var(--ui-primary) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { background: var(--ui-primary-dark) !important; border-color: var(--ui-primary-dark) !important; color: #fff !important; box-shadow: 0 7px 18px rgba(0, 76, 59, .26); }
.btn-default { background: #fff; border-color: #d7d9e5; color: #343851 !important; }
.btn-default:hover, .btn-default:focus { background: var(--ui-primary-soft); border-color: #9bc6b8; color: var(--ui-primary-dark) !important; }
.btn-success { background: #087f5b !important; border-color: #087f5b !important; color: #fff !important; }
.btn-success:hover, .btn-success:focus, .btn-success:active { background: #056247 !important; border-color: #056247 !important; color: #fff !important; }
.btn-info { background: #245b8a !important; border-color: #245b8a !important; color: #fff !important; }
.btn-info:hover, .btn-info:focus, .btn-info:active { background: #18466e !important; border-color: #18466e !important; color: #fff !important; }
.btn-warning { background: #a94f08 !important; border-color: #a94f08 !important; color: #fff !important; }
.btn-warning:hover, .btn-warning:focus, .btn-warning:active { background: #843b04 !important; border-color: #843b04 !important; color: #fff !important; }
.btn-danger { background: var(--ui-danger) !important; border-color: var(--ui-danger) !important; color: #fff !important; }
.btn-danger:hover, .btn-danger:focus, .btn-danger:active { background: #8f1c13 !important; border-color: #8f1c13 !important; color: #fff !important; }
.app-shell a.btn, .app-shell a.action-display, .app-shell a.action-edit, .app-shell a.action-del, .app-shell a.action-print { color: #fff !important; }
.action-display { background: #245b8a !important; border-color: #245b8a !important; color: #fff !important; }
.action-edit { background: #087f5b !important; border-color: #087f5b !important; color: #fff !important; }
.action-del { background: #b42318 !important; border-color: #b42318 !important; color: #fff !important; }
.action-print { background: #5646a8 !important; border-color: #5646a8 !important; color: #fff !important; }

.table { background: var(--ui-surface); }
.table > thead > tr > th { background: #f8fafc; border-color: var(--ui-border); color: #475569; font-weight: 650; }
.table > tbody > tr > td { border-color: var(--ui-border); }
.table-hover > tbody > tr:hover { background: #f8fbff; }
.pagination > li > a, .pagination > li > span { border-color: var(--ui-border); color: var(--ui-primary); }
.pagination > .active > a, .pagination > .active > span { background: var(--ui-primary); border-color: var(--ui-primary); }
.alert { border: 0; border-radius: 9px; }
.badge { border-radius: 999px; font-weight: 600; padding: 4px 8px; }

/* Authenticated application shell and sidebar */
.has-session { padding-top: 0; }
.has-session .navbar-first { height: 64px; left: 272px; min-height: 64px !important; transition: left .22s ease; }
.has-session .navbar-first .container { align-items: center; display: flex; height: 64px; max-width: none; padding: 0 26px; width: 100%; }
.has-session .navbar-first .navbar-header { flex: 1; }
.has-session .navbar-brand.menu-first { color: #343851; font-size: 1.3rem; height: auto !important; line-height: 1.4; padding: 0 12px; }
.has-session .navbar-brand.menu-last { color: #5d627d; }
.topbar-logo { background: #fff; display: inline-block; height: 25px; margin-right: 14px; object-fit: contain; vertical-align: middle; width: 248px; }
.topbar-environment { color: #536660; vertical-align: middle; }
.sidebar-toggle { align-items: center; background: #edf5f2; border: 1px solid #d7e7e1; border-radius: 10px; color: #285e50; display: inline-flex; flex: 0 0 auto; font-size: 1.7rem; height: 44px; justify-content: center; margin-right: 20px; transition: background .18s ease, color .18s ease, border-color .18s ease; width: 44px; }
.app-shell:not(.has-session) .sidebar-toggle, .app-shell:not(.has-session) #appSidebar { display: none; }
.sidebar-toggle:hover, .sidebar-toggle:focus { background: var(--ui-primary-soft); color: var(--ui-primary); outline: none; }
.navbar-second { transition: transform .22s ease; }
.has-session .navbar-second {
    background: #103d33;
    border: 0;
    bottom: 0;
    box-shadow: 10px 0 30px rgba(8, 48, 39, .16);
    height: 100vh;
    left: 0;
    margin: 0;
    overflow: hidden;
    top: 0 !important;
    width: 272px;
    z-index: 1040;
}
.sidebar-brand { align-items: center; background: #fff; border-bottom: 1px solid #dce8e4; display: flex; height: 78px; padding: 0 14px; }
.sidebar-brand-link { align-items: center; color: #fff !important; display: flex; flex: 1; gap: 12px; min-width: 0; text-decoration: none !important; }
.sidebar-logo { display: block; height: auto; max-width: 218px; width: 100%; }
.sidebar-close { background: #edf5f2; border: 0; border-radius: 8px; color: #285e50; display: none; margin-left: 6px; padding: 8px; }
.has-session .sidebar-inner { display: flex; flex-direction: column; height: calc(100vh - 78px); min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 18px 14px 24px !important; scrollbar-gutter: stable; width: 100%; }
.sidebar-inner::-webkit-scrollbar { width: 7px; }
.sidebar-inner::-webkit-scrollbar-track { background: rgba(255,255,255,.035); }
.sidebar-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border: 2px solid transparent; border-radius: 8px; background-clip: padding-box; }
.sidebar-search { margin: 0 2px 22px; position: relative; }
.sidebar-search > i { color: #8e93ae; left: 13px; position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.sidebar-search .sidebar-search-input { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 9px; color: #fff; font-size: 1.2rem; height: 38px; max-width: none; padding: 8px 10px 8px 36px; width: 100%; }
.sidebar-search .sidebar-search-input::placeholder { color: #898fa9; }
.sidebar-search .sidebar-search-input:focus { background: rgba(255,255,255,.1); border-color: #72b7a3; box-shadow: 0 0 0 3px rgba(114,183,163,.16); }
.has-session .navbar-second .navbar-header { float: none; }
.has-session .navbar-second .navbar-toggle { display: none; }
.has-session .sidebar-home { align-items: center; border-radius: 9px; color: #eef8f4 !important; display: flex; float: none; font-size: 1.35rem; gap: 13px; height: 44px; margin: 0 0 16px; padding: 10px 13px; width: 100%; }
.has-session .sidebar-home:hover, .has-session .sidebar-home:focus { background: rgba(255,255,255,.08); }
.has-session .sidebar-home i { color: #f190c1; font-size: 1.55rem; width: 18px; }
.has-session .sidebar-navigation { border: 0; box-shadow: none; display: flex !important; flex: 0 0 auto; flex-direction: column; max-height: none; overflow: visible; padding: 0; }
.has-session .sidebar-menu, .has-session .sidebar-account { float: none !important; margin: 0; width: 100%; }
.has-session .sidebar-menu > li, .has-session .sidebar-account > li { float: none; margin: 2px 0; width: 100%; }
.has-session .sidebar-menu li > a, .has-session .sidebar-account li > a { border-radius: 9px; color: #b8bbcf; display: flex; font-size: 1.3rem; gap: 11px; line-height: 1.35; padding: 10px 12px; white-space: normal; }
.has-session .sidebar-menu li > a:hover, .has-session .sidebar-menu li > a:focus, .has-session .sidebar-account li > a:hover, .has-session .sidebar-account li > a:focus { background: rgba(255,255,255,.07); color: #fff; }
.has-session .sidebar-menu-icon { color: #8f94af; flex: 0 0 auto; font-size: 1.45rem; text-align: center; width: 19px; }
.has-session .sidebar-menu-label { flex: 1; }
.has-session .sidebar-menu .caret, .has-session .sidebar-account .caret { border-top-color: #858aa5; margin-left: auto; margin-top: 7px; transition: transform .18s ease; }
.has-session .navbar-second .dropdown-submenu > a:after { content: none !important; display: none !important; }
.has-session .sidebar-menu li.submenu-open > a, .has-session .sidebar-account li.submenu-open > a { background: rgba(255,255,255,.11); color: #fff; }
.has-session .sidebar-menu li.submenu-open > a .caret, .has-session .sidebar-account li.submenu-open > a .caret { transform: rotate(180deg); }
.has-session .sidebar-menu .dropdown-menu, .has-session .sidebar-account .dropdown-menu { background: transparent; border: 0; border-radius: 0; box-shadow: none; display: none; float: none; margin: 3px 0 7px; padding: 0 0 0 18px; position: static; width: 100%; }
.has-session .sidebar-menu li.submenu-open > .dropdown-menu, .has-session .sidebar-account li.submenu-open > .dropdown-menu { display: block; }
.has-session .sidebar-menu .dropdown-menu li { float: none; width: 100%; }
.has-session .sidebar-menu .dropdown-menu li > a, .has-session .sidebar-account .dropdown-menu li > a { color: #b9d2ca; font-size: 1.2rem; padding: 8px 10px; position: relative; }
.sidebar-submenu-icon { color: #80b5a5; flex: 0 0 auto; font-size: 1.2rem; text-align: center; width: 17px; }
.has-session .sidebar-account { border-top: 1px solid rgba(255,255,255,.08); margin-top: 14px; padding-bottom: 6px; padding-top: 10px; }
.sidebar-avatar { align-items: center; background: #d95d9f; border-radius: 8px; color: #fff; display: inline-flex; flex: 0 0 auto; height: 28px; justify-content: center; margin: -5px 1px -5px -3px; width: 28px; }
.sidebar-backdrop { display: none; }
.has-session #containerBody { margin-left: 272px; max-width: none; padding: 26px 28px; transition: margin-left .22s ease, width .22s ease; width: calc(100% - 272px); }
.has-session.sidebar-collapsed .navbar-second { transform: translateX(-100%); }
.has-session.sidebar-collapsed .navbar-first { left: 0; }
.has-session.sidebar-collapsed #containerBody { margin-left: 0; width: 100%; }

/* Public pre-login landing page */
body.prelogin-page {
    background: #f4f9f7;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 72px;
}

.prelogin-page .navbar-first {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .92);
    height: 72px;
    min-height: 72px !important;
}

.prelogin-page .navbar-first .container {
    align-items: center;
    display: flex;
    height: 72px;
    max-width: 1500px;
    padding: 0 clamp(24px, 4vw, 64px);
    width: 100%;
}

.prelogin-page .navbar-first .navbar-header { flex: 1; }
.prelogin-page .navbar-brand.menu-first { align-items: center; display: inline-flex; height: auto !important; line-height: 1.35; padding: 0; }
.prelogin-page .topbar-logo { height: 31px; margin-right: 22px; width: 307px; }
.prelogin-page .topbar-environment { border-left: 1px solid #d8e6e1; color: #4c625c; font-size: 1.35rem; padding-left: 22px; }
.prelogin-page .navbar-first .navbar-collapse { display: none !important; }
.prelogin-page #containerBody { margin: 0 !important; max-width: none; padding: 0; width: 100%; }
.prelogin-page #containerBody > hr, .prelogin-page #modalBackgroundProcess, .prelogin-page .se-pre-con { display: none !important; }
.prelogin-page #containerBody > broadcastter {
    align-items: center;
    background: #f4f9f7;
    border-top: 1px solid rgba(0, 80, 60, .08);
    color: #6b7d78;
    display: flex;
    font-size: 1.2rem;
    height: 48px;
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 clamp(24px, 4vw, 64px);
}
.prelogin-page #containerBody > broadcastter p { margin: 0; }

.prelogin-shell {
    background:
        radial-gradient(circle at 8% 12%, rgba(217, 93, 159, .11), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(19, 153, 113, .13), transparent 24%),
        linear-gradient(135deg, #f8fbfa 0%, #f0f8f5 55%, #f7faf9 100%);
    min-height: calc(100vh - 120px);
    overflow: hidden;
    position: relative;
}

.prelogin-shell:before {
    background-image: linear-gradient(rgba(20, 92, 72, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 92, 72, .032) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 28%, #000 72%, transparent);
    pointer-events: none;
    position: absolute;
}

.prelogin-orb { border-radius: 50%; filter: blur(1px); pointer-events: none; position: absolute; }
.prelogin-orb-one { background: rgba(217, 93, 159, .07); height: 340px; left: -180px; top: 48%; width: 340px; }
.prelogin-orb-two { background: rgba(0, 107, 79, .065); height: 460px; right: -240px; top: 2%; width: 460px; }

.prelogin-hero {
    align-items: center;
    display: grid;
    gap: clamp(44px, 6vw, 96px);
    grid-template-columns: minmax(390px, .9fr) minmax(560px, 1.1fr);
    margin: 0 auto;
    max-width: 1440px;
    min-height: calc(100vh - 120px);
    padding: 48px clamp(32px, 5vw, 72px) 52px;
    position: relative;
    z-index: 1;
}

.prelogin-copy { max-width: 600px; }
.prelogin-eyebrow {
    align-items: center;
    background: rgba(0, 107, 79, .08);
    border: 1px solid rgba(0, 107, 79, .11);
    border-radius: 999px;
    color: #006148;
    display: inline-flex;
    font-size: 1.15rem;
    font-weight: 700;
    gap: 9px;
    letter-spacing: .12em;
    margin-bottom: 24px;
    padding: 8px 13px;
    text-transform: uppercase;
}
.prelogin-eyebrow i { color: #d95d9f; font-size: .7rem; }

.prelogin-copy h1 {
    color: #12372f;
    font-size: clamp(4.4rem, 5.1vw, 7rem);
    font-weight: 730;
    letter-spacing: -.055em;
    line-height: 1.03;
    margin: 0 0 26px;
}
.prelogin-copy h1 span { color: #006b4f; }
.prelogin-intro { color: #5a6f69; font-size: 1.75rem; line-height: 1.72; margin: 0 0 32px; max-width: 560px; }

.prelogin-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 20px; }
.app-shell a.prelogin-login-button {
    align-items: center;
    background: #006b4f;
    border: 1px solid #006b4f;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 91, 67, .22);
    color: #fff !important;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 24px;
    justify-content: space-between;
    min-width: 218px;
    padding: 15px 18px 15px 20px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.app-shell a.prelogin-login-button:hover, .app-shell a.prelogin-login-button:focus {
    background: #004f3d;
    border-color: #004f3d;
    box-shadow: 0 16px 30px rgba(0, 78, 58, .27);
    color: #fff !important;
    outline: none;
    transform: translateY(-2px);
}
.prelogin-login-button > i { align-items: center; background: rgba(255,255,255,.13); border-radius: 8px; display: inline-flex; height: 30px; justify-content: center; width: 30px; }
.prelogin-secure { align-items: center; color: #63756f; display: inline-flex; font-size: 1.3rem; gap: 8px; }
.prelogin-secure i { color: #008461; font-size: 1.5rem; }

.prelogin-benefits { border-top: 1px solid rgba(26, 80, 65, .11); display: flex; gap: clamp(18px, 3vw, 34px); list-style: none; margin: 38px 0 0; padding: 25px 0 0; }
.prelogin-benefits li { align-items: center; color: #657872; display: flex; font-size: 1.2rem; gap: 9px; line-height: 1.35; }
.prelogin-benefits li > i { align-items: center; background: #fff; border: 1px solid #dce9e5; border-radius: 9px; color: #008461; display: inline-flex; flex: 0 0 auto; height: 34px; justify-content: center; width: 34px; }
.prelogin-benefits strong { color: #284940; display: block; font-weight: 700; }

.prelogin-visual {
    --pointer-x: 0px;
    --pointer-y: 0px;
    align-items: center;
    display: flex;
    height: 520px;
    justify-content: center;
    min-width: 0;
    perspective: 1100px;
    position: relative;
}
.prelogin-visual:before {
    background: linear-gradient(145deg, #005f48, #0d8564);
    border-radius: 46% 54% 57% 43% / 46% 38% 62% 54%;
    box-shadow: 0 36px 80px rgba(0, 76, 57, .18);
    content: "";
    height: 440px;
    position: absolute;
    right: 1%;
    transform: translate(var(--pointer-x), var(--pointer-y)) rotate(-7deg);
    transition: transform .25s ease-out;
    width: 91%;
}
.prelogin-visual:after {
    border: 1px solid rgba(217, 93, 159, .24);
    border-radius: 50%;
    content: "";
    height: 164px;
    position: absolute;
    right: -2%;
    top: 0;
    width: 164px;
}
.prelogin-dot-grid {
    background-image: radial-gradient(rgba(255,255,255,.5) 1.3px, transparent 1.3px);
    background-size: 13px 13px;
    height: 120px;
    opacity: .75;
    position: absolute;
    right: 2%;
    top: 35px;
    width: 120px;
    z-index: 1;
}

.prelogin-dashboard {
    background: #fff;
    border: 1px solid rgba(255,255,255,.86);
    border-radius: 18px;
    box-shadow: 0 30px 65px rgba(7, 53, 42, .25);
    height: 408px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .25s ease-out;
    width: 91%;
    z-index: 2;
}
.prelogin-dashboard-topbar { align-items: center; border-bottom: 1px solid #e9efed; display: flex; height: 64px; justify-content: space-between; padding: 0 20px; }
.prelogin-dashboard-brand { align-items: center; display: flex; gap: 10px; }
.prelogin-dashboard-mark { align-items: center; background: #fce8f3; border-radius: 9px; color: #d95d9f; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.prelogin-dashboard-brand > span:last-child { color: #173d34; display: flex; flex-direction: column; font-size: 1.25rem; line-height: 1.25; }
.prelogin-dashboard-brand small { color: #85958f; font-size: .92rem; font-weight: 500; margin-top: 2px; }
.prelogin-live { align-items: center; background: #edf8f4; border-radius: 999px; color: #077257; display: flex; font-size: .95rem; font-weight: 700; gap: 6px; padding: 6px 10px; }
.prelogin-live i { background: #11a978; border-radius: 50%; box-shadow: 0 0 0 3px rgba(17,169,120,.13); height: 6px; width: 6px; }
.prelogin-dashboard-content { display: flex; height: calc(100% - 64px); }
.prelogin-dashboard-nav { align-items: center; background: #f8fbfa; border-right: 1px solid #e7efec; display: flex; flex: 0 0 58px; flex-direction: column; gap: 13px; padding-top: 20px; }
.prelogin-dashboard-nav span { align-items: center; border-radius: 9px; color: #96a59f; display: flex; height: 34px; justify-content: center; width: 34px; }
.prelogin-dashboard-nav span.active { background: #e6f4ef; color: #007657; }
.prelogin-dashboard-main { min-width: 0; padding: 19px 20px; width: 100%; }
.prelogin-dashboard-heading { align-items: center; color: #23483f; display: flex; font-size: 1.25rem; font-weight: 700; justify-content: space-between; margin-bottom: 14px; }
.prelogin-dashboard-date { color: #84938f; font-size: .95rem; font-weight: 500; }
.prelogin-dashboard-date i { margin-right: 4px; }
.prelogin-status-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.prelogin-status-grid > div { align-items: center; border: 1px solid #e7efec; border-radius: 10px; display: flex; gap: 9px; min-width: 0; padding: 10px; }
.prelogin-status-icon { align-items: center; border-radius: 8px; display: flex; flex: 0 0 auto; height: 31px; justify-content: center; width: 31px; }
.prelogin-status-icon.green { background: #e7f6f0; color: #07815f; }
.prelogin-status-icon.pink { background: #fce9f3; color: #ce4f92; }
.prelogin-status-icon.blue { background: #eaf2fb; color: #3c70a7; }
.prelogin-status-grid p { color: #38554e; font-size: .95rem; font-weight: 700; line-height: 1.2; margin: 0; overflow: hidden; }
.prelogin-status-grid small { color: #8a9894; display: block; font-size: .82rem; font-weight: 500; margin-top: 3px; }
.prelogin-dashboard-panels { display: grid; gap: 11px; grid-template-columns: 1.3fr .9fr; margin-top: 12px; }
.prelogin-chart-panel, .prelogin-activity-panel { border: 1px solid #e7efec; border-radius: 10px; height: 170px; padding: 12px; }
.prelogin-panel-title { align-items: center; color: #49645d; display: flex; font-size: .9rem; font-weight: 700; justify-content: space-between; }
.prelogin-panel-title i { color: #a1ada9; }
.prelogin-chart { align-items: flex-end; border-bottom: 1px solid #e7efec; display: flex; gap: 7px; height: 116px; padding: 8px 4px 0; }
.prelogin-chart span { background: #c6e2d8; border-radius: 4px 4px 1px 1px; height: var(--bar-height); width: 13%; }
.prelogin-chart span.highlight { background: linear-gradient(#ec83ba, #d95d9f); }
.prelogin-module-row { align-items: center; border-bottom: 1px solid #edf2f0; display: flex; gap: 7px; padding: 9px 0; }
.prelogin-module-row:last-child { border-bottom: 0; }
.prelogin-module-row > i { align-items: center; background: #eef7f4; border-radius: 6px; color: #07815f; display: flex; flex: 0 0 auto; height: 26px; justify-content: center; width: 26px; }
.prelogin-module-row span { color: #456159; display: flex; flex: 1; flex-direction: column; font-size: .83rem; font-weight: 700; line-height: 1.2; min-width: 0; }
.prelogin-module-row small { color: #99a5a1; font-size: .72rem; font-weight: 500; margin-top: 2px; }
.prelogin-module-row b { background: #16a778; border-radius: 50%; height: 6px; width: 6px; }

.prelogin-float-card { align-items: center; background: rgba(255,255,255,.97); border: 1px solid rgba(220,233,228,.9); border-radius: 12px; box-shadow: 0 17px 38px rgba(7, 61, 47, .17); display: flex; padding: 11px 13px; position: absolute; z-index: 3; }
.prelogin-float-card > span { align-items: center; border-radius: 9px; display: flex; flex: 0 0 auto; height: 34px; justify-content: center; width: 34px; }
.prelogin-float-card p { color: #294b42; display: flex; flex-direction: column; font-size: .94rem; line-height: 1.25; margin: 0 14px 0 9px; }
.prelogin-float-card small { color: #84958f; font-size: .78rem; font-weight: 500; margin-top: 3px; }
.prelogin-float-security { bottom: 16px; left: -3%; }
.prelogin-float-security > span { background: #e7f6f0; color: #07815f; }
.prelogin-float-security > i { color: #16a778; }
.prelogin-float-ready { right: -1%; top: 36px; }
.prelogin-float-ready > span { background: #fce8f3; color: #d95d9f; }

.prelogin-animate .prelogin-copy > *, .prelogin-animate .prelogin-dashboard, .prelogin-animate .prelogin-float-card { opacity: 0; transform: translateY(16px); }
.prelogin-animate.is-ready .prelogin-copy > *, .prelogin-animate.is-ready .prelogin-dashboard, .prelogin-animate.is-ready .prelogin-float-card { opacity: 1; transform: translateY(0); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.prelogin-animate.is-ready .prelogin-copy > *:nth-child(2) { transition-delay: .08s; }
.prelogin-animate.is-ready .prelogin-copy > *:nth-child(3) { transition-delay: .15s; }
.prelogin-animate.is-ready .prelogin-copy > *:nth-child(4) { transition-delay: .22s; }
.prelogin-animate.is-ready .prelogin-copy > *:nth-child(5) { transition-delay: .29s; }
.prelogin-animate.is-ready .prelogin-dashboard { transition-delay: .12s; }
.prelogin-animate.is-ready .prelogin-float-card { transition-delay: .38s; }
.prelogin-animate.animation-complete .prelogin-dashboard { transition: transform .25s ease-out; transition-delay: 0s; }

@media (max-width: 1180px) {
    .prelogin-hero { gap: 36px; grid-template-columns: minmax(350px, .85fr) minmax(480px, 1.15fr); padding-left: 38px; padding-right: 38px; }
    .prelogin-copy h1 { font-size: clamp(4.2rem, 5vw, 5.6rem); }
    .prelogin-visual { height: 490px; }
    .prelogin-float-security { left: -1%; }
    .prelogin-float-ready { right: -1%; }
}

@media (max-width: 980px) {
    .prelogin-shell, .prelogin-hero { min-height: auto; }
    .prelogin-hero { grid-template-columns: 1fr; justify-items: center; padding-bottom: 76px; padding-top: 64px; }
    .prelogin-copy { max-width: 700px; text-align: center; }
    .prelogin-intro { margin-left: auto; margin-right: auto; }
    .prelogin-actions, .prelogin-benefits { justify-content: center; }
    .prelogin-visual { max-width: 720px; width: 100%; }
}

@media (max-width: 700px) {
    body.prelogin-page { padding-top: 64px; }
    .prelogin-page .navbar-first, .prelogin-page .navbar-first .container { height: 64px; min-height: 64px !important; }
    .prelogin-page .navbar-first .container { padding-left: 20px; padding-right: 20px; }
    .prelogin-page .topbar-logo { height: auto; margin: 0; max-width: 290px; width: calc(100vw - 40px); }
    .prelogin-page .topbar-environment { display: none; }
    .prelogin-hero { display: block; padding: 54px 24px 64px; }
    .prelogin-copy h1 { font-size: clamp(3.7rem, 11vw, 4.8rem); }
    .prelogin-intro { font-size: 1.55rem; }
    .prelogin-actions { flex-direction: column; }
    .app-shell a.prelogin-login-button { width: 100%; }
    .prelogin-benefits { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 32px; text-align: left; }
    .prelogin-benefits li { background: rgba(255,255,255,.65); border: 1px solid rgba(220,233,228,.8); border-radius: 10px; padding: 9px 11px; }
    .prelogin-visual { display: none; }
    .prelogin-page #containerBody > broadcastter { height: 44px; justify-content: center; padding: 0 20px; }
}

/* Login page - matched to the public landing experience */
body.login-page { background: #f4f9f7; min-height: 100vh; padding: 0; }
.login-page .navbar, .login-page #wrap, .login-page #containerBody > hr, .login-page #containerBody > broadcastter,
.login-page #modalBackgroundProcess, .login-page .se-pre-con { display: none !important; }
.login-page #containerBody { margin: 0 !important; max-width: none; padding: 0; width: 100%; }

.login-shell {
    background:
        radial-gradient(circle at 5% 22%, rgba(217, 93, 159, .12), transparent 23%),
        radial-gradient(circle at 93% 12%, rgba(19, 153, 113, .13), transparent 24%),
        linear-gradient(135deg, #f8fbfa 0%, #eef7f4 58%, #f8faf9 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}
.login-shell:before {
    background-image: linear-gradient(rgba(20, 92, 72, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 92, 72, .032) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    inset: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24%, #000 78%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 24%, #000 78%, transparent);
    pointer-events: none;
    position: absolute;
}
.login-orb { border-radius: 50%; pointer-events: none; position: absolute; }
.login-orb-one { background: rgba(217, 93, 159, .075); height: 360px; left: -210px; top: 40%; width: 360px; }
.login-orb-two { background: rgba(0, 107, 79, .065); height: 470px; right: -260px; top: 9%; width: 470px; }

.login-topbar {
    align-items: center;
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(0, 80, 60, .09);
    display: flex;
    flex: 0 0 72px;
    height: 72px;
    justify-content: space-between;
    padding: 0 clamp(24px, 4vw, 64px);
    position: relative;
    z-index: 3;
}
.login-brand { align-items: center; display: inline-flex; text-decoration: none !important; }
.login-brand-logo { display: block; height: 31px; object-fit: contain; width: 307px; }
.app-shell a.login-back-link { align-items: center; border-radius: 9px; color: #456159; display: inline-flex; font-size: 1.3rem; font-weight: 650; gap: 9px; padding: 9px 12px; text-decoration: none; transition: background .18s ease, color .18s ease; }
.app-shell a.login-back-link:hover, .app-shell a.login-back-link:focus { background: rgba(0,107,79,.08); color: #006b4f; outline: none; }

.login-content {
    align-items: center;
    display: grid;
    flex: 1 1 auto;
    gap: clamp(48px, 7vw, 104px);
    grid-template-columns: minmax(500px, 1fr) minmax(400px, 460px);
    margin: 0 auto;
    max-width: 1380px;
    padding: 32px clamp(32px, 5vw, 72px) 36px;
    position: relative;
    width: 100%;
    z-index: 1;
}
.login-showcase { min-width: 0; }
.login-showcase-copy { max-width: 650px; }
.login-eyebrow, .login-kicker { font-size: 1.15rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.login-eyebrow { align-items: center; background: rgba(0,107,79,.08); border: 1px solid rgba(0,107,79,.11); border-radius: 999px; color: #006148; display: inline-flex; gap: 9px; margin-bottom: 20px; padding: 8px 13px; }
.login-eyebrow i { color: #d95d9f; font-size: .7rem; }
.login-showcase h1 { color: #12372f; font-size: clamp(4.2rem, 4.7vw, 6.4rem); font-weight: 730; letter-spacing: -.052em; line-height: 1.04; margin: 0 0 20px; }
.login-showcase h1 span { color: #006b4f; }
.login-showcase-copy > p { color: #5a6f69; font-size: 1.65rem; line-height: 1.68; margin: 0; max-width: 590px; }

.login-workspace-preview {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(216,231,225,.95);
    border-radius: 17px;
    box-shadow: 0 24px 55px rgba(7, 61, 47, .13);
    margin-top: 30px;
    max-width: 590px;
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform .24s ease-out;
}
.login-workspace-preview:before { background: linear-gradient(90deg, #006b4f, #20a27d 68%, #d95d9f); content: ""; height: 3px; left: 0; position: absolute; right: 0; top: 0; }
.login-preview-head { align-items: center; border-bottom: 1px solid #e8efed; display: flex; justify-content: space-between; padding: 14px 17px; }
.login-preview-head > div { align-items: center; display: flex; gap: 9px; }
.login-preview-mark { align-items: center; background: #fce8f3; border-radius: 8px; color: #d95d9f; display: inline-flex; height: 32px; justify-content: center; width: 32px; }
.login-preview-head p { color: #274a41; display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.2; margin: 0; }
.login-preview-head small { color: #8a9994; font-size: .82rem; font-weight: 500; margin-top: 2px; }
.login-preview-live { align-items: center; background: #edf8f4; border-radius: 999px; color: #077257; display: flex; font-size: .9rem; font-weight: 700; gap: 6px; padding: 6px 9px; }
.login-preview-live i { background: #11a978; border-radius: 50%; box-shadow: 0 0 0 3px rgba(17,169,120,.13); height: 6px; width: 6px; }
.login-preview-modules { display: grid; gap: 9px; grid-template-columns: repeat(3, 1fr); padding: 13px 15px 11px; }
.login-preview-modules > div { align-items: center; border: 1px solid #e6eeeb; border-radius: 10px; display: flex; gap: 8px; min-width: 0; padding: 9px; }
.login-preview-modules > div > span { align-items: center; border-radius: 7px; display: inline-flex; flex: 0 0 auto; height: 29px; justify-content: center; width: 29px; }
.login-preview-modules .green { background: #e7f6f0; color: #07815f; }
.login-preview-modules .pink { background: #fce9f3; color: #ce4f92; }
.login-preview-modules .blue { background: #eaf2fb; color: #3c70a7; }
.login-preview-modules p { color: #3d5a52; display: flex; flex: 1; flex-direction: column; font-size: .83rem; line-height: 1.2; margin: 0; min-width: 0; }
.login-preview-modules small { color: #96a49f; font-size: .72rem; font-weight: 500; margin-top: 2px; }
.login-preview-modules > div > i { color: #17a97a; font-size: .9rem; }
.login-preview-note { align-items: center; background: #f7faf9; border-top: 1px solid #e8efed; color: #08775a; display: flex; gap: 10px; padding: 10px 17px; }
.login-preview-note > i { align-items: center; background: #e6f5ef; border-radius: 8px; display: flex; height: 30px; justify-content: center; width: 30px; }
.login-preview-note span { color: #36564d; display: flex; flex-direction: column; font-size: .86rem; line-height: 1.25; }
.login-preview-note small { color: #879791; font-size: .76rem; font-weight: 500; margin-top: 2px; }

.login-panel { align-items: center; display: flex; justify-content: center; min-width: 0; padding: 0; }
.login-form-wrap {
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(214,229,223,.95);
    border-radius: 20px;
    box-shadow: 0 28px 65px rgba(7, 61, 47, .14);
    max-width: 460px;
    padding: 36px 38px 30px;
    position: relative;
    width: 100%;
}
.login-form-wrap:before { background: linear-gradient(90deg, #006b4f, #20a27d 68%, #d95d9f); border-radius: 20px 20px 0 0; content: ""; height: 4px; left: -1px; position: absolute; right: -1px; top: -1px; }
.login-form-icon { align-items: center; background: #e7f6f0; border: 1px solid #d5ece4; border-radius: 12px; color: #007657; display: flex; font-size: 1.75rem; height: 46px; justify-content: center; margin-bottom: 21px; width: 46px; }
.login-heading { margin-bottom: 25px; }
.login-kicker { color: #007657; display: block; margin-bottom: 8px; }
.login-heading h2 { color: #12372f; font-size: 3rem; font-weight: 730; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 9px; }
.login-heading p { color: #687a75; font-size: 1.4rem; margin: 0; }
.login-alert { align-items: flex-start; background: #fef2f2; border-radius: 10px; color: #991b1b; display: flex; font-size: 1.25rem; gap: 10px; margin-bottom: 20px; padding: 12px 14px; }
.login-alert > i { margin-top: 3px; }
.login-field { margin-bottom: 17px; }
.login-field > label { color: #294a42; display: block; font-size: 1.3rem; font-weight: 650; margin-bottom: 7px; }
.login-input-wrap { position: relative; }
.login-input-wrap > i { color: #839690; font-size: 1.45rem; left: 16px; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.login-input-wrap .form-control { background: #f9fbfa; border: 1px solid #cbdcd6; border-radius: 10px; color: #173d34; font-size: 1.45rem; height: 51px; max-width: none; padding: 10px 46px; width: 100%; }
.login-input-wrap .form-control:hover { border-color: #a9c9be; }
.login-input-wrap .form-control:focus { background: #fff; border-color: #007657; box-shadow: 0 0 0 3px rgba(0,118,87,.13); }
.login-input-wrap .form-control::placeholder { color: #93a39e; }
.password-toggle { background: transparent; border: 0; border-radius: 8px; color: #687b75; height: 41px; padding: 0; position: absolute; right: 5px; top: 5px; width: 41px; }
.password-toggle:hover, .password-toggle:focus { background: #eaf5f1; color: #006b4f; outline: none; }
.has-error .login-input-wrap .form-control { border-color: var(--ui-danger); }
.login-field .help-block { font-size: 1.15rem; margin: 5px 0 0; }
.login-options { color: #526861; font-size: 1.3rem; margin: 1px 0 21px; }
.login-options input { accent-color: #007657; margin: 0 8px 0 0; vertical-align: -1px; }
.login-options label { cursor: pointer; font-weight: 500; }
.login-submit-wrap { position: relative; }
.login-submit { border-radius: 11px; box-shadow: 0 12px 24px rgba(0,91,67,.2); font-size: 1.45rem; height: 52px; padding-right: 48px; text-align: left; width: 100%; }
.login-submit-wrap > i { align-items: center; background: rgba(255,255,255,.13); border-radius: 8px; color: #fff; display: flex; height: 30px; justify-content: center; pointer-events: none; position: absolute; right: 11px; top: 11px; width: 30px; }
.login-help { border-top: 1px solid #e3ece8; color: #71827d; font-size: 1.15rem; line-height: 1.45; margin: 24px 0 0; padding-top: 18px; text-align: center; }
.login-help i { color: #007657; margin-right: 6px; }

.login-footer { align-items: center; color: #6c7d78; display: flex; flex: 0 0 48px; font-size: 1.15rem; justify-content: space-between; margin: 0 auto; max-width: 1440px; padding: 0 clamp(24px, 4vw, 64px); position: relative; width: 100%; z-index: 2; }
.login-footer span:last-child { color: #526a63; }
.login-footer i { color: #008461; margin-right: 6px; }

.login-animate .login-showcase-copy > *, .login-animate .login-workspace-preview, .login-animate .login-form-wrap { opacity: 0; transform: translateY(16px); }
.login-animate.is-ready .login-showcase-copy > *, .login-animate.is-ready .login-workspace-preview, .login-animate.is-ready .login-form-wrap { opacity: 1; transform: translateY(0); transition: opacity .62s ease, transform .62s cubic-bezier(.2,.7,.2,1); }
.login-animate.is-ready .login-showcase-copy > *:nth-child(2) { transition-delay: .08s; }
.login-animate.is-ready .login-showcase-copy > *:nth-child(3) { transition-delay: .15s; }
.login-animate.is-ready .login-workspace-preview { transition-delay: .22s; }
.login-animate.is-ready .login-form-wrap { transition-delay: .14s; }
.login-animate.animation-complete .login-workspace-preview { transition: transform .24s ease-out; transition-delay: 0s; }

@media (max-width: 1100px) {
    .login-content { gap: 42px; grid-template-columns: minmax(400px, .95fr) minmax(380px, 1.05fr); padding-left: 38px; padding-right: 38px; }
    .login-showcase h1 { font-size: clamp(3.8rem, 4.7vw, 5rem); }
    .login-preview-modules { grid-template-columns: 1fr; }
    .login-preview-modules > div { padding: 7px 9px; }
    .login-workspace-preview { max-width: 450px; }
}

@media (max-width: 820px) {
    .login-content { display: flex; justify-content: center; padding-bottom: 42px; padding-top: 42px; }
    .login-showcase { display: none; }
    .login-panel { max-width: 470px; width: 100%; }
}

@media (max-width: 520px) {
    .login-topbar { flex-basis: 64px; height: 64px; padding: 0 20px; }
    .login-brand-logo { height: auto; max-width: 250px; width: calc(100vw - 150px); }
    .app-shell a.login-back-link { font-size: 0; gap: 0; padding: 10px 12px; }
    .app-shell a.login-back-link i { font-size: 1.4rem; }
    .login-content { align-items: flex-start; padding: 24px 18px 30px; }
    .login-form-wrap { border-radius: 16px; padding: 30px 24px 25px; }
    .login-form-wrap:before { border-radius: 16px 16px 0 0; }
    .login-heading h2 { font-size: 2.65rem; }
    .login-footer { align-items: center; flex-direction: column; gap: 3px; height: auto; justify-content: center; min-height: 54px; padding: 8px 20px; text-align: center; }
}

@media (max-height: 780px) and (min-width: 821px) {
    .login-topbar { flex-basis: 64px; height: 64px; }
    .login-content { padding-bottom: 20px; padding-top: 20px; }
    .login-showcase h1 { font-size: clamp(3.8rem, 4.3vw, 5.4rem); margin-bottom: 13px; }
    .login-showcase-copy > p { font-size: 1.45rem; line-height: 1.55; }
    .login-workspace-preview { margin-top: 20px; }
    .login-form-wrap { padding: 28px 34px 23px; }
    .login-form-icon { height: 40px; margin-bottom: 14px; width: 40px; }
    .login-heading { margin-bottom: 19px; }
    .login-heading h2 { font-size: 2.7rem; }
    .login-field { margin-bottom: 13px; }
    .login-options { margin-bottom: 15px; }
    .login-help { margin-top: 17px; padding-top: 14px; }
    .login-footer { flex-basis: 42px; }
}

@media (max-width: 768px) {
    body.app-shell:not(.login-page) { padding-top: 65px; }
    .body-content { padding-left: 12px; padding-right: 12px; }
    .panel, .well, .modal-content { border-radius: 8px; }
}

@media (max-width: 900px) {
    .has-session .navbar-first { left: 0; }
    .has-session .navbar-first .container { padding: 0 16px; }
    .has-session .navbar-second { transform: translateX(-100%); }
    .has-session.sidebar-open .navbar-second { transform: translateX(0); }
    .sidebar-close { display: block; }
    .has-session #containerBody { margin-left: 0; padding: 18px 14px; width: 100%; }
    .sidebar-backdrop { background: rgba(17,18,39,.48); border: 0; bottom: 0; left: 0; opacity: 0; position: fixed; right: 0; top: 0; transition: opacity .2s ease, visibility .2s ease; visibility: hidden; z-index: 1035; }
    .has-session.sidebar-open .sidebar-backdrop { display: block; opacity: 1; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
