.pop-button {
    background: linear-gradient(to bottom, #007bff, #0056b3);
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: 15px;
    font-size: 14px;
    /* Slightly smaller font size */
    padding: 5px 10px;
    /* Adjusted padding for smaller button */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}


/* Styles for the popup */
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 20px;
    z-index: 1000;
    display: none;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
    /* Allow scrolling if content overflows */
}

/*description dropdown*/


/* Ensure the dropdown width is responsive */
#descriptionDropdown {
    width: 100%;
    /* Full width of its container */
    max-width: 100%;
    /* Ensure it doesn't exceed the container width */
    white-space: nowrap;
    /* Prevent text wrapping */
    display: block;
    /* Ensures it behaves correctly */
    box-sizing: border-box;
    /* Include padding and border in the element's width */
    padding: 10px;
    /* Add padding for better readability */
    font-size: 16px;
    /* Increase font size for better readability */
    height: auto;
    /* Adjust height based on content */
    color: rgb(64, 12, 253);
    font-weight: bold;
}

/* Ensure options are not cropped */
#descriptionDropdown option {
    white-space: nowrap;
    /* Prevent text wrapping */
    overflow: hidden;
    /* Prevent overflow */
    text-overflow: ellipsis;
    /* Add ellipsis (...) to indicate overflow */
    padding: 10px;
    /* Add padding for better readability */
}

/* Adjust dropdown for mobile devices */
@media (max-width: 600px) {
    #descriptionDropdown {
        height: auto;
        /* Adjust height based on content */
    }
}

/* Adjust dropdown for mobile devices */
@media (max-width: 900px) {
    #descriptionDropdown option {
        height: auto;
        /* Adjust height based on content */
    }
}


/* Close button styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: red;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
}

/* Description content styles */
.description-content {
    margin-top: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    /* Removed 'height' property */
    height: 50vh;
    width: auto;
    /* Changed to 'auto' or specify a width */
    overflow-y: auto;
    text-align: left;
    /* Align text to left */
}

/* Styles for the editable content div */
.editable-content {
    border: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
    background-color: #fff;
    text-align: left;
    /* Align text to left */
    min-height: 150px;
    /* Minimum height to prevent collapse */
}


/* Style for the button container */
.button-container {
    margin-top: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

#copyDescriptionBtn {
    border-radius: 20px;
    background: linear-gradient(to bottom, #007bff, #0056b3);
    color: #fff !important;
    border: 2px solid transparent;
    font-size: 14px;
    /* Slightly smaller font size */
    padding: 8px 12px;
    /* Adjusted padding for smaller button */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;

}

/* Media queries for responsiveness */
@media (max-width: 600px) {
    .close-btn {
        font-size: 14px;
        top: 5px;
        right: 5px;
    }

    .description-content {
        height: 520px;
    }

    .button-container {
        text-align: center;
    }
}

/* Hidden row for description reason */
.hidden {
    display: none;
}

.label {
    display: none;
}

.input-container {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    box-sizing: border-box;
}