.collapsible_content {
	max-height: 100%;
	opacity: 100%;
	clear: both;
	overflow: hidden;
	transition: max-height opacity .5s ease-out;
}

.bullet {
	color: #555555;
	list-style-position: outside;
	list-style-type: disc;
	display: list-item;
	margin-left: 20px;
}

.indent {
	margin-left: 20px;
}

.right-align {
	position: absolute;
	/*text-align: right;*/
	right: 0;
}

/* Note: .btn_profile styling moved to consolidated theme-aware button system below */

.btn_profile_sup {
	font-size: .75rem;
	font-family: 'Helvetica Neue';
	font-stretch: normal;
	color: #888;
	text-align: center;
	overflow: hidden;
	margin-left: -10px;
	white-space: nowrap;
	min-width: 140px;
	width: auto;
	height: 1.5em;
	display: block;
}

form-control {
	font-size: 11pt;
}

card-body {
	padding: 0%;
}

.hdg_larger {
	font-size: 1.25rem;
	font-weight: 600;
}

.hdg_large {
	font-size: 1rem;
	font-weight: 600;
}


.hdg_medium {
	font-size: .85rem;
	font-weight: 600;
}

.fieldElement {
	width: 100%;
	float: left;
}

.required {
	color: #a00;
}

.sec_errMsg {
	float: right;
	text-align: right;
	color: #f00;
	position: relative;
	left: 30px;
	margin-right: 10px;
	opacity: 0%;
	margin-top: 9px;
	font-size: 11pt;
	transition: opacity .7s;
}

.sec_errMsg_status {
	opacity: 100%;
}

.sec_ok_icon {
	float: right;
	padding: 0px, 0px, 0px, 0px;
	margin: 4px 2px 0px 2px;
	position: relative;
	z-index: 1;
	/* Ensure icon is above error icon layer */
	width: 18px;
	top: -5px;
	left: 62px;
	rotate: +90deg;
	opacity: 100%;
	transition: left .5s, rotate .5s, opacity .5s, transform .5s;
}

.sec_ok_icon_status {
	top: -5px;
	left: 28px;
	rotate: 0deg;
	opacity: 100%;
}

.sec_err_icon {
	float: right;
	padding: 0px, 0px, 0px, 0px;
	margin: 4px 2px 0px 2px;
	position: relative;
	z-index: 0;
	/* Ensure icon is on bottom layer below field */
	width: 25px;
	top: -5px;
	left: 28px;
	rotate: +90deg;
	opacity: 100%;
	transition: left .5s, rotate .5s, opacity .5s, transform .5s;
}

.sec_err_icon_status {
	top: -5px;
	left: 0px;
	rotate: 0deg;
	opacity: 100%;
}

