/* Стили для списка задач Husky Time List */
.husky-task-list {
    background-color: rgba(30, 30, 30, 0.4);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
}

.husky-task-list h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.husky-task-list h3 .fas {
    margin-right: 8px;
    color: #8ab4f8;
}

.husky-task-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.husky-task-list li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
}

.husky-task-list li:last-child {
    border-bottom: none;
}

.husky-task-list .task-icon {
    font-size: 1.2em;
    color: #8ab4f8;
    margin-top: 2px;
}

.husky-task-list .task-content {
    flex-grow: 1;
}

.husky-task-list .task-title {
    font-weight: bold;
    color: #f0f0f0;
    margin-bottom: 5px;
}

.husky-task-list .task-description {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 8px;
    line-height: 1.4;
}

.husky-task-list .task-date {
    font-size: 0.85em;
    color: #999;
}

.husky-task-list .task-date .fas {
    margin-right: 5px;
}

.husky-task-list .task-actions {
    display: flex;
    gap: 8px;
}

.husky-task-list .task-actions button {
    background: none;
    border: 1px solid #555;
    color: #aaa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.husky-task-list .task-actions button:hover {
    background-color: #555;
    color: #fff;
}

/* --- Стили для модального окна редактирования задачи --- */
.husky-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.husky-modal {
    background-color: #2c2f33;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #fff;
}

.husky-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.husky-modal-field {
    margin-bottom: 15px;
}

.husky-modal-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #b0b8c4;
}

.husky-modal-field input {
    width: 100%;
    padding: 10px;
    background-color: #40444b;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    box-sizing: border-box;
}

.husky-modal-actions {
    margin-top: 25px;
    text-align: right;
}

.husky-modal-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.husky-modal-actions .save-btn {
    background-color: #5865f2;
    color: #fff;
}

.husky-modal-actions .cancel-btn {
    background-color: #4f545c;
    color: #dcddde;
}

