﻿/* Ensures Modal is Always Centered */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Remove unwanted margins */
    height: 100%; /* Full height for proper vertical centering */
}

.modal-content {
    margin: auto; /* Auto margins to center */
    width: 100%; /* Ensure full width responsiveness */
}

/* Adjustments for smaller devices */
@media (max-width: 768px) {
    .modal-dialog {
        width: 90%; /* Adjust width for smaller screens */
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        width: 95%; /* Further reduce width for very small screens */
    }

    .modal-content {
        padding: 10px; /* Compact padding for smaller viewports */
    }
}
