/* Load Model Modal */
#sampleModelDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show Modal */
#sampleModelDiv.active {
    visibility: visible;
    opacity: 1;
}

/* Centered Modal Content */
.load-model-content {
    background: rgba(30, 30, 30, 0.95);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 50%;
    max-width: 650px;
    min-height: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Model Container - 4 Images per Row */
.model-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Space between images */
}

/* Sample Image Div */
.sampleimagediv {
    width: 120px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.sampleimagediv:hover {
    transform: scale(1.05);
}

/* Sample Images */
.sampleimage, .upload-image {
    /* width: 100px; */
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
}

/* Caption Styling */
.caption {
    font-size: 14px;
    margin-top: 5px;
    color: #ccc;
}

/* Hidden Upload Text */
.hidden-text {
    display: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

/* Actions (Close Button) */
.actions {
    margin-top: 20px;
}

.actions button {
    padding: 8px 16px;
    background: #444;
    color: white;
    border: 1px solid #666;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.actions button:hover {
    background: #01a5bf;
}

/* Header Styling */
.header {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px; /* Adds spacing below the header */
}

/* Extra spacing after header */
.header-spacer {
    height: 10px; /* Adjust height as needed */
}


/* Close Icon Styling - Top Right Corner */
/* Header Container with Close Icon */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 10px; /* Adds some space below */
}

/* Header Styling */
.header {
    font-size: 18px;
    font-weight: bold;
}
/* Close Icon Styling */
.close-icon {
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out, filter 0.2s ease-in-out;
}

/* Ensure the icon is white by default */
.close-icon img {
    width: 70%;
    height: 100%;
    filter: brightness(0) invert(1); /* Ensures white color */
}

/* Change color on hover to #01a5bf */
.close-icon:hover img {
    filter: brightness(0) invert(63%) sepia(100%) saturate(350%) hue-rotate(146deg) brightness(100%) contrast(100%);
    transform: scale(1.2); /* Slight zoom effect */
}