.fld_col {
	/* Contains field label and field */
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

.prompt-col {
	float: left;
	clear: both;
	text-align: left;
	margin: 0px 0px 0px 0px;
	padding: 16px 8px 0px 0px;
	line-height: 110%;
	font-size: 85%;
	font-weight: bold;
}

.input-col {
	height: auto;
	margin: 0px 0px 0px 0px;
	/* bottom margin prevents Select field from contacting input below */
	padding-right: 0px;
}

.input_field {
	float: left;
	/*padding: 0px, 0px, 0px, 0px;*/
	font-size: 11pt;
}


.required_astrsk {
	position: relative;
	display: inline-block;
	z-index: 1;
	color: red;
	left: -36px;
	top: 10px
}

.fld_err_icon {
	z-index: 0;
	float: left;
	position: relative;
	width: 23px;
	top: 20px;
	left: -24px;
	rotate: -90deg;
	opacity: 0%;
	transition: left .5s, rotate .5s, opacity .5s, transform .5s;
}

.fld_err_icon_status {
	top: 20px;
	left: 6px;
	rotate: 0deg;
	opacity: 100%;
}

.errMsg {
	display: inline-block;
	text-align: left;
	/*min-width: 100px;
	max-width: 500px;*/
	width: auto;
	color: red;
	position: relative;
	opacity: 0%;
	margin: 0px 0px 4px 2px;
	padding: 0px 12px 8px 0px;
	font-size: 10.5pt;
	line-height: 110%;
	transition: height .5s, opacity .7s, transform .5s;
}

.errorExplan {
	color: red;
	font-size: 10pt;
}

/* .error {  // Use .errorExcplan instead
	color: red;
	max-width: 100%;
	box-sizing: border-box;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
 */
.success {
	color: rgb(2, 160, 2);
}

.errMsg_status {
	top: 3px;
	height: auto;
	opacity: 100%;
}

.error_div {
	background-color: #f8d7da;
	border-style: solid;
	border-color: #b30000;
	border-width: 15px;
	border-radius: 5px;
}

.hlp_msg {
	font-size: 10pt;
}

.table_1 {
	border-top-style: groove;
	border-top: 1px solid #888;
	border-bottom-style: groove;
	border-bottom: 1px solid #888;
}

.btn_small {
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin-right: 12px;
	padding: .3rem .8rem;
	background-color: #fff;
	border-color: #ddd;
	outline-color: #ddd;
	border-radius: 5px;
}

.btn_small {
	font-size: .9rem;
}

.btn_small:focus {
	outline-color: #666;
}

th,
td {
	font-size: 13;
	border-bottom-style: groove;
	border-bottom: 1px solid #ccc;
	padding-top: 5px;
	padding-bottom: 8px;
}

/*.textarea {
	max-width: 500px;
}*/

.cf_size_tiny {
	min-width: 30px;
	max-width: 50px;
}

.cf_size_smallest {
	min-width: 40px;
	max-width: 70px;
}

.cf_size_smaller {
	min-width: 55px;
	max-width: 90px;
}

.cf_size_small {
	min-width: 80px;
	max-width: 130px;
}

.cf_size_medium {
	min-width: 110px;
	max-width: 250px;
}

.cf_size_large {
	min-width: 250px;
	max-width: 375px;
}

.cf_size_larger {
	min-width: 300px;
	max-width: 800px;
}

.cf_size_largest {
	width: 100%;
	/*height: 2rem;*/
	overflow: scroll;
	min-width: 400px;
	/*max-width: 1000px;*/
}

.cf_field_comments {
	font-size: 11pt;
	color: #000;
}

.CAccordionHeader {
	margin-bottom: -20px;
	background-color: rgb(255, 255, 255);
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
	padding: 0px;
}

.tooltip-container {
	width: 100%;
	position: relative;
	display: inline-block;
}

.tooltip-text {
	visibility: hidden;
	width: auto;
	/*width: 200px;*/
	/*max-width: 450px !important;
	min-width: 200px !important;*/
	background-color: #f9f9f9;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
	font-size: 0.85rem;
	line-height: 1.2;
	color: #333;
	text-align: center;
	border-radius: 6px;
	padding: 5px;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -100px;
	opacity: 0;
	transition: opacity 0.3s;
	transition-delay: 0.5s;
	border: 1px solid #333;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.tooltip-container:hover .tooltip-text {
	z-index: 2;
	visibility: visible;
	opacity: .9;
}

.tooltip .tooltip-inner {
	max-width: 450px !important;
	min-width: 200px !important;
	background-color: #ffffffdd;
	box-shadow: 3px 3px 3px #aaa;
	border-style: solid;
	border-color: #333;
	border-width: 1px;
	border-radius: 5px;
	color: #333;
	line-height: 1.2;
}

/* From Uiverse.io by Amine-maker */
.floating-label {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: #888;
	font-weight: 600;
	position: absolute;
	top: 12px;
	left: 8px;
	transform: scale(1) translateY(0);
	transform-origin: left top;
	opacity: 1;
	pointer-events: none;
	border-radius: 3px;
	background: transparent;
	z-index: 2;
}

.input-base {
	border-radius: 5px;
}

/* Animated label states */
.input-base:focus ~ .floating-label,
.input-base:not(:placeholder-shown) ~ .floating-label,
.input-base.has-value ~ .floating-label {
	/* Ensure label is above icon */
	z-index: 3;
	top: -8px;
	left: 5px;
	transform: scale(0.75) translateY(0);
	background: white;
	color: #004095;
	padding: 2px 4px;
	opacity: 1;
}

.input-base,
textarea {
	transition: outline 0.2s ease;
	font-size: 1rem;
	outline-color: var(--button-text);
	outline: unset;
	border: 1px solid #bbbbbb;
	padding: 12px 8px 6px 8px;
	width: 100%;
}

.input-base:focus,
textarea:focus {
	box-shadow: 0 0 0 1px #e8e8e8, 0 0 0 3px rgb(100, 100, 100);
}

.input-base:disabled {
	color: #888;
}

.input-base:disabled ~ .floating-label {
	color: #888;
}

textarea:hover {
	box-shadow: 0 0 0 1px #eee, 0 0 0 3px rgb(100, 100, 100);
}

.relative {
	position: relative;
}

.hidden {
	display: none !important;
}

/* Ensure publish page is visible when not hidden */
#page_publish:not(.hidden) {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	max-height: none !important;
}

