/* Loading modal styles for public lost item page */
.instant-loading-modal {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

.instant-loading-content {
    text-align: center;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.instant-spinner {
    display: inline-block;
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.content-wrap {
    visibility: hidden;
}

/* Form visibility styles */
#right_div.active,
#right_div.full-width {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#right_div:not(.active):not(.full-width) {
    display: none !important;
}

.force-hide {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

