/* ==========================================================
   AISSMSCOE – account popups: Search history (#searchHistoryModal),
   Your comments (#yourCommentsModal), reader comments (#yourCommentstoDisplayModal) and the
   notifications inbox (#shareResourceReciverModal, upgraded by a script at the end of commonfooterscripts).
   Ported from MMA-IITBBS (iit-pages.css, itself from the Azim/IMTG popups) and
   re-tokened to the AISSMSCOE palette: IIT slate -> blue, IIT sky -> AISSMS red.
   Markup lives in partials/commonfooterscripts.html; lists are built in js/app.js.
   ========================================================== */

/* ---------- Shared buttons ---------- */
.ix-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-family: var(--exim-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.ix-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}
.ix-btn-primary {
	background: var(--exim-blue);
	color: #fff;
}
.ix-btn-primary:hover,
.ix-btn-primary:focus {
	background: var(--exim-blue-dark);
	color: #fff;
	text-decoration: none;
}
.ix-btn-ghost {
	background: transparent;
	color: var(--exim-blue);
	border-color: rgba(27, 37, 54,  0.35);
}
.ix-btn-ghost:hover,
.ix-btn-ghost:focus {
	background: var(--exim-gold-soft);
	color: var(--exim-blue-dark);
	border-color: var(--exim-blue);
	text-decoration: none;
}
.ix-btn-gold {
	background: var(--exim-gold);
	color: var(--exim-blue-deep);
}
.ix-btn-gold:hover,
.ix-btn-gold:focus {
	background: #e8474d;
	color: var(--exim-blue-deep);
	text-decoration: none;
}
.ix-btn:focus-visible,
.ix-link:focus-visible {
	outline: 2px solid var(--exim-gold);
	outline-offset: 2px;
}

.ix-link {
	color: var(--exim-blue);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(245, 165, 36,  0.7);
	padding-bottom: 1px;
}
.ix-link:hover {
	color: var(--exim-blue-dark);
	border-bottom-color: var(--exim-blue);
	text-decoration: none;
}

/* Small caps label used across the site */
.ix-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--exim-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--exim-gold-dark);
}
.ix-kicker::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--exim-gold);
}





