/* =========================================================
   ACCOUNTS PAGE
========================================================= */

Company-list {
	display: block;
	min-height: 100%;
	padding: 2.5rem;
	color: #3f443f;
	background: #f7f4eb;
    padding-left: 3rem;
    padding-right: 3rem;
}

Company-list *,
Company-list *::before,
Company-list *::after {
	box-sizing: border-box;
}


/* =========================================================
   PAGE CONTAINER
========================================================= */

Company-list > .row {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0;

	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

Company-list h2 {
	margin: 0;
	color: #2c4c34;
	font-size: 1.8rem;
	font-weight: 650;
	letter-spacing: -0.025em;
}

Company-list h3 {
	margin: 0;
	color: #3f443f;
	font-size: 1.15rem;
	font-weight: 650;
	letter-spacing: -0.01em;
}

Company-list .text-muted {
	color: #747b74 !important;
	font-size: 0.9rem;
	line-height: 1.5;
}


/* =========================================================
   SECTION SEPARATION
========================================================= */

Company-list .mb-5 {
	margin-bottom: 2.25rem !important;
	padding: 1.25rem;
	background: #fbfaf7;
	border: 1px solid #e4e1d8;
	border-radius: 14px;
}

Company-list .mb-5:last-of-type {
	margin-bottom: 1.75rem !important;
}


/* =========================================================
   NEW ACCOUNT DROPDOWN
========================================================= */

Company-list .enterpriseNewMenu {
	position: absolute;
	top: calc(100% + 0.55rem);
	right: 0;
	z-index: 1050;

	width: min(390px, calc(100vw - 3rem));
	padding: 0.45rem;

	background: #ffffff;
	border: 1px solid #d8d7d1;
	border-radius: 12px;
	box-shadow:
		0 14px 30px rgba(35, 48, 39, 0.14),
		0 3px 8px rgba(35, 48, 39, 0.08);
}

Company-list .enterpriseNewMenu::before {
	position: absolute;
	top: -6px;
	right: 20px;

	width: 11px;
	height: 11px;

	content: "";
	background: #ffffff;
	border-top: 1px solid #d8d7d1;
	border-left: 1px solid #d8d7d1;
	transform: rotate(45deg);
}

Company-list .enterpriseNewMenuItem {
	position: relative;
	z-index: 1;

	display: block;
	width: 100%;
	padding: 0.75rem 0.9rem;

	color: #3f443f;
	font-size: 0.9rem;
	font-weight: 550;
	line-height: 1.4;
	text-align: left;
	text-decoration: none;

	border-radius: 9px;
	transition:
		background-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
}

Company-list .enterpriseNewMenuItem:hover,
Company-list .enterpriseNewMenuItem:focus {
	color: #2c4c34;
	background: #eef3ee;
	outline: none;
	transform: translateX(2px);
}


/* =========================================================
   FORM LABELS AND SEARCH
========================================================= */

Company-list .control-label {
	display: block;
	margin-bottom: 0.45rem;
	color: #505750;
	font-size: 0.82rem;
	font-weight: 650;
	letter-spacing: 0.015em;
}

Company-list .form-control {
	min-height: 44px;
	padding: 0.65rem 0.85rem;

	color: #3f443f;
	font-size: 0.92rem;

	background: #ffffff;
	border: 1px solid #cbcfc9;
	border-radius: 10px;
	box-shadow: none;

	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		background-color 160ms ease;
}

Company-list .form-control::placeholder {
	color: #989d98;
}

Company-list .form-control:hover {
	border-color: #aeb7ae;
}

Company-list .form-control:focus {
	background: #ffffff;
	border-color: #708090;
	box-shadow: 0 0 0 3px rgba(112, 128, 144, 0.15);
	outline: none;
}


/* =========================================================
   ACTIVE / INACTIVE FILTERS
========================================================= */

Company-list .form-check {
	margin-bottom: 0;
}

Company-list .form-check-input {
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.15rem;

	border: 1px solid #9ca59c;
	border-radius: 4px;
	box-shadow: none;
	cursor: pointer;
}

Company-list .form-check-input:checked {
	background-color: #2c4c34;
	border-color: #2c4c34;
}

Company-list .form-check-input:focus {
	border-color: #708090;
	box-shadow: 0 0 0 3px rgba(112, 128, 144, 0.14);
}

Company-list .form-check-label {
	color: #555c55;
	font-size: 0.88rem;
	cursor: pointer;
}


/* =========================================================
   ACCOUNT TABLE HEADER
========================================================= */

Company-list .header {
	margin: 0;
	padding: 0.7rem 0.85rem;

	color: #f9fbf9;
	font-size: 0.76rem;
	font-weight: 650;
	letter-spacing: 0.045em;
	text-transform: uppercase;

	background: #2c4c34;
	border: 1px solid #2c4c34;
	border-radius: 10px 10px 0 0;
}

Company-list .header [sortable-column] {
	cursor: pointer;
	user-select: none;
}

Company-list .header [sortable-column]:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* =========================================================
   ACCOUNT LIST
========================================================= */

Company-list .list {
	overflow: hidden;
	background: #ffffff;
	border-right: 1px solid #dedfd9;
	border-bottom: 1px solid #dedfd9;
	border-left: 1px solid #dedfd9;
	border-radius: 0 0 10px 10px;
}

Company-list .modelItem {
	min-height: 70px;
	margin: 0;
	padding: 0.75rem 0.85rem;

	color: #444a44;
	font-size: 0.9rem;

	background: #ffffff;
	border-bottom: 1px solid #ebe9e2;

	transition:
		background-color 160ms ease,
		box-shadow 160ms ease;
}

Company-list .modelItem:last-child {
	border-bottom: 0;
}

Company-list .modelItem:hover {
	position: relative;
	z-index: 1;
	background: #fafbf9;
	box-shadow: inset 3px 0 0 #708090;
}

Company-list .modelItem > .col:first-child {
	color: #2f3931;
	font-weight: 620;
}

Company-list .modelItem [innerHTML] {
	color: #666d66;
	font-size: 0.86rem;
	line-height: 1.45;
}


/* =========================================================
   BUTTONS
========================================================= */

Company-list .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;

	min-height: 38px;
	padding: 0.48rem 0.8rem;

	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;

	border-radius: 9px;

	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		box-shadow 160ms ease,
		transform 160ms ease;
}

