/* Base styles for the modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Modal header */
.modal-header {
    padding: 16px;
    border-bottom: 1px solid #ddd;
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Modal body */
.modal-body {
    padding: 16px;
    font-family: Arial, sans-serif;
    color: #333;
}

/* Modal footer */
.modal-footer {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #ddd;
    background-color: #f7f7f7;
}

/* Button styles */
.btn {
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px; /* Add space between buttons */
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #28a745; /* Main green color */
    color: #fff;
}

.btn-primary:hover {
    background-color: #218838; /* Darker green for hover */
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268; /* Darker grey for hover */
}

.btn-fullwidth {
    width: 100%;
}

/* Close button */
.btn-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.btn-close:hover {
    color: #000;
}

/* Show modal */
.modal.show {
    display: block;
}

/* Modal content alignment */
.modal-body .row {
    margin: 0;
}

.modal-body .col {
    padding: 0;
}

/* Two-column layout for buttons */
.modal-body .row {
    display: flex;
    flex-wrap: wrap;
}

.modal-body .col {
    flex: 1;
    padding: 5px;
    min-width: 48%;
}