/**
* Template Name: Constructo
* Template URL: https://bootstrapmade.com/constructo-bootstrap-construction-template/
* Updated: Aug 30 2025 with Bootstrap v5.3.8
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
	--default-font:
		"Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
		"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--heading-font: "Ubuntu", sans-serif;
	--nav-font: "Lato", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
	--background-color: #f9fafb; /* Background color for the entire website, including individual sections */
	--default-color: #333333; /* Default color used for the majority of the text content across the entire website */
	--heading-color: #102a49; /* Color for headings, subheadings and title throughout the website */
	--accent-color: #0e2b4f; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
	--surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
	--contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
	--nav-color: #333333; /* The default color of the main navmenu links */
	--nav-hover-color: #14529d; /* Applied to main navmenu links when they are hovered over or active */
	--nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
	--nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
	--nav-dropdown-color: #333333; /* Used for navigation links of the dropdown items in the navigation menu. */
	--nav-dropdown-hover-color: #14529d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
	--background-color: #eff1f3;
	--surface-color: #ffffff;
}

.dark-background {
	--background-color: #0e2b4f;
	--default-color: #ffffff;
	--heading-color: #ffffff;
	--accent-color: #ffffff;
	--surface-color: #252525;
	--contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
	scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
	color: var(--default-color);
	background-color: var(--background-color);
	font-family: var(--default-font);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: color-mix(in srgb, var(--accent-color), transparent 25%);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	font-family: var(--heading-font);
}

.form-control:focus {
	box-shadow: none !important;
}
/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
	display: none;
	background: #df1529;
	color: #ffffff;
	text-align: left;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .sent-message {
	display: none;
	color: #ffffff;
	background: #059652;
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
	font-weight: 600;
}

.php-email-form .loading {
	display: none;
	background: var(--surface-color);
	text-align: center;
	padding: 15px;
	margin-bottom: 24px;
}

.php-email-form .loading:before {
	content: "";
	display: inline-block;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin: 0 10px -6px 0;
	border: 3px solid var(--accent-color);
	border-top-color: var(--surface-color);
	animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
	--background-color: #ffffff;
	color: var(--default-color);
	transition: all 0.5s;
	z-index: 997;
	background-color: var(--background-color);
}

.header .branding {
	min-height: 60px;
	padding: 10px 0;
}

.header .logo {
	line-height: 1;
}

.header .logo img {
	max-height: 60px;
}

.header .logo h1 {
	font-size: 30px;
	margin: 0;
	font-weight: 700;
	color: var(--heading-color);
}

