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

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 600px;
    overflow-y: auto; 
    max-height: 80vh;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 24px; 
    color: #333;
}

.heading-detail {
    font-size: xx-large;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    margin-top: 5px;
}

.modal-content p {
    margin-top: 5px;
    font-size: 16px;
}

#update-form,#add-form {
    display: flex;
    flex-direction: column;
}


label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="number"],select,option{
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

button[type="button"] {
    padding: 10px 20px;
    background-color: #007bff; 
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button[type="button"]:hover {
    background-color: #0056b3;
}

input:focus {
    border: 2px solid #007bff;
}

.confirmation-alert,.update-alert,.add-alert {
    padding: 10px;
    color: white;
    font-weight: bold;
    border-radius: 5px; 
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.confirmation-alert{
    background-color: red;
}

.update-alert,.add-alert{
    background-color: seagreen;
}
