@charset "ISO-8859-1";
/* Custom alert and confirmation message dialog CSS START*/
.custom-dlg-bg-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.5);
	backdrop-filter: blur(3px);
	z-index: 1199;
	display: flex;
	flex: 0 0 auto;
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
}

.custom-dlg-bg-overlay .open {
    opacity: 1;
    transform: scale(1);
}

.custom-dlg {
	display: flex;
	position: relative;
	flex-direction: column;
	background: #ffffff;
	z-index: 1200;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
	border-radius: 8px;
	flex: 0 1 auto;
	max-height: calc(100% - 96px);
	max-width: 560px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI",
	    Roboto, Helvetica, Arial, sans-serif;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.custom-dlg-header {
	width: 100%;
	display: block;
	padding: 24px 24px 0 24px;
	box-sizing: border-box;
	border-bottom: 2px solid #e2e8f0;
}

.custom-dlg-header span {
	text-align: left;
	color: #0f172a;
	font-size: 18px;
	display: inline-block;
	line-height: 1.2;
	font-weight: 600;
	padding: 0;
}

.custom-dlg-msg-container {
	width: 100%;
	display: flex;
	padding: 16px 24px 24px 24px;
	box-sizing: border-box;
	overflow: auto
}

.custom-dlg-msg-container .custom-dlg-msg-div {
	font-size: 13px;
	color: #475569;
	max-width: 100%;
	padding: 0;
	
}

.custom-dlg-button-palette {
	padding: 0 24px 24px 24px;
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.custom-dlg-button-palette span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	padding: 8px 16px;
	background: #f1f5f9;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.1s ease-in-out;
	color: #334155;
	cursor: pointer;
	border: none;
}

.custom-dlg-button-palette span:hover {
	background-color: #2166E5;
	color: #ffffff;
	transform: scale(1.02);
}

.custom-dlg-button-palette span:active {
	transform: scale(0.98);
	background-color: #1a55c2;
}

.alert-dlg-img, .confirm-dlg-img {
	display: block;
	flex-shrink: 0;
	margin: 0 16px 0 0;
	height: 36px;
	width: 36px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.alert-dlg-img {
	background-image: url("../../images/info_icons/alert.png?ver=492RC102");
}

.confirm-dlg-img {
	background-image:
	    url("../../images/info_icons/question_mark.png?ver=492RC102");
}
/* Custom alert and confirmation message dialog CSS END*/

/* Auto closing message dialog CSS START*/
#alert-modal-dialog .non-blocking-dlg-close-btn {
	margin-left: 15px;
	position: relative;
	color: #1F293D;
	font-weight: 500;
	right: 3px;
	float: right;
	font-size: 20px;
	line-height: 20px;
	cursor: pointer;
	transition: 0.3s;
	display: none;
}

.non-blocking-dlg-img {
    display: block;
    width: 25px;
    height: 25px;
    background-image: 
        url("../../images/info_icons/mark_icon.png?ver=492RC102");
    background-position: 0px 0px;
    background-size: 25px 25px;
    background-repeat: no-repeat;
}

#alert-modal-dialog .non-blocking-dlg-msg-container:hover .non-blocking-dlg-close-btn
    {
	display: block;
}

#alert-modal-dialog .non-blocking-dlg-msg-container {
	display: none;
	position: absolute;
	background-color: #fefefe;
	left: 70%;
	padding: 10px;
	max-width: 400px;
	width: auto;
	top: 60px;
	font-size: 15px;
	font-family: 'Roboto', Arial, sans-serif;
	min-height: 15px;
	height: auto;
	z-index: 1000000000;
	border-radius: 3px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0
		rgba(0, 0, 0, 0.19);
	-webkit-animation-name: animateMessageBox;
	-webkit-animation-duration: 0.4s;
	animation-name: animateMessageBox;
	animation-duration: 0.4s
}

#alert-modal-dialog .non-blocking-dlg-msg-container div {
	height: 20px;
	width: 20px;
}

#alert-modal-dialog .non-blocking-dlg-msg-container img {
	width: 19px;
	height: 19px;
}

#alert-modal-dialog .non-blocking-dlg-msg-container #message {
	padding-left: 5px;
}

@-webkit-keyframes animateMessageBox {
	from {top: 0px;
	opacity: 0;
}

to {
	top: 60px;
	opacity: 1;
}

}
@keyframes animateMessageBox {
	from {top: 0px;
	opacity: 0;
}

to {
	top: 60px;
	opacity: 1;
}

}

/* Auto closing message dialog CSS END*/