.scrolled .header {
	box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
	.navmenu {
		padding: 0;
	}

	.navmenu ul {
		margin: 0;
		padding: 0;
		display: flex;
		list-style: none;
		align-items: center;
	}

	.navmenu li {
		position: relative;
	}

	.navmenu a,
	.navmenu a:focus {
		color: var(--nav-color);
		padding: 18px 15px;
		font-size: 16px;
		font-family: var(--nav-font);
		font-weight: 600;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
	}

	.navmenu a i,
	.navmenu a:focus i {
		font-size: 12px;
		line-height: 0;
		margin-left: 5px;
		transition: 0.3s;
	}

	.navmenu li:last-child a {
		padding-right: 0;
	}

	.navmenu li:hover > a,
	.navmenu .active,
	.navmenu .active:focus {
		color: var(--nav-hover-color);
	}

	.navmenu .dropdown ul {
		margin: 0;
		padding: 10px 0;
		background: var(--nav-dropdown-background-color);
		display: block;
		position: absolute;
		visibility: hidden;
		left: -100px;
		top: 130%;
		opacity: 0;
		transition: 0.3s;
		border-radius: 4px;
		z-index: 99;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
		max-height: calc(100vh - 180px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.navmenu .dropdown ul li {
		min-width: 200px;
	}

	.navmenu .dropdown ul a {
		padding: 6px 12px;
		font-size: 15px;
		text-transform: none;
		color: var(--nav-dropdown-color);
	}

	.navmenu .dropdown ul a i {
		font-size: 12px;
	}

	.navmenu .dropdown ul a:hover,
	.navmenu .dropdown ul .active:hover,
	.navmenu .dropdown ul li:hover > a {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .dropdown:hover > ul {
		opacity: 1;
		top: 100%;
		visibility: visible;
	}

	.navmenu .dropdown:last-child ul {
		left: auto;
		right: 0;
	}

	.navmenu .dropdown .dropdown ul {
		top: 0;
		left: -90%;
		visibility: hidden;
	}

	.navmenu .dropdown .dropdown:hover > ul {
		opacity: 1;
		top: 0;
		left: -100%;
		visibility: visible;
	}
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
	.mobile-nav-toggle {
		color: var(--nav-color);
		font-size: 28px;
		line-height: 0;
		margin-right: 10px;
		cursor: pointer;
		transition: color 0.3s;
	}

	.navmenu {
		padding: 0;
		z-index: 9997;
	}

	.navmenu ul {
		display: none;
		list-style: none;
		position: absolute;
		inset: 60px 20px 20px 20px;
		padding: 10px 0;
		margin: 0;
		border-radius: 6px;
		background-color: var(--nav-mobile-background-color);
		overflow-y: auto;
		transition: 0.3s;
		z-index: 9998;
		box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	}

	.navmenu a,
	.navmenu a:focus {
		color: var(--nav-dropdown-color);
		padding: 10px 20px;
		font-family: var(--nav-font);
		font-size: 17px;
		font-weight: 500;
		display: flex;
		align-items: center;
		justify-content: space-between;
		white-space: nowrap;
		transition: 0.3s;
	}

	.navmenu a i,
	.navmenu a:focus i {
		font-size: 12px;
		line-height: 0;
		margin-left: 5px;
		width: 30px;
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		transition: 0.3s;
		background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
	}

	.navmenu a i:hover,
	.navmenu a:focus i:hover {
		background-color: var(--accent-color);
		color: var(--contrast-color);
	}

	.navmenu a:hover,
	.navmenu .active,
	.navmenu .active:focus {
		color: var(--nav-dropdown-hover-color);
	}

	.navmenu .active i,
	.navmenu .active:focus i {
		background-color: var(--accent-color);
		color: var(--contrast-color);
		transform: rotate(180deg);
	}

	.navmenu .dropdown ul {
		position: static;
		display: none;
		z-index: 99;
		padding: 10px 0;
		margin: 10px 20px;
		background-color: var(--nav-dropdown-background-color);
		border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
		box-shadow: none;
		transition: all 0.5s ease-in-out;
	}

	.navmenu .dropdown ul ul {
		background-color: rgba(33, 37, 41, 0.1);
	}

	.navmenu .dropdown > .dropdown-active {
		display: block;
		background-color: rgba(33, 37, 41, 0.03);
	}

	.mobile-nav-active {
		overflow: hidden;
	}

	.mobile-nav-active .mobile-nav-toggle {
		color: #fff;
		position: absolute;
		font-size: 32px;
		top: 15px;
		right: 15px;
		margin-right: 0;
		z-index: 9999;
	}

	.mobile-nav-active .navmenu {
		position: fixed;
		overflow: hidden;
		inset: 0;
		background: rgba(33, 37, 41, 0.8);
		transition: 0.3s;
	}

	.mobile-nav-active .navmenu > ul {
		display: block;
	}
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
	color: var(--default-color);
	background-color: var(--background-color);
	font-size: 14px;
	padding: 50px 0;
	position: relative;
}

.footer .copyright {
	padding-top: 25px;
	padding-bottom: 25px;
	background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
	margin-bottom: 0;
}

.footer .credits {
	margin-top: 6px;
	font-size: 13px;
}

/*--------------------------------------------------------------
# Recipient Sidebar
--------------------------------------------------------------*/
.recipient-sidebar-fixed {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 14px 32px rgba(16, 42, 73, 0.12);
}

.recipient-card {
	background: #ffffff;
}

.recipient-card-header {
	background: #f2f6fb;
	color: #102a49;
	font-weight: 700;
	letter-spacing: 0.2px;
	border-bottom: 1px solid #e6edf5;
}

.recipient-close-btn {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #5b6b7b;
	padding: 0;
}

.recipient-close-btn:hover,
.recipient-close-btn:focus {
	background: #e9eef5;
	color: #102a49;
	text-decoration: none;
}

.recipient-sidebar-fixed .btn-outline-primary {
	color: #14529d;
	border-color: #14529d;
}

.recipient-sidebar-fixed .btn-outline-primary:hover {
	background: #14529d;
	color: #ffffff;
}

.recipient-sidebar-fixed .btn-outline-secondary {
	color: #5b6b7b;
	border-color: #c9d3df;
}

.recipient-sidebar-fixed .btn-outline-secondary:hover {
	background: #5b6b7b;
	color: #ffffff;
}

.recipient-sidebar-fixed .input-group-text {
	color: #5b6b7b;
}

.recipient-sidebar-fixed .search-hits {
	background: #f7f9fc;
}

.scrollable-contacts {
	background: #ffffff;
	border: 1px solid #edf1f7;
	border-radius: 10px;
	padding: 8px;
}

.contact-item {
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid transparent;
	transition: 0.2s;
}

.contact-item:hover {
	background: #eef5ff;
	border-color: #d7e6ff;
}

.contact-email {
	color: #102a49;
	font-weight: 600;
	font-size: 13px;
}

.contact-name {
	color: #5b6b7b;
	font-size: 12px;
}

.footer-note {
	color: #5b6b7b;
}

/*--------------------------------------------------------------
# Compose Page
--------------------------------------------------------------*/
.compose.section {
	background: #f6f8fb;
}

.compose .compose-section-title {
	color: #102a49;
	letter-spacing: 0.4px;
}

.compose .recipient-btn.btn-primary {
	background: #14529d;
	border-color: #14529d;
	box-shadow: 0 6px 16px rgba(20, 82, 157, 0.2);
}

.compose .recipient-btn.btn-primary:hover {
	background: #0f3f78;
	border-color: #0f3f78;
}

.compose .recipients-label {
	color: #102a49;
}

.compose .recipient-placeholder {
	background: #ffffff;
	border: 1px dashed #c7d4e5;
	border-radius: 12px;
	padding: 8px 10px;
	color: #5b6b7b;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	min-height: 44px;
}

.compose .recipient-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.compose .recipient-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #e8f0ff;
	color: #1d4ed8;
	border: 1px solid #c9d7f5;
	padding: 4px 8px;
	border-radius: 999px;
	font-size: 0.8rem;
}

.compose .recipient-chip-remove {
	border: 0;
	background: transparent;
	color: inherit;
	padding: 0;
	line-height: 1;
	cursor: pointer;
}

.compose .recipient-placeholder .recipient-input {
	border: 0;
	background: transparent;
	min-width: 220px;
	flex: 1;
	padding: 4px 2px;
}

.compose .recipient-placeholder .recipient-input:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

.compose .description-label,
.compose .secure-message-label {
	color: #102a49;
	font-weight: 600;
}

.compose .description-input,
.compose textarea.form-control,
.compose .form-control {
	border-color: #d7e3f1;
	background: #ffffff;
	box-shadow: inset 0 1px 0 rgba(16, 42, 73, 0.05);
}

.compose .description-input:focus,
.compose textarea.form-control:focus,
.compose .form-control:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
}

.compose .file-drop-zone {
	background: #eef4ff;
	border: 2px dashed #9ab4e5;
	border-radius: 16px;
	padding: 28px;
	text-align: center;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.compose .file-drop-zone.is-dragover {
	background: #e4eeff;
	border-color: #1d4ed8;
	box-shadow: 0 12px 24px rgba(16, 42, 73, 0.12);
}

.compose .file-drop-zone:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(16, 42, 73, 0.12);
}

.compose .file-drop-zone .text-primary {
	color: #14529d !important;
}

.compose .file-list {
	margin-top: 12px;
	text-align: left;
	font-size: 0.85rem;
	color: #2f3b4a;
}

.compose .file-item {
	padding: 6px 8px;
	border-radius: 8px;
	background: #ffffff;
	border: 1px solid #e6edf5;
	margin-bottom: 6px;
}

.compose .file-item span {
	color: #6b7b8c;
	font-size: 0.8rem;
}

.compose .send-btn.btn-outline-primary {
	background: #14529d;
	border-color: #14529d;
	color: #ffffff;
}

.compose .send-btn.btn-outline-primary:hover {
	background: #0f3f78;
	border-color: #0f3f78;
}

.compose .form-select {
	border-color: #d7e3f1;
	border-radius: 999px;
}

.compose .form-select:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
}

