@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #E26400;
    --secondary-color: #E26400;
    --accent-color: #E26400;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
    --text-color: #333333;
    --heading-color: #E26400;
    --paragraph-color: #000000;
    --border-color: #E26400;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f1c40f;
    --light-bg: #f5f5f5;
    --dark-gray: #555;
    --determinant-color: #F07328;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--paragraph-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

header h3 {
    color: #fff;
    margin:0;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
}

h3 {
    font-weight: 900;
    text-transform: none;
    margin-bottom: 1rem;
}

/* Upload Section Styles */
.upload-section {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: relative;
}

.drop-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem 1.5rem;
    text-align: center;
    background-color: #fff;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.drop-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(240, 115, 40, 0.05);
}

.drop-area p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.drop-area input[type="file"] {
    display: none;
}

.drop-area label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.drop-area label:hover {
    background-color: #d65b18;
}

.file-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.file-info p {
    margin: 0.5rem 0;
    font-family: 'Roboto', sans-serif;
}

/* Results Section Styles */
#results-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: none;
}

.metadata-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 6px;
}

.metadata-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.metadata-item {
    flex: 1;
    min-width: 250px;
}

.metadata-item strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
    background-color: white;
}

/* Table Headers */
th {
    background-color: white;
    color: #000;
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 900;
    position: sticky;
    top: 0;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-right: 1px solid #ccc;
}

/* Table Cells */
td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Roboto', sans-serif;
    border-right: 1px solid #ccc;
}

td:last-child {
    border-right: none;
}

th:last-child {
    border-right: none;
}

tr:last-child td {
    border-bottom: none;
}



tr.below-gac {
    background-color: white;
}

