/* Custom Bootstrap-like Modal Styles */
.bs-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.bs-modal.show {
    display: flex;
}

.bs-modal-dialog {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

.bs-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.bs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.bs-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.bs-close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #b62f2d;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
}

.bs-close:hover {
    opacity: 1;
}

.bs-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 20px;
}

@media (max-width: 576px) {
    .bs-modal-dialog {
        margin: 10px;
        width: calc(100% - 20px);
    }
}