Company-list .btn:hover {
	transform: translateY(-1px);
}

Company-list .btn:active {
	transform: translateY(0);
}

Company-list .btn-maroon {
	color: #ffffff;
	background: #6f3440;
	border: 1px solid #6f3440;
	box-shadow: 0 3px 7px rgba(77, 38, 46, 0.12);
}

Company-list .btn-maroon:hover,
Company-list .btn-maroon:focus {
	color: #ffffff;
	background: #5f2b36;
	border-color: #5f2b36;
	box-shadow: 0 5px 12px rgba(77, 38, 46, 0.18);
}

Company-list .btn-outline-danger {
	color: #9b3f45;
	background: #ffffff;
	border: 1px solid #cf969a;
}

Company-list .btn-outline-danger:hover,
Company-list .btn-outline-danger:focus {
	color: #ffffff;
	background: #9b3f45;
	border-color: #9b3f45;
}

Company-list .btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	transform: none;
	box-shadow: none;
}


/* =========================================================
   ACCOUNT ACTION BUTTON ALIGNMENT
========================================================= */

Company-list .accountActions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.4rem;

	width: 100%;
	margin: 0;
	padding: 0;
}

Company-list .accountActions .btn {
	margin: 0 !important;
}


/* =========================================================
   MANAGED BY LABEL
========================================================= */

Company-list .modelItem .text-muted {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0.4rem 0.7rem;

	color: #59685d !important;
	font-size: 0.78rem;
	font-weight: 600;

	background: #eef3ee;
	border: 1px solid #d7e1d8;
	border-radius: 999px;
}


/* =========================================================
   EMPTY STATE
========================================================= */

Company-list .alert-light {
	margin-bottom: 0;
	padding: 1.4rem;

	color: #687068;
	font-size: 0.9rem;

	background: #fafaf8;
	border: 1px dashed #d3d5ce;
	border-radius: 12px;
}


/* =========================================================
   LOADING STATE
========================================================= */

Company-list [aria-busy="true"] {
	pointer-events: none;
	opacity: 0.65;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

	Company-list {
		padding: 1rem;
	}

	Company-list > .row {
		padding: 1.25rem;
	}

	Company-list .header {
		font-size: 0.7rem;
	}

	Company-list .modelItem {
		font-size: 0.84rem;
	}

	Company-list .btn {
		padding-right: 0.65rem;
		padding-left: 0.65rem;
	}

}


/* =========================================================
   MOBILE ACCOUNT CARDS
========================================================= */