.modal-content {
	border-radius: 15px;
}

.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	/*z-index: 100;*/
	z-index: 199;
}

.dialog-buttons-left {
	clear: left;
	float: left;
	padding-left: 10px;
	/*text-align: left;*/
	/*margin-right: auto;*/
	display: flex;
	align-items: center;
}

.dialog-buttons-right {
	clear: right;
	float: right;
	padding-right: 10px;
	/*text-align: right;*/
	display: flex;
	align-items: center;
	/*gap: 8px;*/
}

.dialog-button {
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin-left: 10px;
	margin-right: 12px;
	padding: .3rem .8rem;
	font-size: 1rem;
	white-space: nowrap;
	background-color: #007bff;
	color: white;
	border: solid 1px #0056b3;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dialog-button-left {
	text-align: left;
}

.dialog-buttons-left button, .dialog-buttons-right button {
	margin-left: 10px;
	background-color: #f8f8f8;
	color: black;
	padding: 6px 8px;
	border: solid 1px #444;
	border-radius: 5px;
	cursor: pointer;
}

.dialog-button:hover {
	background-color: #357abd; /* One shade darker than default blue, but still readable */
	border-color: #357abd;
	color: white;
}

.dialog-button:focus {
	outline: 2px solid #dbe7f0;
	background-color: #357abd;
	border-color: #357abd;
	color: white;
}

button.button-default {
	background-color: #C7DFFC;
	border: solid 1px #000;
}

.modal-dialog {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	max-width: 600px;
}

.non-modal-dialog {
	position: absolute !important;
	resize: both !important;
	overflow: auto !important;
	min-width: 400px !important;
	min-height: 300px !important;
	max-height: 90vh !important;
	border: 1px solid #444 !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
	background-color: white !important;
    display: flex !important;
    flex-direction: column !important;
    /* Initial positioning will be handled by JavaScript */
    border-radius: 11px 11px 3px 11px !important;
}

/* Hide the large webkit resizer but keep resize functionality */
.non-modal-dialog::-webkit-resizer {
    display: none !important;
}

/* Custom smaller resize handle */
.non-modal-dialog::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 15px;
	height: 15px;
	background: linear-gradient(135deg, transparent 50%, #183F71 50%, #183F71 60%, transparent 60%, transparent 70%, #183F71 70%, #183F71 80%, transparent 80%, transparent 90%, #183F71 90%, #183F71 100%);
	pointer-events: none;
	/* Allow clicks to pass through to the actual resize area */
}

/* Make content fit the dialog */
.file-browser-dialog {
	width: 100% !important;
	max-height: calc(100% - 100px) !important;
	/* Account for header and footer */
	overflow: auto !important;
}

.dialog-header {
	padding: 8px 12px;
	cursor: move;
	/* background-color and border-bottom color removed - now handled by theme system in profiler_form.php */
	border-bottom: 1px solid;
	border-radius: 11px 11px 0px 0px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 0 0 auto;
}

.modal-body {
	flex: 1 1 auto;
	overflow: auto !important;
	min-height: 100px !important;
	padding: 12px 12px 4px 12px !important;
}

.modal-body > *:last-child {
	margin-bottom: 0 !important;
}

/* Ensure container of file browser uses full height */
.modal-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Alerts scroll their message, not the header and action footer. */
.modal[data-alert-dialog="true"] {
	overflow: hidden !important;
}

.modal[data-alert-dialog="true"] .modal-dialog {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 8px) !important;
	max-height: calc(100dvh - 8px) !important;
	overflow: hidden !important;
}