/* Shared action buttons */
.ix-item-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ix-act {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 11px;
	border: 1px solid var(--exim-line);
	border-radius: 6px;
	background: #fff;
	color: var(--exim-blue);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ix-act svg {
	width: 15px;
	height: 15px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ix-act:hover {
	border-color: var(--exim-blue);
	background: var(--exim-gold-soft);
	color: var(--exim-blue-deep);
	text-decoration: none;
}
.ix-act:focus-visible {
	outline: 2px solid var(--exim-gold);
	outline-offset: 2px;
}
.ix-act-primary {
	border-color: var(--exim-blue);
	background: var(--exim-blue);
	color: #fff;
}
.ix-act-primary:hover {
	background: var(--exim-blue-dark);
	color: #fff;
}
.ix-act-danger {
	color: #b42318;
}
.ix-act-danger:hover {
	border-color: #f4c7c3;
	background: #fef3f2;
	color: #b42318;
}



/* ==========================================================================
   Comments popups (#yourCommentsModal, #yourCommentstoDisplayModal)
   ========================================================================== */
.ix-comments-dialog {
	max-width: 960px;
}
.ix-comments-dialog--wall {
	max-width: 680px;
}
.ix-comments-modal .modal-content {
	overflow: hidden;
	border: 0;
	border-top: 4px solid var(--exim-blue);
	background: #fff;
}
.ix-comments-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	min-height: 520px;
	margin: 0;
}
.ix-comments-modal h2 {
	margin: 10px 0 8px;
	font-family: var(--exim-sans);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	color: var(--exim-blue-deep);
}
/* Left: writing pad */
.ix-comments-write {
	display: flex;
	flex-direction: column;
	padding: 36px 36px 32px;
}
.ix-comments-lede {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--exim-muted);
}
.ix-comments-modal .ix-comments-label {
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a7f8f;
}
.ix-comments-pad {
	position: relative;
	flex: 1 1 auto;
	display: flex;
}
.ix-comments-pad textarea {
	flex: 1 1 auto;
	width: 100%;
	min-height: 190px;
	padding: 16px 18px 34px 22px;
	border: 1px solid var(--exim-line);
	border-left: 3px solid var(--exim-gold);
	border-radius: 6px;
	background:
		repeating-linear-gradient(transparent 0 31px, rgba(27, 37, 54,  0.08) 31px 32px) 0 15px / 100% 100% local,
		#fff;
	font-family: var(--exim-sans);
	font-size: 18px;
	line-height: 32px;
	color: var(--exim-ink);
	resize: vertical;
	outline: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ix-comments-pad textarea::placeholder {
	font-style: italic;
	color: #7a7f8f;
}
.ix-comments-pad textarea:focus {
	border-color: var(--exim-blue);
	border-left-color: var(--exim-gold);
	box-shadow: 0 0 0 3px rgba(27, 37, 54,  0.1);
}
.ix-comments-count {
	position: absolute;
	right: 12px;
	bottom: 8px;
	font-size: 11.5px;
	color: #7a7f8f;
	pointer-events: none;
}
.ix-comments-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 18px;
	font-size: 13px;
	color: var(--exim-muted);
}
.ix-comments-note svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--exim-gold-dark);
	stroke-width: 2;
	stroke-linecap: round;
}
.ix-comments-modal .ix-comments-submit {
	width: 100%;
	height: 48px;
	border-radius: 6px !important;
	background: var(--exim-blue) !important;
	color: #fff !important;
	border: 0 !important;
}
.ix-comments-modal .ix-comments-submit:hover {
	background: var(--exim-blue-dark) !important;
}
.ix-comments-modal .ix-comments-submit:disabled {
	background: var(--exim-line) !important;
	color: #7a7f8f !important;
	cursor: not-allowed;
}
/* Right: earlier comments */
.ix-comments-history {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 36px 30px 24px;
	background: var(--exim-paper);
	border-left: 1px solid var(--exim-line);
}
.ix-comments-history h3 {
	margin: 0 0 18px;
	padding-right: 30px;
	font-family: var(--exim-sans);
	font-size: 20px;
	font-weight: 600;
	color: var(--exim-blue-deep);
}
.ix-comments-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 13.5px;
	color: var(--exim-muted);
}
.ix-comments-loading[style*="none"] {
	display: none !important;
}
.ix-comments-scroll {
	flex: 1 1 auto;
	max-height: 400px;
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--exim-line) transparent;
}
.ix-comments-loading[style*="none"] + .ix-comments-scroll #commentsConetent:empty::before {
	content: "You haven\2019 t written any comments yet. Your first one will appear here.";
	display: block;
	padding: 40px 18px;
	border: 1px dashed var(--exim-line);
	border-radius: 6px;
	background: #fff;
	text-align: center;
	font-family: var(--exim-sans);
	font-style: italic;
	font-size: 16.5px;
	color: var(--exim-muted);
}
/* Timeline entries (both popups) */
.ix-timeline {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.ix-timeline::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 8px;
	bottom: 8px;
	border-left: 1px dashed rgba(27, 37, 54,  0.25);
}
.ix-comment {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.ix-comment-avatar {
	position: relative;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--exim-blue);
	color: #fff;
	font-family: var(--exim-sans);
	font-size: 17px;
	font-weight: 600;
	box-shadow: 0 0 0 4px var(--exim-paper);
}
.ix-comment-body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px 14px;
	border: 1px solid var(--exim-line);
	border-radius: 2px 10px 10px 10px;
	background: #fff;
}
.ix-comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	margin: 0 0 6px !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	color: var(--exim-muted) !important;
}
.ix-comment-meta b {
	color: var(--exim-blue-deep);
	font-weight: 600;
}
.ix-comment-meta time {
	font-size: 12px;
	color: #7a7f8f;
}
.ix-comment-text {
	margin: 0 !important;
	font-family: var(--exim-sans);
	font-size: 16.5px !important;
	line-height: 1.55 !important;
	color: var(--exim-ink) !important;
	overflow-wrap: anywhere;
	white-space: pre-line;
}
/* Reader comments wall */
.ix-comments-wallhead {
	padding: 32px 36px 18px;
	border-bottom: 1px solid var(--exim-line);
}
.ix-comments-wallhead p {
	margin: 0;
	font-size: 13.5px;
	color: var(--exim-muted);
}
.ix-comments-scroll--wall {
	max-height: 60vh;
	padding: 22px 30px 26px 36px;
	background: var(--exim-paper);
}
.ix-comments-scroll--wall .ix-comment-avatar {
	background: var(--exim-gold);
	color: var(--exim-blue-deep);
}
.ix-comments-empty {
	margin: 0;
	padding: 40px 10px;
	text-align: center;
	font-family: var(--exim-sans);
	font-style: italic;
	font-size: 17px;
	color: var(--exim-muted);
}
@media (max-width: 767.98px) {
	.ix-comments-grid {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}
	.ix-comments-write,
	.ix-comments-history {
		padding: 28px 20px 22px;
	}
	.ix-comments-history {
		border-left: 0;
		border-top: 1px solid var(--exim-line);
	}
	.ix-comments-scroll {
		max-height: 300px;
	}
	.ix-comments-wallhead {
		padding: 26px 20px 16px;
	}
	.ix-comments-scroll--wall {
		padding: 18px 16px 20px 20px;
	}
}
#yourCommentsModal #writecommentId {
	border: 1px solid var(--exim-line) !important;
	border-left: 3px solid var(--exim-gold) !important;
	border-radius: 6px !important;
	background-color: #fff !important;
	box-shadow: none;
}
#yourCommentsModal #writecommentId:focus {
	border-color: var(--exim-blue) !important;
	border-left-color: var(--exim-gold) !important;
	box-shadow: 0 0 0 3px rgba(27, 37, 54,  0.1);
}