@media (max-width: 767.98px) {

	Company-list {
		padding: 0.75rem;
	}

	Company-list > .row {
		padding: 1rem;
		border-radius: 14px;
	}

	Company-list h2 {
		font-size: 1.5rem;
	}

	Company-list h3 {
		font-size: 1.05rem;
	}

	Company-list .mb-5 {
		padding: 1rem;
		border-radius: 12px;
	}

	Company-list .enterpriseNewMenu {
		right: auto;
		left: 0;
	}

	Company-list .enterpriseNewMenu::before {
		right: auto;
		left: 20px;
	}

	/*
	 * Hide the desktop-style header and display each account
	 * row as a standalone card.
	 */
	Company-list .header {
		display: none;
	}

	Company-list .list {
		overflow: visible;
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	Company-list .modelItem {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.7rem;

		min-height: 0;
		margin-bottom: 0.75rem;
		padding: 1rem;

		background: #ffffff;
		border: 1px solid #dedfd9;
		border-radius: 11px;
		box-shadow: 0 4px 12px rgba(35, 48, 39, 0.06);
	}

	Company-list .modelItem:last-child {
		margin-bottom: 0;
		border-bottom: 1px solid #dedfd9;
	}

	Company-list .modelItem:hover {
		box-shadow:
			inset 3px 0 0 #708090,
			0 5px 14px rgba(35, 48, 39, 0.08);
	}

	Company-list .modelItem > .col {
		width: 100%;
		padding: 0;
	}

	Company-list .modelItem > .col:first-child {
		font-size: 1rem;
	}

	Company-list .modelItem > .text-end,
	Company-list .modelItem > .col.text-end {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.45rem;

		text-align: left !important;
	}

	Company-list .modelItem .btn {
		margin-left: 0 !important;
	}

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 479.98px) {

	Company-list .btn {
		width: 100%;
	}

	Company-list .modelItem > .text-end,
	Company-list .modelItem > .col.text-end {
		display: grid;
		grid-template-columns: 1fr;
	}

	Company-list .enterpriseNewMenu {
		width: calc(100vw - 3.5rem);
	}

}
/* =========================================================
   CONTACT US PAGE
========================================================= */

.contactUsPage {
	width: 100%;
	padding: 1.25rem;

	color: #3f443f;
	background: #f7f4eb;
}

.contactUsPage *,
.contactUsPage *::before,
.contactUsPage *::after {
	box-sizing: border-box;
}


/* =========================================================
   MAIN CARD
========================================================= */

.contactUsCard {
	width: min(1180px, 100%);
	margin: 0 auto;
	overflow: hidden;

	background: #ffffff;
	border: 1px solid rgba(112, 128, 144, 0.24);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(44, 77, 52, 0.08);
}


/* =========================================================
   PAGE HEADER
========================================================= */

.contactUsHeader {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.35rem 1.6rem;

	background: #ffffff;
	border-bottom: 1px solid rgba(112, 128, 144, 0.2);
}

.contactUsHeaderIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	width: 48px;
	height: 48px;

	font-size: 1.15rem;
	color: #ffffff;
	background: #2c4d34;
	border-radius: 11px;
	box-shadow: 0 4px 12px rgba(44, 77, 52, 0.17);
}

.contactUsHeaderText {
	min-width: 0;
}

.contactUsEyebrow {
	margin-bottom: 0.15rem;

	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7a2c37;
}

.contactUsHeader h1 {
	margin: 0;

	font-size: clamp(1.6rem, 2vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
	color: #2c4d34;
}

.contactUsHeader p {
	max-width: 730px;
	margin: 0.35rem 0 0;

	font-size: 0.9rem;
	line-height: 1.5;
	color: #6f7f8f;
}


/* =========================================================
   PAGE CONTENT
========================================================= */

.contactUsContent {
	display: grid;
	grid-template-columns:
		minmax(0, 1.05fr)
		minmax(360px, 0.95fr);
	gap: 1rem;
	padding: 1rem;

	background: #ffffff;
}


/* =========================================================
   FORM PANEL
========================================================= */

.contactUsFormPanel {
	padding: 1.65rem;

	background: #e8ecef;
	border: 1px solid #d2d9de;
	border-radius: 11px;
}

.contactUsFormHeader {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1.4rem;
	padding-bottom: 0.95rem;

	border-bottom: 1px solid rgba(112, 128, 144, 0.25);
}

.contactUsSectionIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	width: 40px;
	height: 40px;

	font-size: 0.95rem;
	color: #ffffff;
	background: #7a2c37;
	border-radius: 9px;
}

.contactUsFormHeader h2 {
	margin: 0;

	font-size: 1.1rem;
	font-weight: 700;
	color: #2c4d34;
}

.contactUsFormHeader p {
	margin: 0.2rem 0 0;

	font-size: 0.82rem;
	line-height: 1.4;
	color: #6f7f8f;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.contactUsLabel {
	display: block;
	margin-bottom: 0.4rem;

	font-size: 0.8rem;
	font-weight: 700;
	color: #3f443f;
}

