#errorMessage {
    width: 100%;
    margin-top: 2%;
}
 
@media (min-width: 1081px) {
    .Sc-scan-image img {
        width: 80%;
    }
}
#messageBox {
    position: relative;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
    z-index: 1000;
}

    #messageBox.success {
        background-color: #D1FAE5;
        color: #065F46;
        border: 1px solid #10B981;
    }

    #messageBox.error {
        background-color: #FEE2E2;
        color: #991B1B;
        border: 1px solid #EF4444;
    }

#error-popup {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    #error-popup .popup-overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
    }

    #error-popup .popup-box {
        position: relative;
        background: white;
        padding: 20px 30px;
        border-radius: 8px;
        z-index: 10001;
        max-width: 400px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        font-family: sans-serif;
    }

    #error-popup .popup-message {
        margin-bottom: 20px;
        color: #111;
    }

    #error-popup .popup-buttons {
        display: flex;
        justify-content: center; /* center by default */
        gap: 10px;
    }

    #error-popup #popup-ok-btn,
    #error-popup a {
        background: #3B82F6;
        color: var(--white);
        font-weight: 500;
        border-radius: 10px;
        padding: 12px 18px;
        display: flex;
        align-items: center;
        font-size: 16px;
        border: 1px solid #3B82F6;
        outline: none !important;
        transition: all 0.3s ease-in-out;
    }
#adminLoginForm input:-webkit-autofill {
    appearance: none !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.Sc-scan-login-wrap input:-webkit-autofill {
    appearance: none !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    color: rgba(31, 41, 55, 0.7) !important;
    -webkit-text-fill-color: rgba(31, 41, 55, 0.7) !important;
    transition: background-color 5000s ease-in-out 0s !important;
}
#sidebar, .dasboard-inner-content {
    min-height: 80vh;
}

.image-dropup-container {
    position: relative; /* needed for absolute children */
}

.action-list {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: none;
}

.image-dropup-container:hover .action-list,
.image-dropup-container .action-list.show {
    display: block;
}