/*--------------------------------------------------------------
# Inbox Table
--------------------------------------------------------------*/
/* Custom styles for Inbox table to match reference */
.inbox-container {
	border: 1px dotted #999;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 20px;
	overflow-x: auto;
}

.table-inbox th {
	background-color: #f0f0f0;
	color: var(--default-color);
	font-weight: bold;
	font-size: 0.9rem;
	border-bottom: 2px solid #ddd;
}

.table-inbox td {
	vertical-align: middle;
	font-size: 0.85rem;
	padding: 8px 5px;
}

.status-completed {
	color: #198754;
	/* Green */
	font-weight: 500;
}

.status-signed {
	color: #198754;
	font-weight: 700;
	font-style: italic;
}

.status-unopened {
	color: #b45309;
	font-weight: 600;
}

.status-opened {
	color: #1d4ed8;
	font-weight: 600;
}

.status-notsigned {
	color: #dc2626;
	font-weight: 600;
}

.status-aged {
	color: #9a3412;
	font-weight: 600;
}

.status-revoked {
	color: #6b7280;
	font-weight: 600;
}

.status-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 4px;
	vertical-align: middle;
}

.track-row-icon {
	margin-right: 0;
	width: 18px;
	height: 18px;
}

.status-icon i {
	font-size: 0.95em;
}