/* Expand and Collapse of fieldset CSS START */
/* ================= FIELDSET / LEGEND ================= */
legend.accordian-legend, legend.list-dialog-accordian-legend {
	width: calc(100% + 8px);
	margin-left: -4px;
	padding: 0;
	background: #ffffff;
	border-radius: 10px 10px 0 0;
	height: 32px;
	cursor: pointer;
	position: sticky;
	top: -12px;
	z-index: 20;
	min-width: 450px;
	display: flex;
	align-items: center;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
	transition: all 0.25s ease;
}

/* Hover subtle lift */
legend.accordian-legend:hover {
	background: #f8fafc;
}

/* ================= ACCORDION HEADER ================= */
.accordian-div {
	position: relative;
	width: 45%;
	height: 30px;
	font-size: 12px;
	font-weight: 500; 
	display: flex;
	align-items: center;
	color: #fff;
	background: linear-gradient(135deg, #1F293D, #273449);
	z-index: 1;
	border-radius: 10px 0 0 0;
	padding-left: 34px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
	transition: all 0.25s ease;
}

/* Hover effect */
.accordian-div:hover {
	filter: brightness(1.05);
}

/* ================= SKEW EDGE (MODERNIZED) ================= */
.accordian-div:after {
	content: "";
	position: absolute;
	top: 0;
	right: -14px;
	width: 30px;
	height: 100%;
	background: linear-gradient(135deg, #1F293D, #273449);
	border-right: 12px solid #f97316; /* softer orange */
	transform: skewX(-25deg);
	box-shadow: 4px 0 10px rgba(0,0,0,0.15);
}

/* ================= TEXT ================= */
.accordian-div a {
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	font-size: 12px;
	letter-spacing: 0.3px;
}

.accordian-div a > strong {
	color: rgba(255,255,255, 0.95) !important;
	font-weight: 600;
}

/* ================= ARROWS (CLEAN VERSION) ================= */
.accordian-right-arrow, .accordian-down-arrow {
	position: absolute;
	left: 12px;
	width: 10px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transition: transform 0.25s ease;
}

/* Right arrow */
.accordian-right-arrow {
	transform: rotate(-45deg);
	top: 10px;
}

/* Down arrow */
.accordian-down-arrow {
	transform: rotate(45deg);
	top: 8px;
}

/* ================= OPTIONAL ACTIVE STATE ================= */
.accordian-div.active {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

.accordian-div.active:after {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	border-right-color: #fb923c;
}
/* Expand and Collapse of fieldset CSS END */
:root {
  --accent: #f57c00;          
  --accent-hover: #e65100;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border-light: #e5e7eb;
  --border-strong: #d1d5db;
  --bg-surface: #ffffff;
  --bg-panel: #f9fafb;
  --radius-sm: 4px;
  --radius-md: 6px;
}

::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background: #9ca3af;
}

.associate-dialog-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;       
  overflow: hidden;
}

.associate-title {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-surface);
}

.associate-content {
  display: flex;
  flex: 1;
  min-height: 0;      
  width: 100%;
  overflow: hidden;
}

.associate-left-pane {
  flex: 0 0 25%;
  height: 450px;
  display: flex;      
  max-width: 25%;
  flex-direction: column;
  background: var(--bg-surface);
  border-right: 2px solid var(--border-strong);
}

.search-left-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  font-size: 13px;
}

.search-header {
  flex: 0 0 auto;     
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-panel);  
  border-bottom: 1px solid var(--border-strong);
  z-index: 10;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-icon {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.search-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

:root {
  /* Blue Theme Colors replacing the orange */
  --accent: #0066cc;        /* Primary Blue */
  --accent-hover: #0052a3;  /* Darker Blue for hover states */
  /* Standard UI variables to ensure the rest of the code works */
  --bg-surface: #ffffff;
  --bg-panel: #f4f6f8;
  --border-light: #e0e0e0;
  --border-strong: #c9c9c9;
  --text-primary: #333333;
  --text-secondary: #666666;
  --radius-sm: 4px;
  --radius-md: 8px;
}

/* Added the missing '.' for this class */
.btn-with-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px !important;
}

.btn-with-icon svg {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.btn {
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm); 
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary { 
  background-color: var(--accent); 
  color: #fff; 
  padding: 6px 16px;
  border: 1px solid transparent;
  height: 28px;
}

.btn-primary:hover {
	background-color: var(--accent-hover);
}

.btn-icon {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  font-size: 16px;
  padding: 0;
  line-height: 1;
}

.btn-icon:hover {
	background: var(--bg-panel);
	color: var(--text-primary);
}

.search-content {
  flex: 1 1 auto;     
  overflow-y: auto;
  padding: 0;
}

.search-fieldset {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  margin: 0;
  border-radius: 0;
}

.fieldset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-light);
}

