.page-title {
    text-align: center;
    font-family: "Arial", sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}


.mosaics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(700px, 1fr)); 
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    width: 100%; 
    box-sizing: border-box; 
}


.mosaic-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
    word-wrap: break-word; /* Ensures text wraps for long names */
}

.mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


/* Might need to change this */
.mosaic-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mosaic-group-id {
    font-size: 16px;
    color: #555;
    font-weight: bold;
    margin-top: 10px;
}


.pagination {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.step-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-link {
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.pagination-link:hover {
    background-color: #0056b3;
}

.current {
    font-size: 14px;
    color: #555;
    font-weight: bold;
}


/* search form styling for mosaic gallery */
.filters-container {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.active-filters {
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
}

.active-filters span {
    display: inline-block;
    margin-right: 10px;
    color: black;
    padding: 5px 10px;
    border-radius: 4px;
}

.advanced-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #007bff;
    outline: none;
}

.form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    font-size: 14px;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}


/* mosaic_detail section */

.mosaic-detail {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.image-container {
    text-align: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.image-container img:hover {
   transform: scale(1.03); 
}
.placeholder-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.description {
    margin-bottom: 30px;
}

.description h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.description p {
    font-size: 1.1rem;
    color: #555;
}


.expandable-sections {
    margin-top: 20px;
}

.section {
    margin-bottom: 15px;
}

.expand-btn {
    background-color: #ddd;
    color: #333;
    padding: 10px;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.expand-btn:hover {
    background-color: #ccc;
}

.expand-btn:before {
    content: '\25BC'; /* Down arrow symbol */
    margin-right: 10px; 
    color: #333;
    transition: transform 0.3s ease;
}

.expand-btn.active:before {
    transform: rotate(180deg); /* Flip the arrow when expanded */
}


.content {
    display: none;
    background-color: #f1f1f1;
    border-radius: 8px;
    margin-top: 10px;
}

.content ul {
    list-style-type: none;
    padding-left: 10;
}


.btn-download-all {
    background-color: darkblue;
    color: white;
    text-align: center;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: block; 
    margin: 0 auto 15px; 
}

.btn-download-all:hover {
    text-decoration: underline;
    color: white;
}

/* File list styling */
.file-list {
    margin-top: 15px;
}


.file-list input[type="checkbox"] {
    margin-right: 10px;
    border: 1px solid black;
}

.file-list label {
    margin-right: 10px;
    font-size: 1.1rem;
    color: #333;
    flex-grow: 1; 
}

.file-list a.btn-download {
    color: blue;
    text-align: center;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.file-list a.btn-download:hover {
    text-decoration: underline;
    color: blue;
}



/* Image Columns */
.image-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 250px;
    margin: 1px;
}

.column h3 {
    position: sticky; /* Makes the header sticky */
    top: 0; /* Sticks the header to the top of the column */
    z-index: 10;
    color: #333;
    margin-bottom: 10px;
    margin-top: 10px;
    background-color: #f1f1f1;
    
}

.image-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
}

.image-item h4 {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 5px;
    word-wrap: break-word; /* Ensures text wraps for long names */
    font-size: 1.1rem;
}

.image-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
    overflow: hidden; 
    word-wrap: break-word; 

}

.image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease,
}

.image-item img:hover {
   transform: scale(1.03);
 }
/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .image-columns {
        flex-direction: column;
    }
}