#yourCommentsModal #writecommentId {
	border: 1px solid var(--exim-line) !important;
	border-left: 3px solid var(--exim-gold) !important;
	border-radius: 6px !important;
	background-color: #fff !important;
	box-shadow: none;
}
#yourCommentsModal #writecommentId:focus {
	border-color: var(--exim-blue) !important;
	border-left-color: var(--exim-gold) !important;
	box-shadow: 0 0 0 3px rgba(27, 37, 54,  0.1);
}

/* ==========================================================================
   Search history (#searchHistoryModal)
   ========================================================================== */
.ix-history-dialog {
	max-width: 760px;
}
.ix-history-modal .modal-content {
	border: 0;
	border-top: 4px solid var(--exim-blue);
	overflow: hidden;
}
.ix-history-form {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 3.5rem);
	margin: 0;
}
.ix-history-head {
	position: relative;
	padding: 26px 30px 18px;
	border-bottom: 1px solid var(--exim-line);
	background: #fff;
}
.ix-history-head h2 {
	margin: 8px 0 4px;
	font-family: var(--exim-sans);
	font-size: 28px;
	font-weight: 500;
	color: var(--exim-blue-deep);
}
.ix-history-head p {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--exim-muted);
}
.ix-history-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--exim-line);
	border-radius: 6px;
	background: var(--exim-paper);
}
.ix-history-filter:focus-within {
	border-color: var(--exim-blue);
	box-shadow: 0 0 0 3px rgba(27, 37, 54,  0.1);
}
.ix-history-filter svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--exim-muted);
	stroke-width: 2;
	stroke-linecap: round;
}
.ix-history-filter input {
	flex: 1 1 auto;
	height: 42px;
	border: 0;
	background: transparent;
	font-size: 14.5px;
	outline: 0;
}
.ix-history-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 6px 30px 18px !important;
	background: var(--exim-paper);
}
.ix-history-loading {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 24px 0;
	color: var(--exim-muted);
	font-size: 14px;
}
.ix-history-loading[style*="none"] {
	display: none !important;
}
.ix-history-day {
	margin-top: 18px;
}
.ix-history-day h3 {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0 0 8px;
	padding: 6px 0;
	background: var(--exim-paper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--exim-gold-dark);
}
.ix-history-items {
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--exim-line);
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}
.ix-history-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--exim-line);
}
.ix-history-item:last-child {
	border-bottom: 0;
}
.ix-history-item:hover {
	background: var(--exim-paper);
}
.ix-history-time {
	flex: none;
	width: 44px;
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #7a7f8f;
}
.ix-history-main {
	flex: 1 1 auto;
	min-width: 0;
}
.ix-history-query {
	margin: 0;
	font-family: var(--exim-sans);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--exim-blue-deep);
	overflow-wrap: anywhere;
}
.ix-history-query::before {
	content: "\201C";
	color: var(--exim-gold);
}
.ix-history-query::after {
	content: "\201D";
	color: var(--exim-gold);
}
.ix-history-pub {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: var(--exim-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ix-history-item .ix-act {
	flex: none;
}
.ix-history-nolink {
	flex: none;
	font-size: 12px;
	font-style: italic;
	color: #7a7f8f;
}
.ix-history-empty,
.ix-history-nomatch {
	padding: 40px 12px;
	text-align: center;
	color: var(--exim-muted);
}
.ix-history-empty-title {
	margin: 0 0 4px;
	font-family: var(--exim-sans);
	font-size: 21px;
	color: var(--exim-blue-deep);
}
.ix-history-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 30px;
	border-top: 1px solid var(--exim-line);
	background: #fff;
	font-size: 12.5px;
	color: var(--exim-muted);
}
.ix-history-foot svg {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--exim-gold-dark);
	stroke-width: 2;
	stroke-linecap: round;
}
@media (max-width: 575.98px) {
	.ix-history-head,
	.ix-history-body,
	.ix-history-foot {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	.ix-history-item {
		flex-wrap: wrap;
		gap: 6px 12px;
	}
	.ix-history-item .ix-act,
	.ix-history-nolink {
		margin-left: 56px;
	}
}


/* ---------- AISSMSCOE journal touches ---------- */

.ix-comments-modal .modal-content,
.ix-history-modal .modal-content {
	border-top: 4px solid var(--exim-gold) !important;
	border-radius: 6px !important;
}

.ix-comments-modal h2,
.ix-history-modal h2,
.ix-comments-modal h3 {
	font-family: var(--exim-serif) !important;
	font-weight: 600 !important;
	letter-spacing: -0.005em !important;
}

.ix-comments-modal .ix-comment-text {
	font-family: var(--exim-serif);
	font-size: 15.5px;
	line-height: 1.6;
}


/* ==========================================================================
   Shared with you (#shareResourceReciverModal, upgraded by commonfooterscripts)
   and the message itself (#shareDisplayModal)
   ========================================================================== */
.ix-inbox-modal .modal-dialog {
	max-width: 560px !important;
}
.ix-inbox-modal .modal-content,
#shareDisplayModal .modal-content {
	border: 0 !important;
	border-top: 4px solid var(--exim-blue) !important;
	border-radius: 6px !important;
	overflow: hidden;
}
.ix-inbox-modal .modal-header,
#shareDisplayModal .modal-header {
	position: relative;
	display: block;
	padding: 24px 56px 18px 26px !important;
	border-bottom: 1px solid var(--exim-line);
	background: #fff !important;
	text-align: left;
}
.ix-inbox-modal .modal-title,
#shareDisplayModal .modal-title {
	margin: 0;
	font-family: var(--exim-sans);
	font-size: 26px !important;
	font-weight: 500;
	color: var(--exim-blue-deep) !important;
}
.ix-inbox-count {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--exim-muted);
}
.ix-inbox-modal .modal-body {
	max-height: 60vh;
	overflow-y: auto;
	padding: 8px !important;
	background: var(--exim-paper);
}
.ix-inbox-item {
	position: relative;
	display: flex !important;
	align-items: center;
	gap: 14px;
	margin: 0 0 6px;
	padding: 12px 14px !important;
	border: 1px solid var(--exim-line);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ix-inbox-item:last-child {
	margin-bottom: 0;
}
.ix-inbox-item:hover,
.ix-inbox-item:focus-visible {
	border-color: rgba(27, 37, 54,  0.35);
	box-shadow: 0 1px 2px rgba(11, 47, 85,  0.06);
	outline: 0;
}
.ix-inbox-avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--exim-gold-soft);
	color: var(--exim-gold-dark);
	font-family: var(--exim-sans);
	font-size: 18px;
	font-weight: 600;
}
.ix-inbox-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ix-inbox-title {
	font-family: var(--exim-sans);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--exim-blue-deep);
	overflow-wrap: anywhere;
}
.ix-inbox-meta {
	font-size: 12.5px;
	color: var(--exim-muted);
}
.ix-inbox-modal .ix-inbox-view {
	position: static !important;
	flex: none;
	display: inline-flex !important;
	align-items: center;
	height: 32px;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--exim-line);
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--exim-blue) !important;
	font-size: 13px;
	font-weight: 600;
}
.ix-inbox-modal .ix-inbox-view::before {
	display: none;
}
.ix-inbox-item:hover .ix-inbox-view {
	border-color: var(--exim-blue);
	background: var(--exim-blue) !important;
	color: #fff !important;
}
.ix-inbox-modal .modal-body > div:not(.ix-inbox-item) {
	padding: 40px 16px !important;
	text-align: center;
}
.ix-inbox-modal .modal-body > div:not(.ix-inbox-item) p {
	margin: 0;
	font-family: var(--exim-sans);
	font-style: italic;
	font-size: 17px;
	color: var(--exim-muted) !important;
}
/* The message */
#shareDisplayModal .modal-dialog {
	max-width: 620px !important;
}
#shareDisplayModal .modal-body {
	padding: 0 !important;
	background: var(--exim-paper);
}
#shareDisplayModal .shareContent {
	height: auto !important;
	max-height: 62vh;
	margin: 18px;
	padding: 24px 26px;
	border: 1px solid var(--exim-line);
	border-left: 3px solid var(--exim-gold);
	border-radius: 6px;
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
	color: var(--exim-ink) !important;
}
#shareDisplayModal .shareContent p {
	margin: 0 0 6px;
	color: var(--exim-ink);
}
#shareDisplayModal .shareContent br {
	display: block;
	content: "";
	margin-top: 8px;
}
#shareDisplayModal .shareContent b {
	display: inline-block;
	min-width: 150px;
	font-weight: 600;
	color: var(--exim-muted);
}
#shareDisplayModal .shareContent a {
	color: var(--exim-blue) !important;
	font-weight: 600;
	overflow-wrap: anywhere;
}



