.task-card {
    background-color: #F8F9FA;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.left-side {
    flex: 1;
    min-width: 50%;
    padding-right: 20px;
    width: 50%;
}

.label-section {
    margin-bottom: 10px;
}

.description-section {
    margin-bottom: 20px;
}

.task-list {
    margin-bottom: 20px;
}

.progress-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.add-task-section {
    display: flex;
    gap: 10px;
}

.task-input {
    flex: 1;
    height: 2.25rem;
}

.right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 20%;

}

.right-side button {
    margin-bottom: 10px;
}

.custom-datepicker {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    width: 100%;
    cursor: pointer;
}

.duedate_label{
    font-size: 1rem;
}

.duedate_div {
    margin-top: 0.7rem;
}

.icons_custom_class{
    margin-right: 0.3rem;
}

.add_label_btn {
    min-width: 100%;
    font-weight: 700;
    padding: 0.2rem;
}

.remove_card_btn {
    min-width: 100%;
    font-weight: 700;
    padding: 0.2rem;
}

.delete_subtask{
    min-width: 20.5%;
    padding: 0.2rem;
    font-size: 0.73rem;
    font-weight: bold;
    background-color: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
    border-radius: 3px;
}

.delete_subtask:hover {
    background-color: #c82333; 
    color: #fff;
    border-color: #bd2130;
}

.add_subtask{
    padding: 0.2rem;
    min-width: 21%;
    font-size: small;
    font-weight: bold;
}

.tag_label{
    margin-top: 0.5rem;
}

.file-dropzone {
    border: 2px dashed #d9d9d9;
    border-radius: 0.5rem;
    padding: 1.25rem;
    text-align: center;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.file-dropzone:hover {
    background-color: #EFEFEF;
    cursor: pointer;
}

.attached-files li {
    padding: 5px 0;
}

.attachment-section {
    margin-top: 1rem;
}

.attachment_label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.attachment-list {
    list-style-type: disc;
    padding-left: 1rem; 
}

.attachment-item {
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.attachment-link {
    color: #007bff; 
    text-decoration: none;
    flex-grow: 1; 
}

.attachment-link:hover {
    text-decoration: underline;
    color: #0056b3; 
}

.delete-attachment-icon {
    color: red;
    cursor: pointer;
    margin-left: 10px;
    font-size: large;
}

.delete-attachment-icon:hover {
    color: darkred;
}