﻿html { height: 100%; }
body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background: #f7f7f8; color: #0d0d0d; margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #10a37f; }
a:hover { color: #0e8f6f; }
/* Navy bar to match the logo artwork */
.navbar-default { margin-bottom: 0; border-radius: 0; background: #06143c; border-color: #06143c; min-height: 56px; }
.navbar-default .navbar-brand { padding: 8px 15px; height: 56px; display: flex; align-items: center; }
.navbar-default .navbar-brand img { height: 40px; width: auto; margin-right: 10px; }
.ec-brand-text { font-weight: 800; font-size: 22px; letter-spacing: -0.4px; color: #fff; line-height: 1; }
.ec-brand-text span { color: #4fc3ff; }
.ec-brand-text em { font-style: normal; color: #b388ff; }
.ec-powered { display: block; font-size: 10.5px; color: #9fb0d8; font-weight: 500; letter-spacing: .2px; margin-top: 3px; }
.navbar-default .navbar-nav > li > a { font-weight: 500; color: #dfe6f7; padding-top: 18px; padding-bottom: 18px; }
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #fff; background: rgba(255,255,255,0.08); }
.navbar-default .navbar-toggle { border-color: #35508a; margin-top: 11px; }
.navbar-default .navbar-toggle .icon-bar { background: #dfe6f7; }
.navbar-default .navbar-collapse { border-color: #23366b; }
/* sticky footer: form is a full-height column, page area grows, footer sits at the bottom */
body > form { flex: 1 0 auto; display: flex; flex-direction: column; }
.ec-page { flex: 1 0 auto; }
.ec-footer-bar { flex-shrink: 0; margin-top: auto; }
/* sticky footer: form is a full-height column, page area grows, footer sits at the bottom */
body > form { flex: 1 0 auto; display: flex; flex-direction: column; }
.ec-page { flex: 1 0 auto; }
.ec-footer-bar { flex-shrink: 0; margin-top: auto; }
.ec-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 12px; padding: 28px 32px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.ec-auth { max-width: 420px; margin: 60px auto; }
.ec-auth h2 { font-weight: 700; margin-top: 0; margin-bottom: 20px; }
.ec-auth .form-control { height: 42px; border-radius: 8px; }
.ec-doc { max-width: 820px; margin: 40px auto 60px; }
.ec-doc h1 { font-weight: 800; letter-spacing: -0.5px; margin-top: 0; }
.ec-doc h3 { font-weight: 700; margin-top: 28px; }
.ec-doc p, .ec-doc li { font-size: 15.5px; line-height: 1.65; color: #333; }
.ec-doc .ec-updated { color: #8e8e8e; font-size: 13px; margin-bottom: 24px; }
.btn-ec { background: #10a37f; border-color: #10a37f; color: #fff; font-weight: 600; border-radius: 8px; }
.btn-ec:hover, .btn-ec:focus { background: #0e8f6f; border-color: #0e8f6f; color: #fff; }
.btn-ec-outline { background: #fff; border: 1px solid #d0d0d0; color: #0d0d0d; font-weight: 600; border-radius: 8px; }
.btn-ec-outline:hover { background: #f1f1f1; color: #0d0d0d; }
.ec-error { color: #d9534f; font-weight: 600; font-size: 13px; min-height: 18px; }
.ec-success { color: #10a37f; font-weight: 600; font-size: 13px; min-height: 18px; }
.ec-footer-bar { border-top: 1px solid #ececec; background: #fff; padding: 16px 0; font-size: 13px; color: #8e8e8e; }
.ec-footer-bar a { color: #555; margin-left: 18px; }

/* password show/hide */
.ec-pw { position: relative; }
.ec-pw .form-control { padding-right: 42px; }
.ec-pw .ec-pw-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #8e8e8e; cursor: pointer; font-size: 15px; }
.ec-pw .ec-pw-eye:hover { color: #0d0d0d; }

/* admin impersonation banner */
.ec-impersonate { background: #fff4e5; color: #92400e; border-bottom: 1px solid #fde4c4; padding: 8px 18px; font-size: 13.5px; text-align: center; }
.ec-impersonate-return { margin-left: 14px; font-weight: 700; color: #92400e !important; text-decoration: underline !important; }

/* toasts - centered at the top, solid colors, white text */
.ec-toasts { position: fixed; top: 68px; left: 50%; transform: translateX(-50%); z-index: 30000; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 520px; max-width: calc(100vw - 32px); pointer-events: none; }
.ec-toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; width: 100%; color: #fff; border: 0; border-radius: 10px; padding: 14px 16px; box-shadow: 0 10px 28px rgba(0,0,0,.22); font-size: 15px; font-weight: 600; opacity: 0; transform: translateY(-12px); transition: opacity .22s, transform .22s; }
.ec-toast.show { display: flex !important; opacity: 1; transform: translateY(0); }
.ec-toast.hide { opacity: 0; transform: translateY(-12px); }
.ec-toast > i { flex: 0 0 auto; width: 24px; text-align: center; font-size: 20px; margin: 1px 6px 0 0; color: #fff; }
.ec-toast.success { background: #10a37f; }
.ec-toast.info { background: #2563eb; }
.ec-toast.warning { background: #d97706; }
.ec-toast.error { background: #d9534f; }
.ec-toast-msg { flex: 1 1 auto; min-width: 0; padding-left: 2px; line-height: 1.45; white-space: pre-line; }
.ec-toast-close { flex: 0 0 auto; margin-left: auto; align-self: flex-start; color: rgba(255,255,255,.85); font-size: 22px; line-height: 1; text-decoration: none !important; }
.ec-toast-close:hover { color: #fff; }

/* the one warning everyone must see */
.ec-nophone { color: #d9534f; font-weight: 800; }


/* "Sign in" in the top menu: gold so members find it right away */
.navbar-default .navbar-nav > li > a.ec-nav-signin { color: #fcd34d; font-weight: 800; }
.navbar-default .navbar-nav > li > a.ec-nav-signin:hover, .navbar-default .navbar-nav > li > a.ec-nav-signin:focus { color: #fde68a; background: rgba(252,211,77,.12); }
@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a.ec-nav-signin { border: 2px solid #fcd34d; border-radius: 999px; padding: 6px 16px; margin: 9px 6px 0; }
}

/* Public menu: every item has an icon. Mid-size screens (small laptops, tablets sideways) get tighter spacing,
   and the narrowest of them drop the icons so the menu stays on one line. */
@media (min-width: 768px) and (max-width: 1023px) {
    .navbar-default .ec-pubnav > li > a { padding-left: 7px; padding-right: 7px; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 899px) {
    .navbar-default .ec-pubnav > li > a i { display: none; }
}

/* Footer: second row of links to the topic pages (helps people and search engines find them) */
.ec-foot-topics { clear: both; padding-top: 10px; margin-top: 10px; border-top: 1px dashed #eee; font-size: 12.5px; }
.ec-foot-topics a { margin: 0 16px 4px 0; color: #777; display: inline-block; }
.ec-foot-topics a:hover { color: #10a37f; }

/* Footer: social media icons (open in a new tab) */
.ec-footer-bar .ec-social { display: inline-block; margin-left: 14px; white-space: nowrap; }
.ec-footer-bar .ec-social a { margin: 0 0 0 10px; color: #8e8e8e; font-size: 17px; vertical-align: -2px; }
.ec-footer-bar .ec-social a:first-child { margin-left: 0; }
.ec-footer-bar .ec-social a:hover { color: #10a37f; text-decoration: none; }
@media (max-width: 767px) { .ec-footer-bar .ec-social { display: block; margin: 8px 0 4px; } }