.status-icon--signed i,
.status-icon--completed i {
	color: #1fa043;
}

.status-icon--unopened i,
.status-icon--notsigned i {
	color: #dc2626;
}

.status-icon--opened i {
	color: #1d4ed8;
}

.status-icon--aged i {
	color: #f59e0b;
}

.status-icon--revoked i,
.status-icon--neutral i {
	color: #6b7280;
}

.smart-search-label {
	font-weight: bold;
	color: #666;
	font-size: 0.9rem;
}

.hits-text {
	color: #666;
	font-style: italic;
	font-size: 0.9rem;
}

.helper-text {
	font-size: 0.8em;
	color: var(--accent-color);
	text-align: right;
	display: block;
	margin-bottom: 2px;
	font-style: italic;
	text-decoration: none;
}

.helper-text:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Track Quick View + Details
--------------------------------------------------------------*/

.table-inbox tbody tr.track-row {
	cursor: pointer;
}

.track-modal .modal-dialog {
	max-width: 860px;
}

.track-modal .modal-content {
	border: 2px solid #1f1f1f;
	border-radius: 6px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.track-modal .modal-header {
	background: #f6f6f6;
	border-bottom: 1px solid #bcbcbc;
	position: relative;
	padding: 10px 16px 8px;
}

.track-modal .modal-title {
	font-weight: 700;
	font-style: italic;
	color: #111827;
}

.track-modal .quick-note {
	font-size: 0.75rem;
	color: #1d4ed8;
	font-style: italic;
	text-align: center;
}

.track-modal .modal-body {
	background: #ffffff;
	padding: 12px 14px 16px;
	font-size: 0.85rem;
}

.track-detail-card--modal {
	border: 0;
	padding: 0;
	background: transparent;
}

.track-modal .track-detail-row {
	margin-bottom: 12px;
	padding-bottom: 0;
	border-bottom: 0;
}

.track-modal .track-detail-label {
	color: #1a4fb5;
	font-weight: 700;
	font-size: 0.82rem;
	margin-bottom: 4px;
}

.track-modal .track-detail-panel {
	border: 1px solid #b7b7b7;
	background: #f1f1f1;
	padding: 6px 8px;
	font-size: 0.85rem;
	border-radius: 2px;
}

.track-modal .track-detail-card--modal .track-detail-panel {
	min-height: 32px;
	display: flex;
	align-items: center;
}

.track-modal .track-detail-card--modal .track-detail-panel.pre-wrap {
	align-items: flex-start;
	white-space: pre-wrap;
	line-height: 1.35;
}

.track-modal .track-detail-card--modal .track-detail-files {
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.track-modal .track-detail-card--modal .track-detail-note {
	font-size: 0.72rem;
	color: #1d4ed8;
	font-style: italic;
	margin-top: 2px;
	text-align: right;
	width: 100%;
}

.track-modal .track-detail-card--modal .track-detail-label {
	text-transform: none;
	letter-spacing: 0.2px;
}

.track-modal .track-detail-card--modal .track-detail-row:last-child {
	margin-bottom: 0;
}

.track-modal .modal-header::after {
	content: "›";
	position: absolute;
	right: 14px;
	top: 6px;
	font-size: 24px;
	color: #1d4ed8;
	font-weight: 700;
}

.track-modal .btn.btn-outline-primary {
	border-color: #1d4ed8;
	color: #1d4ed8;
	background: #ffffff;
}

.track-modal .btn.btn-outline-secondary {
	border-color: #9aa4b2;
	color: #4b5563;
	background: #ffffff;
}

.track-status-banner {
	background: #d6f8d6;
	border: 1px solid #b7eab7;
	border-radius: 999px;
	padding: 8px 16px;
	text-align: center;
	max-width: 680px;
	margin: 0 auto 14px;
	color: #1f6b1f;
}

.track-status-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.85rem;
}

.track-status-title i {
	color: #1fa043;
}

.track-status-sub {
	font-size: 0.78rem;
	color: #2f6f2f;
	margin-top: 4px;
}

.track-status-banner--modal {
	margin-bottom: 12px;
}

.track-modal .track-detail-split {
	flex-wrap: wrap;
	align-items: flex-start;
}

.track-modal .track-detail-meta {
	font-size: 0.8rem;
	color: #6b7280;
}

.track-detail-card {
	border: 1px solid #9a9a9a;
	padding: 16px 18px;
	background: #ffffff;
	border-radius: 3px;
}

.track-detail-row {
	margin-bottom: 12px;
}

.track-detail-label {
	color: #1d4ed8;
	font-weight: 700;
	font-size: 0.82rem;
	margin-bottom: 3px;
}

.track-detail-panel {
	border: 1px solid #b7b7b7;
	background: #f1f1f1;
	padding: 6px 8px;
	font-size: 0.85rem;
	border-radius: 2px;
	min-height: 30px;
}

.track-detail-panel.pre-wrap {
	line-height: 2;
}

.track-detail-split {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.track-detail-files {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.track-detail-meta {
	font-size: 0.8rem;
	color: #6b7280;
}

.track-detail-note {
	font-size: 0.72rem;
	color: #1d4ed8;
	font-style: italic;
	text-align: right;
	margin-top: 4px;
}

.track-detail-actions .btn {
	font-weight: 600;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	overflow: hidden;
	background: var(--background-color);
	transition: all 0.6s ease-out;
}

#preloader:before {
	content: "";
	position: fixed;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	border: 6px solid #ffffff;
	border-color: var(--accent-color) transparent var(--accent-color) transparent;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: 15px;
	z-index: 99999;
	background-color: var(--accent-color);
	width: 40px;
	height: 40px;
	border-radius: 4px;
	transition: all 0.4s;
}

.scroll-top i {
	font-size: 24px;
	color: var(--contrast-color);
	line-height: 0;
}

.scroll-top:hover {
	background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
	color: var(--contrast-color);
}

.scroll-top.active {
	visibility: visible;
	opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	[data-aos-delay] {
		transition-delay: 0 !important;
	}
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 25px 0;
	position: relative;
}

.page-title h1 {
	font-size: 24px;
	font-weight: 700;
}

.page-title .breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
	padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
	content: "/";
	display: inline-block;
	padding-right: 10px;
	color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 60px 0;
	scroll-margin-top: 90px;
	overflow: clip;
}

@media (max-width: 1199px) {
	section,
	.section {
		scroll-margin-top: 66px;
	}
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
	padding-bottom: 60px;
	position: relative;
}

.section-title h2 {
	font-size: 24px;
	font-weight: 700;
	padding: 0;
	line-height: 1px;
	margin: 0;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	position: relative;
}

.section-title h2::after {
	content: "";
	width: 120px;
	height: 1px;
	display: inline-block;
	background: var(--accent-color);
	margin: 4px 10px;
}

.section-title p {
	color: color-mix(in srgb, var(--default-color), transparent 50%);
	margin: 5px 0 0 0;
	font-size: 16px;
	font-weight: 500;
	font-family: var(--heading-font);
}

/*--------------------------------------------------------------

/* Compose section specific styles */
.compose-section-title {
	color: var(--heading-color);
}

.recipient-btn {
	background-color: var(--accent-color);
}

.recipients-label {
	color: var(--accent-color);
}

.description-label {
	color: var(--accent-color);
}

.description-input {
	background-color: #fffde7;
}

.secure-message-label {
	color: var(--accent-color);
}

.send-btn {
	border-color: var(--accent-color);
	color: var(--accent-color);
}

.search-hits {
	font-size: 0.8rem;
}

.footer-note {
	font-size: 0.75rem;
	font-style: italic;
}

/**
* Custom styles for New Go-Package page
*/

/* Recipient placeholder styling */
.recipient-placeholder {
	background-color: #f8f9fa;
	border: 1px solid #dee2e6;
	color: #6c757d;
	padding: 10px;
	font-size: 0.9rem;
}

/* File drop zone styling */
.file-drop-zone {
	border: 2px dashed #aec4e6;
	border-radius: 20px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.file-drop-zone:hover {
	background-color: #f0f8ff;
	border-color: var(--accent-color);
}

/* Recipient card styling */
.recipient-card {
	border: 2px solid #333;
	border-radius: 8px;
}

.recipient-card-header {
	background-color: #f0f0f0;
	border-bottom: 1px solid #bbb;
	font-weight: bold;
}

/* Scrollable contacts list */
.scrollable-contacts {
	height: 100%;
	overflow-y: auto;
}

.contact-item {
	padding: 5px 10px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	font-size: 0.9rem;
}

.contact-item:hover {
	background-color: #e9ecef;
}

.contact-item.selected {
	background-color: #e8f0ff;
	border: 1px solid #c9d7f5;
	border-radius: 8px;
}

.contact-email {
	font-weight: bold;
	text-decoration: underline;
	color: #000;
}

.contact-name {
	color: #555;
	font-size: 0.85rem;
}

/* Fixed recipient sidebar */
.recipient-sidebar-fixed {
	position: fixed;
	top: 5%;
	right: 0;
	width: 380px;
	height: 90vh;
	z-index: 1050;
	background-color: #fff;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	overflow-y: auto;
	border-left: 1px solid #ddd;
}

/* Responsive design for mobile */
@media (max-width: 992px) {
	.recipient-sidebar-fixed {
		display: none; /* Hide on mobile or handle differently */
	}
}

/*--------------------------------------------------------------
# Table Controls (Shared)
--------------------------------------------------------------*/
.page-length-select {
	border-radius: 999px;
	border-color: #d3dbe6;
	padding: 4px 10px;
	font-size: 0.85rem;
	background-color: #ffffff;
	box-shadow: 0 4px 10px rgba(16, 42, 73, 0.08);
}

.page-length-select:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.15);
}