.requiredMarker {
	color: #7a2c37;
}

.contactUsPage .form-control {
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 0.8rem;

	font-size: 0.9rem;
	color: #3f443f;

	background: rgba(255, 255, 255, 0.96);
	border: 1px solid #c3ccd2;
	border-radius: 8px;

	box-shadow: none;

	transition:
		border-color 160ms ease,
		box-shadow 160ms ease,
		background-color 160ms ease;
}

.contactUsPage .form-control::placeholder {
	color: #929ca4;
	opacity: 1;
}

.contactUsPage .form-control:hover {
	border-color: #9caab3;
}

.contactUsPage .form-control:focus {
	background: #ffffff;
	border-color: #7a2c37;
	box-shadow: 0 0 0 0.2rem rgba(122, 44, 55, 0.1);
}

.contactUsMessageField {
	min-height: 175px !important;
	resize: vertical;

	line-height: 1.5;
}


/* =========================================================
   VALIDATION
========================================================= */

.contactUsFieldError {
	margin-top: 0.3rem;

	font-size: 0.74rem;
	font-weight: 500;
	color: #9f2f3d;
}

.contactUsValidationErrors {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	padding: 0.8rem 0.9rem;

	font-size: 0.82rem;
	color: #7f2531;
	background: #fff2f3;
	border: 1px solid #e3b4ba;
	border-radius: 8px;
}

.contactUsValidationErrors > i {
	flex: 0 0 auto;
	margin-top: 0.15rem;
}

.contactUsValidationErrors strong {
	display: block;
	margin-bottom: 0.25rem;
}

.contactUsValidationErrors ul {
	margin: 0;
	padding-left: 1rem;
}


/* =========================================================
   SUBMIT ROW
========================================================= */

.contactUsSubmitRow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.2rem;
}

.contactUsRequiredNote {
	margin: 0;

	font-size: 0.74rem;
	color: #667683;
}

.contactUsSubmitButton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;

	min-width: 145px;
	min-height: 42px;
	padding: 0.6rem 1.1rem;

	font-size: 0.84rem;
	font-weight: 700;

	border-radius: 8px;
}

.contactUsSubmitButton:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}


/* =========================================================
   IMAGE COLLAGE
========================================================= */

.contactUsImagePanel {
	display: grid;
	grid-template-rows: minmax(300px, 1fr) 145px;
	gap: 0.8rem;

	min-width: 0;
	min-height: 100%;
	padding: 0.15rem;
}

.contactUsImage {
	position: relative;
	overflow: hidden;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	border: 1px solid rgba(112, 128, 144, 0.2);
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(44, 77, 52, 0.08);
}

.contactUsImage::after {
	position: absolute;
	inset: 0;

	content: '';

	background:
		linear-gradient(
			180deg,
			rgba(44, 77, 52, 0.02),
			rgba(44, 77, 52, 0.1)
		);

	pointer-events: none;
}

.contactUsImagePrimary {
	min-height: 300px;
}

.contactUsImageRow {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	min-height: 0;
}

.contactUsImageSmall {
	min-width: 0;
	min-height: 145px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
	.contactUsPage {
		padding: 1rem;
	}

	.contactUsContent {
		grid-template-columns: 1fr;
	}

	.contactUsImagePanel {
		grid-template-rows: 330px 140px;
	}

	.contactUsImagePrimary {
		min-height: 330px;
	}
}

@media (max-width: 575.98px) {
	.contactUsPage {
		padding: 0.65rem;
	}

	.contactUsCard {
		border-radius: 11px;
	}

	.contactUsHeader {
		align-items: flex-start;
		padding: 1.2rem;
	}

	.contactUsHeaderIcon {
		width: 43px;
		height: 43px;
		font-size: 1rem;
	}

	.contactUsHeader h1 {
		font-size: 1.5rem;
	}

	.contactUsContent {
		padding: 0.7rem;
	}

	.contactUsFormPanel {
		padding: 1.2rem;
	}

	.contactUsFormHeader {
		align-items: flex-start;
	}

	.contactUsSubmitRow {
		flex-direction: column;
		align-items: stretch;
	}

	.contactUsSubmitButton {
		width: 100%;
	}

	.contactUsRequiredNote {
		order: 2;
		text-align: center;
	}

	.contactUsImagePanel {
		grid-template-rows: 245px auto;
	}

	.contactUsImagePrimary {
		min-height: 245px;
	}

	.contactUsImageRow {
		grid-template-columns: 1fr;
	}

	.contactUsImageSmall {
		min-height: 185px;
	}
}