input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
    margin-left: 1px;
}

#cropModal {
    z-index: 9999;
}

.img-container {
    max-height: 60vh;
    display: flex;
    justify-content: center;
}

/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-modal-title {
    color: rgb(51, 51, 51);
    font-size: 18px;
    margin: 0px;
}

.custom-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.custom-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.2s;
}

.custom-modal-close:hover {
    color: #333;
}

.custom-modal-body {
    padding: 0px;
    overflow: auto;
    flex-grow: 1;
}

.img-container {
    max-height: 60vh;
    display: flex;
    justify-content: center;
}

.custom-modal-footer {
    padding: 10px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.custom-modal-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.custom-modal-btn-cancel {
    background-color: #f0f0f0;
    color: #333;
}

.custom-modal-btn-cancel:hover {
    background-color: #e0e0e0;
}

.custom-modal-btn-primary {
    background-color: #16a085;
    color: white;
}

.custom-modal-btn-primary:hover {
    background-color: #138a72;
}