body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    color: #2e8b57;
    margin: 20px 0;
}

p {
    color: #2e8b57;
    text-align: center;
    margin-bottom: 20px;
}


#inputSection {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

#inputSection input[type="text"],
#inputSection select,
#inputSection input[type="color"],
#inputSection input[type="date"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#inputSection button {
    padding: 10px 20px;
    background-color: #2e8b57;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#inputSection button:hover {
    background-color: #276947;
}

#garden {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.plant {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    border-radius: 10px;
    color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plant button {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    opacity: 0.4;
    margin-top: 5px;
}

.plant button:hover {
    opacity: 1;
}

.plant .edit-button {
    background-color: #007bff;
    opacity: 0.6;
}

.plant .edit-button:hover {
    opacity: 1;
}


#success-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

#success-popup.show {
    display: block;
}


.broom-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: white;
    border: none;
    padding: 5px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index:100;
}

#confirmation-popup {
    display: none;
    position: fixed;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

#confirmation-popup p {
    margin: 0 0 10px;
}

#confirmation-popup button {
    margin-right: 10px;
    padding: 5px 10px;
}