.modal[data-alert-dialog="true"] .modal-content {
	height: auto;
	min-height: 0;
	max-height: calc(100vh - 8px);
	max-height: calc(100dvh - 8px);
	overflow: hidden !important;
}

.modal[data-alert-dialog="true"] .modal-header,
.modal[data-alert-dialog="true"] .modal-footer {
	flex: 0 0 auto;
}

.modal[data-alert-dialog="true"] .modal-body {
	min-height: 0 !important;
	overflow: auto !important;
	overscroll-behavior: contain;
	overflow-wrap: anywhere;
}

/* Modal and dialog footer styling */
.modal-footer,
.dialog-footer {
	padding: 6px 12px 10px 12px;
	text-align: right;
	background-color: #f4f4f4;
	border-top: 1px solid #ddd;
    flex: 0 0 auto;
    margin-top: auto;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
}

/* When there are both left and right buttons, use space-between */
.modal-footer:has(.dialog-buttons-left),
.dialog-footer:has(.dialog-buttons-left) {
    justify-content: space-between !important;
}

/* Specific styling for non-modal dialog footers */
.non-modal-dialog .modal-footer,
.non-modal-dialog .dialog-footer {
	border-radius: 0px 0px 3px 11px !important;
}

.close-button {
	position: absolute;
	top: 6px;
	right: 15px;
	font-size: 25px;
	cursor: pointer;
	outline: none;
	border: none;
	z-index: 4;
}

.file-browser-dialog {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.browse-table {
	width: 100% !important;
	/*table-layout: fixed !important;*/
}

.browse-table td {
	word-wrap: break-word !important;
	overflow-wrap: break-word !important;
}

.progress-button {
	float:left;
	background: none;
	padding-bottom: 10px;
	border: none;
	outline: none;
	transition: transform 0.3s ease;
}

.progress-button:hover {
	border: none;
	outline: none;
	transform: scale(1.07);
}
.progress-button:focus {
	border: none;
	outline: none;
}
.progress-icon-div {
	float: left;
}
.progress-img {
	width: 180px;
	position: relative;
}

.progress-img.disabled {
	opacity: 0.3 !important;
	filter: grayscale(80%) !important;
	cursor: not-allowed !important;
	transition: opacity 0.3s ease, filter 0.3s ease !important;
}

.pub-container {	/* Container for publication list */
	margin: 0px 0px 25px 0px;
	padding-bottom: 0px;
	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	grid-template-areas:
		'header header'
		'left main'
		'left legal';
	/*gap: 10px;*/
	background-color: white;
	border-bottom: #183F71 solid 1px;
}

.pub-container > div {
	/*padding: 10px;*/
	padding: 8px 8px;
	/*font-size: 1rem;
	font-weight: 400;*/
}

.pub-header {
	grid-area: header;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: 'title actions' 'subtitle actions' 'author author';
	gap: 4px 10px;
	color: white;
	/*margin: 0px 0px 10px 0px;*/
	padding: 0px 0px;
	background-color: #183F71;
	border-radius: 5px;
}

.pub-author {
	grid-area: author;
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: right;
	font-size: .8rem;
	font-weight: 400;
	font-style: italic;
	/*color: white;*/
	padding: 0px 0px;
}

.pub-actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	text-align: right;
	align-self: start;
}

.pub-actions label {
	margin: 0;
	font-size: .8rem;
	white-space: nowrap;
}

