/*
 * CRM of the Business Incubator of Tajikistan — look of the public site
 * bizincubator.tj: navy #0A1130, blue #1D4ED8, green #00A24A, gold #F4B41A,
 * light background #F4F6FB, Montserrat, generous radii, thin borders.
 */

:root {
	--crm-navy: #0A1130;
	--crm-blue: #1D4ED8;
	--crm-green: #00A24A;
	--crm-gold: #F4B41A;
	--crm-light: #F4F6FB;
	--crm-line: rgba(10, 17, 48, .08);
}

body.fi-body {
	background: var(--crm-light);
}

/* ---------------------------------------------------------------- login */

.fi-simple-layout {
	background-color: var(--crm-navy);
	background-image:
		linear-gradient(120deg, rgba(10, 17, 48, .94) 0%, rgba(18, 35, 94, .82) 100%),
		url('/images/login-bg.jpg');
	background-size: cover;
	background-position: center;
}

.fi-simple-main {
	border-radius: 22px;
	border-top: 4px solid var(--crm-green);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}

.fi-simple-main .fi-logo {
	height: 3.4rem !important;
}

/* ---------------------------------------------------------------- frame */

.fi-topbar nav,
.fi-topbar {
	box-shadow: none;
	border-bottom: 1px solid var(--crm-line);
}

.fi-sidebar {
	border-right: 1px solid var(--crm-line);
}

.fi-sidebar-item-btn {
	border-radius: 12px;
}

.fi-sidebar-group-label {
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .7rem;
}

/* Thin red line on top of the header, like the site's top bar. */
.fi-topbar {
	border-top: 3px solid #E4141B;
}

/* ---------------------------------------------------------------- cards */

.fi-section,
.fi-ta-ctn,
.fi-wi-stats-overview-stat,
.fi-wi-widget > .fi-section {
	border-radius: 18px !important;
}

.fi-header-heading {
	letter-spacing: -.02em;
}

/* ---------------------------------------------------------------- home page */

.crm-quick {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
	gap: .75rem;
}

.crm-quick__item {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .9rem 1rem;
	background: #fff;
	border: 1px solid var(--crm-line);
	border-radius: 16px;
	color: var(--crm-navy);
	font-weight: 600;
	font-size: .9rem;
	transition: border-color .15s, transform .15s;
}

.crm-quick__item:hover {
	border-color: var(--crm-blue);
	transform: translateY(-1px);
}

.crm-quick__item > span {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.crm-quick__item small {
	display: block;
	margin-top: .1rem;
	font-weight: 500;
	font-size: .72rem;
	color: #64748b;
}

.crm-quick__icon {
	width: 2.25rem;
	height: 2.25rem;
	padding: .45rem;
	border-radius: 12px;
	background: #EEF2FF;
	color: var(--crm-blue);
	flex-shrink: 0;
}

.crm-attention {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: .6rem;
}

.crm-attention__item {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .7rem .9rem;
	border-radius: 14px;
	border: 1px solid var(--crm-line);
	color: var(--crm-navy);
	font-size: .88rem;
	line-height: 1.3;
}

.crm-attention__item:hover { border-color: currentColor; }

.crm-attention__item b {
	font-size: 1.35rem;
	min-width: 2.2rem;
	text-align: center;
}

.crm-attention__item--danger b { color: #dc2626; }
.crm-attention__item--warning b { color: #b45309; }
.crm-attention__item--info b { color: var(--crm-blue); }

.crm-attention__empty {
	color: #15803d;
	font-weight: 500;
	margin: 0;
}
