.task-note-icon {
    cursor: pointer;
    color: #000;
}

.task-note-icon:hover {
    color: #337ab7;
}

.task-note-form {
    margin-bottom: 15px;
}

.task-note-table-wrapper {
    max-height: 50vh;
    overflow-y: auto;
}

.task-note-table {
    margin-bottom: 0;
    table-layout: fixed;
    width: 100%;
}

.task-note-table thead td {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #dff0d8;
    border-bottom: 2px solid #d6e9c6;
    border-top: 1px solid #ddd;
}

.task-note-table thead td:first-child {
    border-left: 1px solid #ddd;
}

.task-note-table thead td:last-child {
    border-right: 1px solid #ddd;
}

.task-note-text {
    word-break: break-word;
}

.task-note-box {
    white-space: pre-wrap;
}

.note-history-container {
    max-height: 250px;
    overflow-y: auto;
    margin-top: 6px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px;
    background-color: #fafafa;
}

.note-history-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
    background-color: #fff;
    overflow: hidden;
}

.note-history-item:last-child {
    margin-bottom: 0;
}

.note-history-header {
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
    color: #333;
}

.note-history-body {
    padding: 6px 10px;
}

.note-history-box {
    white-space: pre-wrap;
    font-size: 13px;
    color: #555;
    word-break: break-word;
    margin: 0;
}
