

.tasks-container {
    max-width: 95%;
    margin: auto;
    padding: 20px;
    text-align: center;
}

header {
    margin-bottom: 20px;
}

h1 {
    font-size: 24px;
    margin: 0;
}

p {
    font-size: 16px;
    color: #fff;
}

.task-list {
    list-style: none;
    padding: 0;
}

.task-item {
    width: 90%;     
    height: 40px;
    background-color: #222;
    border-radius: 8px;
    margin: 5px 0;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.task-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.task-info {
    color: white;
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.task-button {
    background-color: #444;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    color: #fff;
    cursor: pointer;

}

.task-button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

.task-button.claim {
    background-color: #28a745;

    border-radius: 5px;
    padding: 5px 10px;

    color: #fff;
    cursor: pointer;
}

.task-button.done {
    background-color:  #444;
    border-radius: 20%;
        padding: 2px 6px;
}

.task-item span {
    font-size: 11px;
}

.task-item b {
    font-size: 11px;
    margin-left: auto; /* Оставить элементы слева */
    margin-right: 10px; /* Добавить отступ от правого края */
}