.fieldset-title {
	font-weight: 600;
	font-size: 13px;
	color: var(--text-primary);
}

.fieldset-toggle {
	font-size: 11px;
	color: var(--text-secondary);
	transition: transform 0.2s;
}

.search-fieldset.collapsed .fieldset-body {
	display: none;
}

.search-fieldset.collapsed .fieldset-toggle {
	transform: rotate(-90deg);
}

.search-fieldset.collapsed .fieldset-header {
	border-bottom: none;
}

.fieldset-body {
	padding: 0 0 8px 0;
}

.filter-card {
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  padding: 10px 16px;
  margin: 0;
  border-radius: 0;
}

.filter-card:last-child {
	border-bottom: none;
}

.attr-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.checkbox-label {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
}

.checkbox-label b {
	font-weight: 400;
	color: var(--text-primary);
}

input[type="checkbox"]:checked+b {
	font-weight: 500;
	color: var(--accent);
}

input[type="checkbox"] {
	accent-color: var(--accent);
	cursor: pointer;
	margin: 0;
	width: 14px;
	height: 14px;
}

.attr-controls.is-visible {
    display: flex !important;
}

.attr-controls {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-left: 20px; 
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.attr-controls .value-input { 
  flex: 1 1 0;   
  min-width: 0;  
  width: 100%;    
}

.attr-controls select.operator { 
  flex: 0 1 35%; 
  min-width: 0;   
}

.associate-right-pane {
  flex: 1;
  height: 475px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
  background: var(--bg-surface); 
  overflow: hidden;
}

.table-wrapper {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

#sample-type-dropdown_ms {
    width: 100% !important;
    min-height: 25px;
    padding: 6px;
    font-size: 13px;
    border: 1px solid #c9c9c9;
    background: #fff;
    text-align: left;
}

#sample-type-dropdown_ms span:last-child {
    margin-left: 6px;
}

/* ==========================================================================
   ADVANCED SEARCH TABLE SKELETON (Theme Integration)
   ========================================================================== */
#context-parameter-tbl, #comparison-sequence-analyte-attr-tbl,
	#analyte-parameter-tbl, #color-setting-table {
  width: 100%;
  background: #ffffff;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden; 
  margin-bottom: 15px;
}

#context-parameter-tbl td, #comparison-sequence-analyte-attr-tbl td,
	#analyte-parameter-tbl td, #color-setting-table td {
  padding: 10px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-size: 13px;
}

#context-parameter-tbl tr:last-child td,
	#comparison-sequence-analyte-attr-tbl tr:last-child td,
	#analyte-parameter-tbl tr:last-child td, #color-setting-table tr:last-child td
	{
  border-bottom: none;
}

#context-parameter-tbl tr:not([bgcolor="#feb31e"]):hover td, 
	#comparison-sequence-analyte-attr-tbl tr:not([bgcolor="#feb31e"]):hover td,
	#analyte-parameter-tbl tr:not([bgcolor="#feb31e"]):hover td {
  background-color: #f8fafc;
}

#context-parameter-tbl tr[bgcolor="#feb31e"],
	#comparison-sequence-analyte-attr-tbl tr[bgcolor="#feb31e"],
	#color-setting-table tr[bgcolor="#feb31e"], #analyte-parameter-tbl tr[bgcolor="#feb31e"]
	{
  background-color: #f8fafc !important; 
}

#context-parameter-tbl tr[bgcolor="#feb31e"] td,
	#comparison-sequence-analyte-attr-tbl tr[bgcolor="#feb31e"] td,
	#analyte-parameter-tbl tr[bgcolor="#feb31e"] td, #color-setting-table tr[bgcolor="#feb31e"] td
	{
  color: #004085 !important;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid #004085 !important;
	background-color: #f1f5f9 !important;
}

/* --- 4. Clean up the Error Message Area --- */
#error-note-lbl {
  color: #ef4444; /* Standard alert red */
  font-size: 12px;
  font-weight: 500;
  padding-top: 4px;
}

#error-note-lbl:empty {
  display: none; /* Neatly hides if there is no error text */
}

.catalog-info-table th{
    background: #1C5B75;
}
  
.catalog-info-table .fg-toolbar{
    display:none;
}

#total-container{
    width: 350px;
    height: auto;
    border:  1px solid #ccc;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .26);
}

/* @group Blink */
.blink {
   animation: blink 1.8s linear infinite;
}

@keyframes blink {
	0% {
	opacity: 1;
}

	50% {
	opacity: 0;
}

	100% {
		opacity: 1;
}
}
/* @end */