.mt-rte-fix.richtext-container .coral-Popover[data-rte-dialog='link'] {
    left: 0px !important;
}

.mt-rte-fix.richtext-container a {
    text-decoration: underline;
    color:#0000FF
}
.feedbackb-thnkpagefield-space {
    margin-bottom: 0.875rem !important;
}
.feedbackb-richtext-height {
	height: 22rem !important;
}
.feedbackProductPath .coral-Form-fieldlabel, 
.feedbackProductPath .coral-Form-fieldinfo {
    display:none !important;
    }
.feedbackButtonLabels .coral-Form-fieldlabel, .feedbackButtonLabels .coral-Form-fieldinfo {
    display:none !important;
    }

/* 
 * Ensure Page Quality Check modal always floats above AEM workflow dialogs.
 * Workflow start dialogs force z-index ~110000 via overlay overrides.
 * Page Quality Check modal must sit higher (120001+) to remain visible on validation fail.
 * Do not lower these values, or Page Quality Check modal will be hidden behind workflow UI.
 */

#mt-page-quality-check-modal-backdrop {
	position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
	background: rgba(0,0,0,0.20); z-index: 120001;
}

#mt-page-quality-check-modal {
	position: fixed; z-index: 120002; left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	background: #fff; border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.18);
	width: 1200px;
	min-width: 600px;
	min-height: 350px;
	max-width: 95vw;
	max-height: 95vh;
	display: flex;
    flex-direction: column;
	font-family: "Adobe Clean", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	padding: 0; margin: 0;
}

#mt-page-quality-check-modal .pq-modal-header {
	padding: 32px 52px 12px 52px;
	border-bottom: 1px solid #e8e8e8;
	display: flex; align-items: center; justify-content: space-between;
}

#mt-page-quality-check-modal .pq-modal-title {
	font-size: 1.45rem; font-weight: 400; margin: 0; color: #404040;
	letter-spacing: -0.01em;
}

#mt-page-quality-check-modal .pq-modal-close {
	background: none; border: none; font-size: 2rem; color: #888;
	cursor: pointer; line-height: 1; padding: 0 4px;
}

#mt-page-quality-check-modal .pq-modal-body {
	padding: 20px 52px 0 52px;
	color: #444; font-size: 1.08rem; line-height: 1.62;
	flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: auto;
    // min-height: 0;
    min-height: 340px;
    max-height: 70vh;
    transition: min-height 0.25s;
}

#mt-page-quality-check-modal .pq-lang-emphasis {
	color: #222;
	font-weight: 600;
	font-size: 1em;
	display: inline;
}

#mt-page-quality-check-modal .pq-detail-label {
    color: #33994d;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 4px;
    display: block;
}


#mt-page-quality-check-modal .pq-modal-body .pq-modal-note {
	color: #444;
	font-size: 1em;
	margin-top: 3px;
	display: block;
	padding-left: 0;
}

#mt-page-quality-check-modal .pq-modal-actions {
	// padding: 0 52px 64px 52px;
	// margin-top: 38px; 
	padding: 0 32px 32px 32px;
	margin-top: 32px;
    display: flex;
    flex-direction: row;
    // justify-content: flex-start;
	justify-content: flex-end;
}

#mt-page-quality-check-modal .pq-btn {
	background: #054C94; color: #fff !important; border: none; border-radius: 4px;
	padding: 10px 36px; font-size: 1.08rem; font-weight: 400;
	letter-spacing: 0.001em;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0,0,0,0.03);
	margin-top: 0;
	transition: background 0.15s;
	display: inline-block;
}

#mt-page-quality-check-modal .pq-btn:hover {
	background: #003e7a;
}

#mt-page-quality-check-modal .pq-btn:active {
	background: #003366;
}

#mt-page-quality-check-btn,
#mt-page-quality-check-btn:focus,
#mt-page-quality-check-btn:active {
  background-color: #E2322E !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}





.pq-passed .pq-check-label { 
	color: #33994d !important; 
}

.pq-failed .pq-check-label { 
	color: #c32e17 !important; 
}

.pq-results-list { 
	margin-top: 20px; 
}

.pq-editable-field-wrapper {
    position: relative;
    width: 100%;
}

.pq-detail-textarea {
    width: 100%;
    min-height: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.4;
}

[data-passed="true"][data-prop*="metaTitle["][data-iscurrentpage="false"] {
  display: none !important;
}

.pq-save-action {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.pq-save-action:focus {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}

.pq-field-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  min-height: 24px;
  gap: 6px;
}

.pq-length-counter {
  font-size: 0.85rem;
  color: #666;
  flex: 1;
  line-height: 1.4;
}

.pq-length-counter.pq-warning {
  color: #c62828;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.pq-save-action:hover {
  background: #f5f5f5;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}


#mt-page-quality-check-modal #pqc-ack-btn {
  margin-left: 22px;  
  margin-right:auto;  
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
}

#mt-page-quality-check-modal #pqc-ack-btn:hover {
  background: #f5f5f5;
}

#mt-page-quality-check-modal #pqc-ack-btn:active {
  background: #e0e0e0;
}

