/* ===================================
   IMAGE MODAL STYLES
   =================================== */

   #imageModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

#closeImageModal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 11;
    user-select: none;
    transition: color 0.3s ease;
}

#closeImageModal:hover {
    color: #C10000;
}

#modalImageContent {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    user-select: none;
    transition: transform 0.1s ease-out;
}

.zoom-controls {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 15px;
    z-index: 11;
}

.zoom-controls button {
    padding: 12px 24px;
    background: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.zoom-controls button:hover {
    background: #C10000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.zoom-controls button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.result-image-thumbnail {
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-image-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}
.back-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self:center;
  }
  