/* Schedule Showing popup — South palette (bronze / ink / sand). Scoped so other modals are unchanged. */
#appCommonModal:has(#showing-form) .modal-content,
#appCommonModal.resxm-showing-modal .modal-content {
	border: 1px solid #e7dcc8;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(42, 35, 28, 0.22);
	font-family: "Open Sans", sans-serif;
}
#appCommonModal:has(#showing-form) .modal-header,
#appCommonModal.resxm-showing-modal .modal-header {
	display: flex;
	align-items: center;
	background-color: #2a231c;
	border-bottom: 1px solid #947054;
	border-radius: 0;
	padding: 14px 20px;
}
#appCommonModal:has(#showing-form) .modal-title,
#appCommonModal.resxm-showing-modal .modal-title {
	color: #fff;
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: 0.01em;
	margin: 0;
	flex: 1;
}
#appCommonModal:has(#showing-form) .modal-header .close,
#appCommonModal.resxm-showing-modal .modal-header .close {
	background: transparent;
	color: #f7f3ee;
	opacity: 0.9;
	border: 0;
	border-radius: 8px;
	top: auto;
	right: auto;
	position: relative;
	line-height: 1;
	font-size: 1.7rem;
	font-weight: 400;
	padding: 2px 8px;
	margin: 0;
	text-shadow: none;
}
#appCommonModal:has(#showing-form) .modal-header .close:hover,
#appCommonModal:has(#showing-form) .modal-header .close:focus,
#appCommonModal.resxm-showing-modal .modal-header .close:hover,
#appCommonModal.resxm-showing-modal .modal-header .close:focus {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	opacity: 1;
}
#appCommonModal:has(#showing-form) .modal-body,
#appCommonModal.resxm-showing-modal .modal-body {
	padding: 18px 22px 8px;
	background: #fff;
}
#appCommonModal:has(#showing-form) .modal-footer,
#appCommonModal.resxm-showing-modal .modal-footer {
	border-top: 1px solid #e7dcc8;
	background: #f7f3ee;
	padding: 12px 22px;
}
#appCommonModal:has(#showing-form) .modal-footer .btn,
#appCommonModal:has(#showing-form) .modal-footer .btn-default,
#appCommonModal.resxm-showing-modal .modal-footer .btn,
#appCommonModal.resxm-showing-modal .modal-footer .btn-default {
	background: var(--resxm-btn-secondary-bg, #fff);
	border: 1px solid var(--resxm-btn-secondary-border, #e7dcc8);
	color: var(--resxm-btn-secondary-color, #2a231c);
	border-radius: var(--resxm-btn-radius, 8px);
	font-weight: var(--resxm-btn-font-weight, 600);
	font-size: 0.9rem;
	padding: 8px 16px;
	height: auto;
	min-width: 0;
	line-height: var(--resxm-btn-line-height, 1.3);
	box-shadow: none;
	text-transform: none;
}
#appCommonModal:has(#showing-form) .modal-footer .btn:hover,
#appCommonModal:has(#showing-form) .modal-footer .btn:focus,
#appCommonModal.resxm-showing-modal .modal-footer .btn:hover,
#appCommonModal.resxm-showing-modal .modal-footer .btn:focus {
	background: var(--resxm-btn-secondary-hover-bg, #f3eee8);
	border-color: var(--resxm-btn-secondary-hover-border, #947054);
	color: var(--resxm-btn-secondary-hover-color, #2a231c);
}

#showing-form {
	color: #2a231c;
}
#showing-form .showing-form-hint {
	font-size: 0.8rem;
	font-weight: 400;
	color: #64584a;
	margin-bottom: 12px;
}
#showing-form .form-group {
	font-size: 0.95rem;
	line-height: 1.4;
	margin-bottom: 14px;
	color: #2a231c;
	font-weight: 600;
}
#showing-form .form-control {
	display: block;
	width: 100%;
	height: 42px;
	border: 1px solid #e7dcc8;
	border-radius: 8px;
	color: #2a231c;
	font-size: 0.95rem;
	font-weight: 400;
	margin-top: 6px;
	margin-bottom: 0;
	padding: 8px 12px;
	background: #fff;
	box-shadow: none;
}
#showing-form .form-control:focus {
	border-color: #947054;
	box-shadow: 0 0 0 3px rgba(148, 112, 84, 0.18);
	outline: 0;
}
#showing-form .form-control::placeholder {
	color: #64584a;
	opacity: 1;
	font-style: normal;
}
/* Tone down the existing inline validation colors (keep errors visible, not loud). */
#showing-form .form-control[style*="#dc3545"],
#showing-form .form-control[style*="#fff5f5"],
#showing-form .form-control[style*="rgb(220, 53, 69)"] {
	background-color: #f8eee8 !important;
	border-color: #a15c4a !important;
}
#showing-form .showing-form-actions {
	padding: 4px 0 8px;
	margin: 0;
}
#showing-form .btn.south-btn,
#showing-form .btn-form {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	height: auto;
	min-height: var(--resxm-btn-min-height, 48px);
	line-height: var(--resxm-btn-line-height, 1.3);
	padding: var(--resxm-btn-padding, 12px 18px);
	margin: 0;
	border: 1px solid var(--resxm-btn-border, #947054);
	border-radius: var(--resxm-btn-radius, 8px);
	background-color: var(--resxm-btn-bg, #947054);
	color: var(--resxm-btn-color, #fff);
	font-size: var(--resxm-btn-font-size, 0.95rem);
	font-weight: var(--resxm-btn-font-weight, 600);
	letter-spacing: var(--resxm-btn-letter-spacing, 0.04em);
	text-transform: none;
	box-shadow: var(--resxm-btn-shadow, none);
}
#showing-form .btn.south-btn:hover,
#showing-form .btn.south-btn:focus,
#showing-form .btn-form:hover,
#showing-form .btn-form:focus {
	background-color: var(--resxm-btn-hover-bg, #2a231c);
	border-color: var(--resxm-btn-hover-border, #2a231c);
	color: var(--resxm-btn-hover-color, #fff);
}
#showing-form .btn .btn-spiner-wait {
	display: inline-block;
}
