/* Import shared Fluent UI styles */

.content-wrap {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
}

.content-main {
    padding: 10px;
    overflow-y: auto; /* Enable scrollbars within main content section */
    height: calc(100% - var(--button-height) - 20px); /* nav bar height + padding */
}

/* Spacing for summary list items */
.summary-list .section-header {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.summary-list .section-header:first-child {
    margin-top: 8px;
}

.summary-list .code-box {
    margin-bottom: 8px;
}

.header-view[data-content="antispam-view"] {
    font-family: var(--font-family);
}

.header-view[data-content="antispam-view"] .page-title {
    font-size: 21px;
    font-weight: 600;
}

.header-view[data-content="antispam-view"] .section-header {
    font-size: 16px;
    font-weight: 600;
}

.header-view[data-content="antispam-view"] .fluent-table,
.header-view[data-content="antispam-view"] .fluent-table td {
    font-size: 12px;
}

.header-view[data-content="antispam-view"] .fluent-table {
    table-layout: auto;
    width: 100%;
}

.header-view[data-content="antispam-view"] .fluent-table td:first-child {
    width: max-content;
    white-space: nowrap;
    min-width: fit-content;
}

.header-view[data-content="antispam-view"] .fluent-table td:last-child {
    width: auto;
    word-break: break-word;
}

.hop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
}

.hop-list-item {
    padding: 8px 16px;
    border-bottom: 1px solid var(--border-gray);
    cursor: pointer;
    position: relative;
}

.hop-list-item:hover {
    background-color: var(--background-light-gray);
    outline: 1px solid transparent;
}

.hop-primary-text {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hop-secondary-text {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-primary);
}

.hop-list-selection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.section-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-family);
    margin-bottom: 8px;
}

/* Other view spacing */
.other-list .row-header {
    margin-top: 16px;
    margin-bottom: 4px;
}

.other-list .row-header:first-child {
    margin-top: 8px;
}

.other-list .code-box {
    margin-bottom: 8px;
}

/* Navigation button label management */
.content-header,
.nav-bar,
#nav-bar {
    background-color: var(--command-bar-gray);
}

#nav-bar .button-label {
    display: none;
}

#nav-bar .nav-button:hover .button-label,
#nav-bar .is-active .button-label {
    display: inline-block;
}

/* Original Headers Button Styling */
#orig-header-btn {
    color: var(--primary-blue) !important;
    border: none !important;
    padding: 8px 0 !important;
    height: auto !important;
    min-height: 32px !important;
    margin: 0 !important;
    text-align: left !important;
    width: auto !important;
}

#orig-header-btn .fluent-icon--add,
#orig-header-btn .fluent-icon--remove {
    color: var(--primary-blue);
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 20px;
    vertical-align: middle;
}

#orig-header-btn::part(control) {
    background: transparent !important;
    border: none !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    color: var(--primary-blue) !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

#orig-header-btn::part(control):focus {
    outline: var(--focus-outline) !important;
    outline-offset: 2px !important;
    border-radius: 0 !important;
}

.status-display {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 70px;
    margin-left: -125px;
    margin-top: -35px;
    text-align: center;
}

.status-spinner {
    width: 28px;
    margin-top: 10px;
    margin-left: 111px;
}

#error-display {
    display: none;
    word-wrap: break-word;
    word-break: break-all;
}

.header-view {
    display: none;
}

.down-icon {
    float: left;
    width: 36px;
    height: 36px;
}

.progress-icon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.progress-icon .hop-progress {
    width: 100%;
    font-family: var(--font-family);
}

.progress-description {
    font-size: 12px;
    color: var(--text-primary);
    margin-top: 4px;
    text-align: left;
    font-family: var(--font-family);
}

.orig-header-ui {
    display: none;
}

#original-headers {
    display: none;
}

.details-overlay-popup.is-hidden {
    display: none !important;
}

.details-overlay-popup.is-shown {
    display: block;
    position: fixed;
    z-index: 1000;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--border-radius);
    padding: 24px 28px 12px 28px;
    width: 90vw;
    max-width: 500px;
    font-family: var(--font-family);
}

/* Arrow pointing upward at the top of the pane */
.details-overlay-popup.is-shown::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

.hop-title {
    margin: 0 0 12px 0;
    font-size: 21px;
    font-weight: 600;
    font-family: var(--font-family);
}

.hop-label {
    font-weight: 600;
    font-size: 12px;
    font-family: var(--font-family);
}

.hop-details-entry {
    margin: 0 0 6px 0;
    font-size: 12px;
    font-family: var(--font-family);
}

.hop-details-entry:last-child {
    margin-bottom: 0;
}

.hop-value {
    font-weight: 400;
    word-break: break-word;
    font-size: 12px;
    font-family: var(--font-family);
}

/* Desktop-specific overrides for violation card header */
.violation-card-header {
    align-items: flex-start;
}

.violation-message {
    padding: 4px;
}

/* Inline mode - compact display for Summary headers */
.violation-inline {
    display: flex;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 4px;
}

/* Card mode - full display for popovers and accordions */
.violation-card {
    display: flex;
    font-size: 0.75rem;
    font-weight: 400;
    gap: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex-direction: column;
    border: 1px solid var(--border-light-gray);
}

.violation-card:hover {
    border-color: var(--border-gray);
}

.violation-card:last-child {
    margin-bottom: 0;
}

/* Desktop-specific: show violation details in cards */
.violation-card .violation-details {
    display: block;
    padding: 0px;
}

.diagnostic-content {
    padding: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.diagnostics-accordion {
    border-radius: 6px;
    border: 1px solid var(--border-gray);
}

.popover-row .cell-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

.popover-row .cell-main-content {
    flex: 1;
    line-height: 1.4;
}

.show-diagnostics-popover-btn {
    border-radius: 50% !important;
}

.show-diagnostics-popover-btn:not([data-severity]) {
    display: none;
}

.show-diagnostics-popover-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.show-diagnostics-popover-btn:hover {
    transform: scale(1.1);
}

.show-diagnostics-popover-btn .severity-icon {
    font-size: 14px;
    line-height: 1;
}

.show-diagnostics-popover-btn .severity-icon::before {
    content: var(--severity-icon);
}

/* Other tab header with inline popover button */
.other-header-wrapper {
    display: flex;
    align-items: center;
}

/* Severity Badges - Fluent UI overrides */
fluent-badge.severity-badge {
    display: flex;
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/*# sourceMappingURL=newDesktopFrame.css.map*/