body {
    font-family: Arial, sans-serif;
}

.top-bar {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 10px;
}
/* Add these styles for consistent dimensions and hover effect */
.product-card {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
    max-height: 200px; /* Adjust the max height as needed */
    object-fit: cover;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
}
/* Add rounded corners and spacing to the input fields */
.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
/* Add styling for delete icon */
.delete-icon {
    color: red;
    cursor: pointer;
    font-size: 1.5em;
    margin-left: 10px;
}

/* Style the confirmation dialog */
.confirm-dialog {
    display: none;
    position: fixed;
    z-index: 1;
    margin-top: 30px;
    margin-left: 30px;
    top: 50%; /* Vertically center the popup */
    left: 50%; /* Horizontally center the popup */
    transform: translate(-50%, -50%); /* Centering trick */
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.confirm-dialog-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}



.confirm-dialog-buttons {
    margin-top: 20px;
}

/* Style the 'Yes' button in the confirmation dialog */
.confirm-yes-button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.confirm-yes-button:hover {
    background-color: darkred;
}

/* Style the 'No' button in the confirmation dialog */
.confirm-no-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.confirm-no-button:hover {
    background-color: #444;
}

/* Style the upload button */
.modal-content #upload-button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
}

/* Style the upload button on hover */
.modal-content #upload-button:hover {
    background-color: #444;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #444;
}
