    
        .modal-content {
            display: flex;
            flex-direction: row;
            width: 100vw;
            height: 100vh;
            margin: auto;
				padding:0;
            background: #fff;
            overflow: hidden;
        }

        .modal-Photograph-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .filter-bar {
            background: #345;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .archive-entry {
            display: flex;
            align-items: flex-start;
            padding: 10px;
            background: #fff;
            border-bottom: 1px solid #ddd;
            cursor: pointer;
            transition: background 0.15s ease;
        }

        .archive-entry:hover {
            background-color: #f8f9fa;
        }

        .serial-no-box {
            flex: 0 0 60px;
            font-size: 0.9rem;
            color: #666;
            margin-top: 3px;
        }

        .entry-details {
            flex: 1;
        }

        .entry-title {
            font-weight: 500;
            color: #068;
            margin-bottom: 0.4rem;
            font-size: 1.2rem;
        }

        .entry-meta {
            font-size: 0.95rem;
            color: #6c757d;
        }

        .entry-icon {
            flex: 0 0 20px;
            text-align: left;
            color: #068;
            margin-left: 25px;
            font-size: 1.4rem;
            border-left: 1px solid #ddd;
            padding-left: 15px;
        }

        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-top: 20px;
            margin-bottom: 40px;
        }

        .page-btn {
            border: 1px solid #ddd;
            background: #fff;
            padding: 5px 12px;
            cursor: pointer;
            color: #068;
            transition: all 0.2s;
        }

        .page-btn:hover {
            background: #068;
            color: #fff;
        }

        .page-btn.active {
            background: #068;
            color: #fff;
            border-color: #068;
        }

        .page-btn:disabled {
            color: #ccc;
            cursor: not-allowed;
            background: #f9f9f9;
        }

        .results-counter {
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 10px;
            font-style: italic;
        }

        .modal-body-split {
            display: flex;
            height: 90vh; 
        }

        .modal-info-pane {
            flex: 0 0 55%;
				max-width: 1200px;
            padding: 15px 25px;
            background: #eee;
				margin:10px;
            overflow-y: auto;
        }

        .modal-preview-pane {
            flex: 0 0 45%;
            background: #ffff;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        #pdf-frame {
            width: 95%;
            height: 95%;
            border: none;
        }

        #Photograph-display {
            max-width: 95%;
            max-height: 95%;
            object-fit: contain;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            background: white;
        }

        .info-label {
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.8rem;
            color: #058;
            letter-spacing: 0.5px;
            margin-top: 10px;
            display: block;
        }

        .info-value {
            margin-top: 0;
            font-size: 1rem;
        }

        @media (max-width: 992px) {
            .modal-content {
                height: auto;
                width: 95vw;
            }
            .modal-body-split {
                flex-direction: column;
                height: auto;
            }
            .modal-info-pane,
            .modal-preview-pane {
                flex: 0 0 100%;
            }
            .modal-preview-pane {
                height: 500px;
            }
        }
		  
		        /* ?? Autocomplete wrapper ?? */
     /* Container for the search input and list */
.search-wrapper {
    position: relative;
    width: 100%;
}

/* The Autocomplete List */
#autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 400px;
    overflow-y: auto;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
}

#autocomplete-list.open {
    display: block; /* Shown when 'open' class is added */
}

/* Individual Item Layout */
.ac-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.ac-item:hover, .ac-item.active {
    background-color: #f8f9fa;
}

.ac-item-icon-wrap {
    margin-right: 12px;
    margin-top: 3px;
    color: #6c757d;
    width: 20px;
    text-align: center;
}

.ac-item-body {
    flex: 1;
}

.ac-item-title {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
    margin-bottom: 2px;
}

.ac-item-meta {
    font-size: 12px;
    color: #6c757d;
}

.ac-item-desc {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
}

/* Highlight style */
mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 0;
}