.pagination .page-link {
	border: 0;
	color: #1f2a37;
	background: #f1f5f9;
	border-radius: 999px;
	padding: 6px 12px;
	margin: 0 4px;
	font-weight: 600;
	font-size: 0.85rem;
	box-shadow: 0 6px 12px rgba(16, 42, 73, 0.08);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.pagination .page-link:hover {
	background: #e0ecff;
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(16, 42, 73, 0.12);
}

.pagination .page-item.active .page-link {
	background: #1d4ed8;
	color: #ffffff;
}

.pagination .page-item.disabled .page-link {
	background: #eef2f6;
	color: #9aa7b4;
	box-shadow: none;
}

/*--------------------------------------------------------------
# Contacts Modals
--------------------------------------------------------------*/
.contact-modal .modal-content {
	border: 2px solid #111827;
	border-radius: 14px;
	box-shadow: 0 18px 32px rgba(17, 24, 39, 0.25);
}

.contact-modal .modal-header {
	border-bottom: 1px solid #e5e7eb;
}

.contact-modal .modal-title {
	font-weight: 700;
	color: #111827;
}

.contact-modal .modal-footer {
	border-top: 1px solid #e5e7eb;
}

.contact-detail-actions .btn {
	font-weight: 600;
}

.table-inbox tbody tr.is-selected {
	background: #1d4ed8;
}

.table-inbox tbody tr.is-selected td,
.table-inbox tbody tr.is-selected td span,
.table-inbox tbody tr.is-selected .text-danger {
	color: #333 !important;
}

/*--------------------------------------------------------------
# Contact Group Modal
--------------------------------------------------------------*/
.group-modal .modal-content {
	border: 2px solid #111827;
	border-radius: 16px;
	box-shadow: 0 18px 32px rgba(17, 24, 39, 0.25);
}

.group-modal .modal-header {
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
}

.group-modal .modal-title {
	font-weight: 700;
	color: #111827;
}

.group-form-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 10px 20px rgba(16, 42, 73, 0.08);
}

