/* Modal background */
.my-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal content * Default Modal size (Medium) */
.my-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 70%;
}

/* Small modal size */
.my-modal-small .my-modal-content {
    width: 40%; /* Smaller width for small modals */
}

/* Large modal size */
.my-modal-large .my-modal-content {
    width: 90%; /* Larger width for large modals */
}

/* Align title and close button */
.my-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.my-modal-header h2 {
    margin: 0; /* Remove default margin */
    font-size: 24px; /* Adjust title font size */
}
.my-item-section {
    margin-top: 20px;
}

/* Close button */
.my-modal-close {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    padding: 0; /* Remove default button padding */
    margin-left: 20px; /* Space between title and close button */
}

.my-modal-close:hover,
.my-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Button Group */
.my-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.my-group-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #0073e6;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.my-group-button:hover {
    background-color: #005f7a;
}

.my-button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Default alignment */
    gap: 15px; /* Space between buttons */
}
