.form-tips-box {
    border: 2px solid #003f6b;
    border-radius: 15px;
    padding: 15px;
    background-color: #f0f8ff;
    margin-top: 20px;
    position: relative;
}

.form-viewer {
    max-width: 70%;
    height: 90vh!important;
    margin: 0 auto;
    text-align: center;
}

.form-buttons-row, .form-tips-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.form-navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.image-form-hexagon {
    position: relative;
    width: 20%;
    aspect-ratio: 1;
    margin: 10px;
    filter: url('#goo');
}

.image-form-hexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 94% 26%, 94% 70%, 50% 100%, 6% 70%, 6% 26%) !important;
}

.image-form-rectangle {
    position: relative;
    width: 50%;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-form-rectangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* CSS for the dropdown container */
.form-response-color-dropdown {
    position: absolute;
    top: 0;
    left: 100px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    z-index: 100;
}

@media screen and (max-width: 768px) {
    .form-response-color-dropdown {
        top: -42px;
        left: auto;
    }
}
/*!* CSS for the dropdown container *!*/
/*.form-response-color-dropdown-mobile {*/
/*    position: absolute;*/
/*    top: -42px;*/
/*    background-color: white;*/
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/
/*    border-radius: 8px;*/
/*    padding: 10px;*/
/*    z-index: 100;*/
/*}*/

/* CSS for the inner container to align color dots horizontally */
.form-response-color-options {
    display: flex;
    gap: 10px;
}

/* CSS for each color dot */
.form-response-color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.form-response-color-dot.selected {
    border: 3px solid black; /* Or any color that makes it visually distinct */
    transform: scale(1.2); /* Optional: slightly enlarge the selected dot */
}

.progress-bar-container {
    display: flex;
    width: 75%;
}

.progress-step {
    width: 250px; /* Adjust width based on preference */
    min-width: 25px; /* Adjust width based on preference */
    height: 15px; /* Adjust height as needed */
    background-color: #d3d3d3; /* Default color for inactive steps */
    border-radius: 20px;
    border: 1px solid white;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.progress-step.active {
    background-color: #003366; /* Color for active steps */
}

/* Slide up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide down animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.5s ease-in-out forwards;
}

.slide-down {
    animation: slideDown 0.5s ease-in-out forwards;
}

.zoom-in {
    animation: zoomIn 0.5s ease-in-out forwards;
}

.form-map-hover-container {
    position: relative;
    width: 100%; 
    height: 100%; 
    overflow: hidden;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

/* Overlay that appears on hover */
.form-map-hover-container .overlay {
    position: absolute;
    /*top: 0;*/
    /*left: 0;*/
    border-radius: 10px;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--rz-secondary), rgba(255, 255, 255, 0));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Fade-in effect */
}

/* View button styles */
.form-map-hover-container .view-button {
    background-color: var(--rz-secondary); /* Button color */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px; /* Rounded button */
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for button */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button hover effect */
.form-map-hover-container .view-button:hover {
    background-color: #005fa3; /* Slightly brighter blue on hover */
    transform: scale(1.1); /* Slight zoom effect */
}

/* Hover effect on the container */
.form-map-hover-container:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}