.group-panel-closed .group-form-col {
	flex: 0 0 100%;
	max-width: 100%;
}

.group-panel-closed .group-form-card {
	max-width: 860px;
	margin: 0 auto;
}

.group-form-card .form-control,
.group-form-card textarea {
	background: #f8fafc;
	border-radius: 10px;
}

.group-form-card .form-control:focus,
.group-form-card textarea:focus {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.group-actions .btn {
	font-weight: 600;
}

.group-members-box {
	background: #f8fbff;
	border: 1px dashed #cbd5f5;
	border-radius: 12px;
	padding: 10px;
	min-height: 74px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.group-member-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	background: #e0ecff;
	color: #1d4ed8;
	border: 1px solid #c7dcff;
	padding: 6px 10px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

.group-member-chip:hover {
	background: #cfe2ff;
}

.group-member-text {
	pointer-events: none;
}

.group-member-remove {
	font-weight: 700;
	margin-left: 2px;
}

.group-member-empty {
	color: #6b7280;
	font-size: 0.85rem;
}

.group-panel {
	padding: 16px;
}

.group-contact-item.is-selected {
	background: #1d4ed8;
	border-color: #1d4ed8;
}

.group-contact-item.is-selected .contact-email,
.group-contact-item.is-selected .contact-name {
	color: #000;
}

/*--------------------------------------------------------------
# Profile Page
--------------------------------------------------------------*/
.profile-page {
	background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
	padding: 22px 0 34px;
	min-height: calc(100vh - 130px);
}

.profile-shell {
	max-width: 980px;
}

.profile-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--heading-color);
	margin-bottom: 14px;
	font-family: var(--heading-font);
}