.pub-actions .dialog-button.publication-create-button,
.pub-actions .dialog-button.publication-download-button {
	background: var(--btn-bg, #e8eef7) !important;
	color: var(--btn-text, #183F71) !important;
	border: 1px solid var(--btn-text, #183F71);
	margin: 0;
	padding: 4px 8px;
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.25;
	display: inline-block;
	text-decoration: none;
	white-space: nowrap;
}

.pub-actions .dialog-button.publication-create-button:hover:not(:disabled),
.pub-actions .dialog-button.publication-create-button:focus-visible,
.pub-actions .dialog-button.publication-download-button:hover,
.pub-actions .dialog-button.publication-download-button:focus-visible {
	background: var(--btn-hover-bg, #7fbbff) !important;
	color: var(--btn-text, #183F71) !important;
}

.pub-title {
	width:auto;
	grid-area: title;
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 1.25rem;
	line-height: 1.2;
	font-weight: 600;
	/*color: white;*/
	margin: 0px 0px;
	padding: 0px 0px 5px 0px;
}

.pub-subtitle {
	width: auto;
	grid-area: subtitle;
	min-width: 0;
	overflow-wrap: anywhere;
	font-size: 1rem;
	line-height: 1.25;
	font-weight: 600;
	/*color: white;*/
	margin: 0;
	padding: 0px 0px;
}

@media (max-width: 1199px) {
	.b-container.create-documents-layout {
		margin: 0 15px;
	}
}

@media (max-width: 767px) {
	.b-container.create-documents-layout {
		margin: 0 5px;
	}

	.pub-header {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: 'actions' 'title' 'subtitle' 'author';
	}
}

.pub-examples {
	grid-area: left;
	width: 55px;
	height: 90%;
	margin: 5px 5px 5px 0px;
	/*padding: 4px,0px;*/
	text-align: center;
	color: black;
	border-right: 1px dotted #183F71;
}

.pub-example {
	width: 35px;
	padding: 4px 0px;
}

.pub-examples-label {
	font-size: 7pt;
	font-weight: 600;
	font-kerning: auto;
	font-stretch: condensed;
	padding-top: 0px;
	padding-bottom: 6px;
	/*line-height: 1.2rem;*/
	text-align: center;
}

.pub-description {
	grid-area: main;
	font-size: .9rem;
	font-weight: 400;
	color: black;
	margin: 0px 0px;
	padding: 0px 0px;
	border-bottom: 1px dotted #183F71;
}

.pub-legal {
	grid-area: legal;
	font-size: .7rem;
	font-weight: 400;
	line-height: 1.1rem;
}

.normal-mode .pub-description {
	display: flow-root;
}

.normal-mode .pub-cover-thumbnail {
	float: left;
	width: 100px;
	max-width: 100%;
	height: auto;
	margin: 0 14px 10px 0;
	background: white;
	border: 1px solid #d0d7e0;
	box-shadow: 4px 6px 5px rgba(0, 0, 0, .14);
}

.invisible_record {
	display: none;
	height: 0px;
	opacity: 0%;
}

/* For table of publications for which markdown has been produced and ready to puboish */
.publish-table-background {
	padding: 0px 20px 15px 15px;
	overflow-x:auto; border-radius: 8px; background-color: #183F71;
}

.publish-table {
	width: 100%;
	background-color: #fff;
}

/* Editor dropdown styles */

.file-menu {
	position: relative;
	display: inline-block;
	/*margin: 0px 5px;*/
	/*padding: 0 5% 10px 5%;*/
	/*padding: 6px 10px;*/
	z-index: 20;
}

.file-menu-button {
	background-color: #e8f2ff; /* lightest_norm theme color to match dialog buttons */
	color: #1e3a5f; /* dark_norm for text contrast */
	border: solid 1px #1e3a5f !important;
	border-radius: 4px;
	margin: 0px 3px;
	padding: 6px 10px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.file-menu-button:hover {
	background-color: #7fbbffff; /* light_norm theme color on hover */
	border-color: #1e3a5f;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.editor-btn {
	background-color: #e8f2ff; /* lightest_norm theme color to match dialog buttons */
	color: #1e3a5f; /* dark_norm for text contrast */
	border: solid 1px #1e3a5f !important;
	margin: 5px 3px;
	padding: 1px 3px;
	font-size: 14px;
	cursor: pointer;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.editor-btn:hover {
	background-color: #7fbbffff; /* light_norm theme color on hover */
	border-color: #1e3a5f;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Working animation styles */
.working-animation {
	display: none;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	/*font-size: 14px;*/
	color: #666;
}

.working-animation.show {
	display: flex;
}

/* .spinner {
	border: 2px solid #f3f3f3;
	border-top: 2px solid #3498db;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}
 */
/* Download button styles */
.download-button {
	margin-left: 10px;
}

.download-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@keyframes pulse {
	0% {
		background-color: #C7DFFC;
	}

	50% {
		background-color: lightgreen;
	}

	100% {
		background-color: #C7DFFC;
	}
}

.pulse-button {
	animation: pulse .5s 6;
}

/* Small */
@media (max-width: 559px) {

	.progress-img {
		width: 150px;
	}

	.b-container {
		margin: 0px 10px;
	}

}

/* to Small Tablets */
/*@media (min-width: 560px) and (max-width: 767px) {*/
@media (min-width: 560px) and (max-width: 767px) {

	.progress-img {
		width: 170px;
	}

	.b-container {
		margin: 0px 50px;
	}

}

/* Small Desktops */
@media (min-width: 768px) {

	.progress-img {
		width: 200px;
	}

	.b-container {
		margin: 0px 100px;
	}
}

@media print {
	/* Don't display links when print */
	a[href]:after {
		display: none;
		visibility: hidden;
	}
}

/* =================================================================
   CONSOLIDATED THEME-AWARE BUTTON SYSTEM
   ================================================================= */

/* CSS Custom Properties for Theme Variables */
:root {
    /* Theme-aware button variables for .btn-primary/.btn-theme classes */
    --btn-default-bg: #007bff;
    --btn-default-hover: #0056b3;
}

/* Unified Button Spacing and Transitions */
.dialog-button,
.btn_profile,
.btn-primary,
.btn-theme {
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

/* Unified Dialog Button Class */
.dialog-button {
    text-align: center;
    margin-left: 10px;
    margin-right: 12px;
    padding: .3rem .8rem;
    font-size: 1rem;
    white-space: nowrap;
    border-radius: 5px;
    border: 1px solid;
}

/* Standard Button Styling */
.dialog-button:not(.button-default) {
    background-color: #e8f2ff; /* lightest_norm theme color */
    color: #1e3a5f; /* dark_norm for text contrast */
    border-color: #1e3a5f;
}

.dialog-button:not(.button-default):hover {
    background-color: #7fbbffff; /* light_norm theme color on hover */
    border-color: #1e3a5f;
    color: #1e3a5f;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dialog-button:not(.button-default):focus {
    background-color: #7fbbffff; /* light_norm theme color on focus */
    border-color: #1e3a5f;
    color: #1e3a5f;
    outline: 2px solid rgba(0, 123, 255, 0.3);
}

/* Default/Primary Button Styling */
.dialog-button.button-default,
button.button-default {
    background-color: var(--btn-default-bg);
    color: white;
    border-color: var(--btn-default-bg);
    font-weight: 600;
}

.dialog-button.button-default:hover,
button.button-default:hover {
    background-color: var(--btn-default-hover);
    border-color: var(--btn-default-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dialog-button.button-default:focus,
button.button-default:focus {
    background-color: var(--btn-default-hover);
    border-color: var(--btn-default-hover);
    outline: 2px solid rgba(0, 123, 255, 0.3);
}

/* Theme-Aware Profile Button System */
.btn_profile {
    float: left;
    z-index: 0;
    padding: 0px 4px 10px 5px;
    text-align: center;
    min-width: 120px;
    box-sizing: border-box;
    /* Inherits transition from unified system above */
}

/* Theme-aware styling for .btn_profile when used with .dialog-button class */
.btn_profile.dialog-button {
    background-color: #e8f2ff; /* lightest_norm theme color */
    color: #1e3a5f; /* dark_norm for text contrast */
    border: 1px solid #1e3a5f;
    border-radius: 5px;
    padding: .3rem .8rem;
    font-size: 1rem;
}

.btn_profile.dialog-button:hover {
    background-color: #7fbbffff; /* light_norm theme color on hover */
    border-color: #1e3a5f;
    color: #1e3a5f;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn_profile.dialog-button:focus {
    background-color: #7fbbffff; /* light_norm theme color on focus */
    border-color: #1e3a5f;
    color: #1e3a5f;
    outline: 2px solid rgba(0, 123, 255, 0.3);
}

/* Theme-Aware Button Classes */
.btn-primary,
.btn-theme {
    background-color: var(--btn-default-bg);
    border-color: var(--btn-default-bg);
    color: white;
    padding: .375rem .75rem;
    border-radius: 5px;
    /* Inherits transition from unified system above */
}

.btn-primary:hover,
.btn-theme:hover {
    background-color: var(--btn-default-hover);
    border-color: var(--btn-default-hover);
    transform: translateY(-1px);
}