/* Table Content Styling */
.determinant-name {
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

td.nfa {
    /* No custom color - inherits from tr */
    font-weight: normal;
}

td.action-required {
    color: var(--primary-color);
    font-weight: 700;
}

/* Controls */
.controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Area Type Selector, Sample Type Selector, and SOM Percentage Selector */
.area-type-selector,
.sample-type-selector,
.som-percentage-selector {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.area-type-selector label,
.sample-type-selector label,
.som-percentage-selector label {
    margin-right: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.area-type-selector select,
.sample-type-selector select,
.som-percentage-selector select {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    min-width: 150px;
    cursor: pointer;
}

.area-type-selector select:focus,
.sample-type-selector select:focus,
.som-percentage-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(240, 115, 40, 0.2);
}

/* Messages */
#messages {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    display: none;
}

.message.info {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Loading Indicator */
.loading-indicator {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.loading-indicator .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto 10px;
}

.loading-indicator p {
    color: var(--text-color);
    font-weight: 500;
}

.upload-section.loading .drop-area {
    opacity: 0.5;
    pointer-events: none;
}

.upload-section.loading .loading-indicator {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .metadata-content {
        flex-direction: column;
    }
    
    .area-type-selector,
    .sample-type-selector,
    .som-percentage-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .area-type-selector label,
    .sample-type-selector label,
    .som-percentage-selector label {
        margin-bottom: 0.5rem;
    }
}

tr:hover {
    background-color: rgba(240, 115, 40, 0.05);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Additional Table Styles */
.assessment-action-required {
    color: var(--primary-color);
    font-weight: 700;
}

/* Styles for the result summary table */
.results-table {
    width: 100%;
    margin-top: 1.5rem;
}

.results-table th {
    padding: 0.75rem 1rem;
    font-weight: 900;
    color: #000;
    background-color: white;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-right: 1px solid #ccc;
    position:relative;
}

.results-table th:last-child {
    border-right: none;
}

.results-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid #ccc;
}

.results-table td:last-child {
    border-right: none;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.results-table .determinant-name {
    font-weight: 700;
    color: var(--primary-color);
}

.results-table tr:hover {
    background-color: rgba(240, 115, 40, 0.05);
}

/* Results Controls */
.results-controls {
    margin: 2rem 0;
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
}

.filters {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.results-summary {
    font-weight: 500;
    color: var(--dark-gray);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

/* Sortable Table Headers */
th.sortable {
    cursor: pointer;
    padding-right: 1.5rem;
}

th.sortable:after {
    content: "";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0.5rem;
    color: #aaa;
    font-size: 0.8em;
}

th.sortable:after {
    content: "\f0dc"; /* fa-sort */
}

th.sort-asc:after {
    content: "\f0de"; /* fa-sort-up */
    color: var(--primary-color);
}

th.sort-desc:after {
    content: "\f0dd"; /* fa-sort-down */
    color: var(--primary-color);
}

/* Row styles for non-GAC determinants */
tr.not-in-gac {
    color: #666;
}

tr.not-in-gac td.determinant-name {
    color: #666;
}

/* File Info and Metadata combined */
.file-metadata-section {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.file-metadata-section .file-info {
    flex: 1;
    min-width: 250px;
    margin-top: 0;
    padding: 0;
    background-color: transparent;
    border: none;
}

.file-metadata-section .metadata-content {
    flex: 2;
    min-width: 300px;
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header and Navigation */
nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

nav a.active {
    background-color: rgba(255,255,255,0.2);
    font-weight: 500;
}

/* Main content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Welcome section */
.welcome-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.welcome-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
    min-width: 200px;
    text-align: center;
}

.action-buttons .button:hover {
    background-color: #d65b18;
}

.action-buttons .button:active {
    background-color: #c54f0f;
}

/* Data management section */
.data-management-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.data-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.action-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.action-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.upload-area {
    margin-bottom: 1rem;
}

.upload-area input[type="file"] {
    display: none;
}

.status-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.status-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.status-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* Button styles */
.button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.button:hover {
    background-color: #d55a00;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Data display section */
.data-display-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.data-summary {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.data-summary p {
    margin: 0;
    color: #495057;
}

.area-type-selector {
    margin-bottom: 1.5rem;
}

.area-type-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
}

.area-type-selector select {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
    background-color: var(--card-background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: var(--paragraph-color);
}

#data-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
}

#data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

#data-table tr:last-child td {
    border-bottom: none;
}

#data-table tr:hover td {
    background-color: rgba(226, 100, 0, 0.05);
}

/* Determinant styles */
#data-table td:first-child {
    color: var(--primary-color);
    font-weight: 500;
}

/* Keep non-file determinants in default color */
#data-table tr.not-in-file td:first-child {
    color: var(--paragraph-color);
}

/* Radio button group styles */
.radio-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-button-wrapper {
    position: relative;
}

.radio-button-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-button-wrapper label {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #495057;
}

.radio-button-wrapper input[type="radio"]:checked + label {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.radio-button-wrapper label:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.radio-button-wrapper input[type="radio"]:checked + label:hover {
    background-color: #2980b9;
}

/* Data source indicator */
.data-source {
    background-color: var(--card-background);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-source i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.data-source span {
    font-weight: 500;
    color: var(--text-color);
}

/* Add these new styles */
.full-width {
    width: 100%;
}

.sample-options-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

/* For responsive design */
@media (max-width: 768px) {
    .sample-options-row {
        flex-direction: column;
    }
}

/* Remove green background from below-gac rows */
tr.below-gac {
    background-color: white; /* Was rgba(76, 175, 80, 0.1) */
}

/* Center text in table cells except first column */
.results-table th:not(:first-child),
.results-table td:not(:first-child) {
    text-align: center;
}

/* Keep first column left-aligned */
.results-table th:first-child,
.results-table td:first-child {
    text-align: left;
}

/* Make sure determinant name stays bold and orange */
.determinant-name {
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

/* Style for the results heading */
.results-heading {
    color: black !important;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    text-align: center;
}

/* Style for the toggle button */
.toggle-button {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    margin-left: auto;
    display: block;
    transition: all 0.2s ease;
}

.toggle-button:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}


.detections-below-gac-container button {
    margin:auto !important;
}

#copy-table {
    margin: 1rem 0 !important;
    display: inline-block;
}

/* Container for button and heading alignment */
.results-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.toggle-button {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-button:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* Remove the styling for #toggle-grouping since it's now handled in button-container */
#toggle-grouping {
    margin: 0;
}

/* Group header styling */
.group-header {
    background-color: #f0f0f0;
}

.group-header-cell {
    padding: 0.5rem 1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Position the grouping toggle button */
#toggle-grouping, #toggle-non-report {
    margin: 1rem 0 !important;
    display: inline-block;
}

/* Webhook Components */
.webhook-container {
    margin: 40px 0 80px 0; /* Added more bottom margin for space above footer */
    text-align: center;
}

.webhook-button {
    background-color: #E26400; /* Using the primary color from your CSS */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.webhook-button:hover {
    background-color: #c55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.webhook-button:disabled {
    background-color: #90a0a3;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.webhook-content-wrapper {
    margin-top: 20px;
    text-align: left;
}

.webhook-response {
    padding: 40px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.webhook-heading {
    text-align: center;
    font-size: 2em;
    padding-bottom: 0.6em;
    padding-top: 1.3em;
    color: #343434;
}

.webhook-timer {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
    text-align: center;
}

.webhook-timer #seconds-counter {
    font-weight: 700;
    color: var(--primary-color);
}

.error-message {
    color: #e74c3c;
    font-weight: bold;
}

/* Loading spinner animation */
.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

.report-content {
    line-height: 1.5;
}

/* Detections Below GAC section styling */
.detections-below-gac-container {
    margin-top: 2rem;
    margin-bottom:60px;
    padding: 1.5rem;
    border: 2px solid #f8d7da;
    border-radius: 8px;
    background-color: #fff9fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.alert-box {
    position: relative;
}

.detection-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: center;
}

.alert-icon {
    color: #dc3545;
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.toggle-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.toggle-button:hover {
    background-color: #0069d9;
}

.below-gac-table {
    margin-top: 1rem;
}

.below-gac-table th, .below-gac-table td {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* Add a bit of spacing between the tables and webhook section */
.webhook-container {
    margin-top: 2rem;
}

/* Copy button styling */
.copy-button {
    background-color: #2196F3 !important;
    color: white !important;
    border-color: #1976D2 !important;
}

.copy-button:hover {
    background-color: #1976D2 !important;
    border-color: #0D47A1 !important;
}

.copy-button i {
    margin-right: 5px;
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(33, 150, 243, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
} 


.webhook-response h1,
.webhook-response h2,
.webhook-response h3,
.webhook-response h4,
.webhook-response h5,
.webhook-response h6 {
    color: #111;
    margin-bottom:1em;
    padding-top:1.4em
}
.webhook-response h2 {
    font-size:1.6em;
}
.webhook-response h3 {
    font-size:1.4em;
}
.webhook-response h4 {
    font-size:1.2em;
}
.webhook-response h5 {
    font-size:1em;
}
.webhook-response h6 {
    font-size:0.8em;
}


.webhook-response p,
.webhook-response li {
    color:#343434;
}

.webhook-response p,
.webhook-response ul  {
    margin-bottom:1em;
}

.webhook-response li {
    list-style-position: inside;
    text-indent: -1.2em;
    padding-left: 1.2em;
    line-height:1.6;
    padding-top:5px;
}

.webhook-response li ul {
    margin-bottom:0;
    padding-left:2em;
}

.webhook-response hr { 
    padding-top:2em;
    padding-bottom:2em;
    border:0;
    border-top:1px solid #bbb;
}

/* Include detections checkbox */
.include-detections-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
}

.processing-notice {
    font-size: 0.85rem;
    color: #666;
    margin: 0.25rem 0 0.75rem;
}