.profile-card {
	background: #ffffff;
	border: 1px solid #d9e2ef;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 14px 26px rgba(16, 42, 73, 0.08);
}

.profile-form {
	font-family: var(--default-font);
}

.profile-alert {
	max-width: 820px;
	margin: 0 auto 12px;
	border: 0;
	border-radius: 12px;
}

.profile-label {
	display: block;
	font-size: 0.83rem;
	font-weight: 700;
	color: #2f425c;
	margin-bottom: 6px;
	line-height: 1.2;
}

.profile-input,
.profile-readonly {
	background: #f8fbff;
	border: 1px solid #d0dbe9;
	border-radius: 10px;
	height: 40px;
	font-size: 0.92rem;
	padding: 8px 10px;
}

.profile-input {
	color: #1f2a37;
}

.profile-input:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 0.18rem rgba(29, 78, 216, 0.16);
	background: #ffffff;
}

textarea.profile-input {
	height: auto;
	min-height: 160px;
	line-height: 1.4;
	font-size: 0.9rem;
}

.profile-readonly {
	padding: 9px 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #334155;
	background: #f1f5fb;
}

.profile-phone-types {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding-top: 2px;
}

.profile-phone-types label {
	color: #2a58c9;
	font-size: 0.8rem;
	cursor: pointer;
	line-height: 1;
	margin: 0;
}

.profile-phone-types input {
	display: none;
}