/* ---------- Notifications inbox: header + action (AISSMSCOE) ---------- */

.ix-inbox-modal .modal-header {
	position: relative;
	display: block !important;
	padding: 24px 64px 18px 26px !important;
	border-bottom: 1px solid var(--exim-line) !important;
	background: #fff !important;
}

.ix-inbox-modal .modal-header .modal-title {
	font-family: var(--exim-sans);
	font-size: 22px !important;
	font-weight: 600;
	color: var(--exim-ink) !important;
}

.ix-inbox-modal .modal-header .modal-title::before {
	content: "Notifications";
	display: block;
	margin-bottom: 6px;
	font-family: var(--exim-sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--exim-gold-ink);
}

.ix-inbox-modal .modal-header .close {
	position: absolute !important;
	top: 18px !important;
	right: 18px !important;
	margin: 0 !important;
}

.ix-inbox-modal .ix-inbox-view {
	display: inline-flex !important;
	align-items: center;
	height: 32px;
	padding: 0 14px !important;
	border: 1px solid var(--exim-line) !important;
	border-radius: 7px !important;
	background: #fff !important;
	color: var(--exim-blue) !important;
	font-family: var(--exim-sans);
	font-size: 13px !important;
	font-weight: 600;
	top: auto !important;
}

.ix-inbox-modal .ix-inbox-item:hover .ix-inbox-view {
	border-color: var(--exim-gold) !important;
	background: var(--exim-gold-soft) !important;
}

/* close button in the corner (pages-modern pins .close with a :not(#loginModal) selector, so these need IDs too) */
body #shareResourceReciverModal.modal.ix-inbox-modal .modal-header .close,
body #shareDisplayModal.modal .modal-header .close {
	position: absolute !important;
	top: 16px !important;
	right: 16px !important;
	margin: 0 !important;
}

body #shareDisplayModal.modal .modal-header {
	position: relative;
	padding-right: 64px !important;
}

/* journal touches for the inbox and the message view */
.ix-inbox-modal .modal-content,
#shareDisplayModal .modal-content {
	border-top: 4px solid var(--exim-gold) !important;
}

.ix-inbox-modal .modal-header .modal-title,
#shareDisplayModal .modal-title {
	font-family: var(--exim-serif) !important;
	font-weight: 600 !important;
}

.ix-inbox-modal .modal-header .modal-title::before {
	color: var(--exim-gold-dark) !important;
	letter-spacing: 0.2em !important;
}
