.todo-list-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 250px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.open-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1e293b;
    color: #ffffff;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

.todo-card-delete-btn {
    position: absolute;
    top: 5%;
    right: 5%;
    transform: translate(-5%, -5%);
    background-color: #d81d1d;
    color: #ffffff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    transition: transform 0.1s ease-in-out;
}

.todo-card-delete-btn:hover {
    transform: scale(1.03);
}

.todo-list-card:hover .open-hint {
    opacity: 1;
}

.todo-list-card:hover .todo-card-delete-btn {
    opacity: 1;
}

.todo-list-card:hover {
    transform: scale(1.03);
    cursor: pointer;
}

.todo-list-card .list-name {
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.todo-list-card .last-modified {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.progress-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: bold;
    color: #334155;
}

.task-summary {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background-color: #e5e7eb;
    position: relative;
}

.progress {
    height: 100%;
    border-radius: 5px;
    background-color: #10b981;
    position: absolute;
}

.todo-card-footer {
    background-color: #f5f5f5;
    font-size: 0.75rem;
    color: #6d6d6d;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    padding: 0.70rem 1rem;
    margin: -1rem;
    margin-top: 1rem;
}