.profile-phone-types label span {
	display: inline-block;
	border: 1px solid #b9cbf5;
	background: #eff4ff;
	color: #2758cb;
	border-radius: 999px;
	padding: 6px 12px;
	font-weight: 600;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.profile-phone-types input:checked + span {
	background: #1d4ed8;
	border-color: #1d4ed8;
	color: #ffffff;
	font-weight: 700;
}

.profile-helper {
	font-size: 0.74rem;
	color: #64748b;
	margin-top: 4px;
	line-height: 1.25;
}

.profile-helper-right {
	text-align: right;
}

.profile-helper-link {
	text-decoration: underline;
}

.profile-actions .btn {
	border-radius: 999px;
	border-width: 1px;
	font-weight: 700;
	padding: 7px 16px;
	font-size: 0.84rem;
	box-shadow: 0 6px 12px rgba(16, 42, 73, 0.09);
}

.profile-btn-primary {
	border: 1px solid #1d4ed8;
	background: #1d4ed8;
	color: #ffffff;
}

.profile-btn-secondary {
	border: 1px solid #b6c7e7;
	background: #ffffff;
	color: #21427d;
}

.profile-btn-primary:hover,
.profile-btn-secondary:hover {
	background: #1742b8;
	color: #ffffff;
	border-color: #1742b8;
}

.profile-note {
	margin-top: 18px;
	background: #fff7c5;
	color: #6b5a11;
	border-radius: 999px;
	padding: 10px 20px;
	text-align: center;
	font-size: 0.8rem;
	line-height: 1.2;
	border: 1px solid #f3e07d;
}

.profile-form .row.g-2 {
	margin-bottom: 12px;
}

.profile-actions {
	margin-top: 6px;
}

@media (max-width: 767px) {
	.profile-title {
		font-size: 1.5rem;
		margin-bottom: 10px;
	}

	.profile-card {
		padding: 14px;
		border-radius: 14px;
	}

	.profile-input,
	.profile-readonly,
	.profile-phone-types label,
	.profile-actions .btn {
		font-size: 0.82rem;
	}

	textarea.profile-input {
		font-size: 0.82rem;
		min-height: 130px;
	}

	.profile-note {
		border-radius: 14px;
		font-size: 0.75rem;
		padding: 9px 12px;
	}
}

/*--------------------------------------------------------------
# Password Page
--------------------------------------------------------------*/
.password-page {
	background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
	padding: 22px 0 34px;
	min-height: calc(100vh - 130px);
}

.password-shell {
	max-width: 620px;
}

.password-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--heading-color);
	margin-bottom: 14px;
	font-family: var(--heading-font);
}

.password-alert {
	border: 0;
	border-radius: 12px;
}

.password-card {
	background: #ffffff;
	border: 1px solid #d9e2ef;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 14px 26px rgba(16, 42, 73, 0.08);
}

.password-form {
	font-family: var(--default-font);
}

.password-label {
	display: block;
	font-size: 0.83rem;
	font-weight: 700;
	color: #2f425c;
	margin-bottom: 6px;
	line-height: 1.2;
}

.password-input-wrap {
	position: relative;
}

.password-input {
	background: #f8fbff;
	border: 1px solid #d0dbe9;
	border-radius: 10px;
	height: 42px;
	font-size: 0.92rem;
	padding: 8px 42px 8px 10px;
	color: #1f2a37;
}

.password-input:focus {
	border-color: #1d4ed8;
	box-shadow: 0 0 0 0.18rem rgba(29, 78, 216, 0.16);
	background: #ffffff;
}

.password-toggle {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 8px;
	background: #edf3ff;
	color: #2f61d5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.password-toggle:hover {
	background: #dbe7ff;
}

.password-actions .btn {
	border-radius: 999px;
	border-width: 1px;
	font-weight: 700;
	padding: 7px 16px;
	font-size: 0.84rem;
	box-shadow: 0 6px 12px rgba(16, 42, 73, 0.09);
}

.password-btn-primary {
	border: 1px solid #1d4ed8;
	background: #1d4ed8;
	color: #ffffff;
}

.password-btn-secondary {
	border: 1px solid #b6c7e7;
	background: #ffffff;
	color: #21427d;
}

.password-btn-primary:hover,
.password-btn-secondary:hover {
	background: #1742b8;
	color: #ffffff;
	border-color: #1742b8;
}

@media (max-width: 767px) {
	.password-title {
		font-size: 1.5rem;
		margin-bottom: 10px;
	}

	.password-card {
		padding: 14px;
		border-radius: 14px;
	}

	.password-input,
	.password-actions .btn {
		font-size: 0.82rem;
	}
}
