/* ==========================================================
   India Exim Bank Knowledge Centre – base layer (loaded from commonhead on every page)
   Fonts, brand tokens, the logo lockup and the "trade lane" dash motif.
   "Trade light": warm, light sunrise gradients (Exim orange -> amber -> peach) on cream paper, with the
   Exim navy of the logo as the ink and for the few dark bands. The home page lives in exim-home.css +
   exim-trade.css; inner pages use the theme3 "modern" layer plus exim-app.css / exim-popups.css.
   Token names were kept from the IMT port so every inner stylesheet still works:
   --exim-blue* = deep Exim orange (carries white text), --exim-gold* = amber, --exim-sky = Exim orange
   (fills with navy text only), --exim-night = Exim navy, --exim-serif = the display face.
   Fonts are self-hosted (Red Hat Display and Plus Jakarta Sans, SIL OFL): the CSP blocks Google Fonts stylesheets.
   ========================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../webfonts/plusjakarta-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../webfonts/plusjakarta-italic-var.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Red Hat Display";
	src: url("../webfonts/redhatdisplay-var.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Red Hat Display";
	src: url("../webfonts/redhatdisplay-italic-var.woff2") format("woff2");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}

:root {
	/* deep Exim orange carries white text (5.1:1); the logo orange (--exim-sky) only carries navy text */
	--exim-blue: #b84d08;
	--exim-blue-dark: #8a3a06;
	--exim-blue-deep: #0b2f55;
	--exim-blue-soft: #fff0e2;
	--exim-sky: #f07010;
	/* gold is for rules, dots and fills with dark text; --exim-gold-dark is gold text on white */
	--exim-gold: #f5a524;
	--exim-gold-dark: #9a5a00;
	--exim-gold-ink: #4a2c00;
	--exim-gold-soft: #fff1d6;
	--exim-ivory: #fff7ea;
	--exim-brick: #8a3a06;
	/* lane colours (home cards, chips): amber, orange, deep orange, rose, Exim blue, sea teal */
	--exim-line-1: #f5a524;
	--exim-line-2: #f07010;
	--exim-line-3: #b84d08;
	--exim-line-4: #d6455d;
	--exim-line-5: #1d5fa8;
	--exim-line-6: #0e8f8a;
	--exim-night: #0b2f55;
	--exim-ink: #1b2536;
	--exim-muted: #5d6475;
	--exim-line: #f0e4d6;
	--exim-paper: #fffaf3;
	--exim-danger: #c4291c;
	--exim-radius: 18px;
	--exim-sans: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
	--exim-serif: "Red Hat Display", "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
	--exim-shadow: 0 1px 2px rgba(27, 37, 54, 0.05), 0 10px 30px -14px rgba(138, 58, 6, 0.22);
	/* light sunrise gradients (backgrounds) and the brand stripe (rules, bars) */
	--exim-sunrise: linear-gradient(135deg, #fff4e6 0%, #ffe3c7 38%, #ffd2b8 68%, #ffe9c4 100%);
	--exim-glow: radial-gradient(55% 70% at 88% 12%, rgba(245, 165, 36, 0.38), transparent 62%), radial-gradient(45% 60% at 8% 92%, rgba(214, 69, 93, 0.16), transparent 65%), radial-gradient(40% 50% at 55% 40%, rgba(255, 255, 255, 0.55), transparent 70%);
	--exim-stripe: linear-gradient(90deg, #f07010 0%, #f5a524 55%, #ffcf70 100%);
	--exim-cta: linear-gradient(135deg, #c95a0c 0%, #b84d08 55%, #a34306 100%);
}

/* no faux bold or italic on the display face */
html {
	font-synthesis: none;
}

/* ---------- Trade-lane dashes (kickers): navy lanes leading to an orange arrival ---------- */

.exim-dots {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	vertical-align: middle;
}

.exim-dots i {
	display: block;
	width: 7px;
	height: 3px;
	border-radius: 3px;
	background: var(--exim-night);
	opacity: 0.35;
}

.exim-dots i:nth-child(2) {
	opacity: 0.55;
}

.exim-dots i:nth-child(3) {
	opacity: 0.8;
}

.exim-dots i:last-child {
	width: 14px;
	opacity: 1;
	background: var(--exim-stripe);
}

.exim-dots-light i {
	background: #fff;
}

/* ---------- Logo lockup (header brand): emblem + set type ---------- */

.exim-brand {
	gap: 12px !important;
}

.exim-brand img.exim-brand-crest {
	width: auto !important;
	height: 46px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	flex: 0 0 auto !important;
	object-fit: contain;
}

.exim-brand:hover img {
	transform: none !important;
}

.exim-brand .hm-brand-text {
	padding-left: 12px;
	border-left: 1px solid var(--exim-line);
}

.exim-brand .hm-brand-text small {
	font-family: var(--exim-sans);
	font-size: 10.5px !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase;
	color: var(--exim-muted) !important;
}

.exim-brand .hm-brand-text strong {
	font-family: var(--exim-sans);
	font-size: 17px !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	color: var(--exim-blue) !important;
}

.exim-brand-light img.exim-brand-crest {
	height: 42px !important;
}

@media (max-width: 575.98px) {
	.exim-brand-light img.exim-brand-crest {
		height: 36px !important;
	}

	.exim-brand-light .hm-brand-text small {
		display: none !important;
	}
}

@media (max-width: 991.98px) {
	.exim-brand.hm-brand-mobile .hm-brand-text small {
		display: block !important;
	}
}

@media (max-width: 380px) {
	.exim-brand.hm-brand-mobile .hm-brand-text {
		display: none !important;
	}
}

/* rich footer block in partials/footer.html: shown only by exim-home.css */
.exim-footer {
	display: none;
}

/* keyboard focus that shows on blue and on white */
.home-modern a:focus-visible,
.home-modern button:focus-visible,
.res-modern a:focus-visible,
.res-modern button:focus-visible {
	outline: 3px solid var(--exim-gold);
	outline-offset: 2px;
}

/* ---------- Shared buttons ---------- */

.exim-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 11px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-family: var(--exim-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.exim-btn-blue {
	background: var(--exim-blue);
	border-color: var(--exim-blue);
	color: #fff !important;
	box-shadow: 0 8px 20px -10px rgba(184, 77, 8, 0.7);
}

.exim-btn-blue:hover {
	background: var(--exim-blue-dark);
	border-color: var(--exim-blue-dark);
	transform: translateY(-1px);
}

.exim-btn-gold {
	background: var(--exim-gold);
	border-color: var(--exim-gold);
	color: var(--exim-blue-deep) !important;
}

.exim-btn-gold:hover {
	background: #f8b84a;
	border-color: #f8b84a;
}

.exim-btn-line {
	background: #fff;
	border-color: rgba(27, 37, 54, 0.18);
	color: var(--exim-ink) !important;
}

.exim-btn-line:hover {
	border-color: var(--exim-blue);
	color: var(--exim-blue) !important;
}

/* ---------- Sign-in popup: Exim Bank two-step (password, then a one-time code by email) ---------- */

#loginModal .ex-login-sub {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
	color: var(--exim-muted);
}

#loginModal .ex-otp-note {
	display: flex;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--exim-blue-soft);
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--exim-ink);
}

#loginModal .ex-otp-note .fa {
	margin-top: 2px;
	color: var(--exim-blue);
}

#loginModal .ex-otp-links {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
}

#loginModal .ex-otp-links span {
	color: var(--exim-blue);
	cursor: pointer;
}

#loginModal .ex-otp-links span:hover {
	text-decoration: underline;
}

/* ---------- "Knowledge Centre" tag next to the Exim logo (home header + inner top bar) ---------- */

.exim-brand-full {
	align-items: center;
	gap: 14px !important;
}

.exim-brand-full img.exim-brand-logo {
	width: auto !important;
	height: 38px !important;
	padding: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	object-fit: contain;
}

.exim-brand-tag {
	display: flex;
	flex-direction: column;
	padding-left: 14px;
	border-left: 2px solid transparent;
	border-image: var(--exim-stripe) 1;
	font-family: var(--exim-serif);
	line-height: 1.05;
	color: var(--exim-night);
}

.exim-brand-tag small {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--exim-blue);
}

.exim-brand-tag strong {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
