/* Section Styles */
.section-title {
    font-size: 0.9rem;
    color: var(--bs-gray-500);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tasks-section,
.reminders-section {
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tasks-section:last-child,
.reminders-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Todo Task Styles */
.todo-item {
    background-color: var(--bs-gray-800);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
}

.todo-item.completed {
    background-color: var(--bs-success-bg-subtle);
    opacity: 0.8;
}

.todo-item.completed h6 {
    color: var(--bs-success);
    text-decoration: line-through;
}

.todo-item.completed p,
.todo-item.completed small {
    color: var(--bs-success);
    opacity: 0.8;
}

.todo-item h6 {
    margin-bottom: 0.5rem;
    color: var(--bs-light);
}

.todo-item p {
    margin-bottom: 0.5rem;
    color: var(--bs-gray-300);
    font-size: 0.9rem;
}

.todo-item small {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--bs-gray-400);
}

.todo-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}


.chat-messages {
    height: 400px;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--bs-dark);
    position: relative;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    word-break: break-word;
}

.user-message {
    background-color: var(--bs-primary);
    margin-left: 20%;
    color: var(--bs-light);
}

.assistant-message {
    background-color: var(--bs-secondary);
    margin-right: 20%;
    color: var(--bs-light);
}

.error-message {
    background-color: var(--bs-danger);
    color: var(--bs-light);
}

/* Loading Animation Styles */
.chat-loading {
    background-color: var(--bs-secondary);
    margin-right: 20%;
    color: var(--bs-light);
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0;
    display: none;
}

.dot-typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.dot-typing div {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--bs-light);
    animation: dot-typing 1s infinite ease-in-out;
}

.dot-typing div:nth-child(1) { animation-delay: 0s; }
.dot-typing div:nth-child(2) { animation-delay: 0.2s; }
.dot-typing div:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-typing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.7); opacity: 0.5; }
}

.reminder-item {
    background-color: var(--bs-gray-800);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
}

.reminder-item.completed {
    background-color: var(--bs-success-bg-subtle);
    opacity: 0.8;
}

.reminder-item.completed h6 {
    color: var(--bs-success);
    text-decoration: line-through;
}

.reminder-item.completed p,
.reminder-item.completed small {
    color: var(--bs-success);
    opacity: 0.8;
}

.reminder-item h6 {
    margin-bottom: 0.5rem;
    color: var(--bs-light);
}

.reminder-item p {
    margin-bottom: 0.5rem;
    color: var(--bs-gray-300);
    font-size: 0.9rem;
}

.reminder-item small {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--bs-gray-400);
}

.reminder-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Tab Styles */
.nav-tabs {
    border-bottom-color: var(--bs-border-color);
}

.nav-tabs .nav-link {
    color: var(--bs-gray-400);
}

.nav-tabs .nav-link:hover {
    border-color: var(--bs-border-color);
    color: var(--bs-light);
}

.nav-tabs .nav-link.active {
    background-color: var(--bs-gray-800);
    border-color: var(--bs-border-color);
    border-bottom-color: transparent;
    color: var(--bs-light);
}

/* Add your custom styles here */
.sortable {
    cursor: pointer;
    user-select: none;
}
.sortable:hover {
    background-color: #f8f9fa;
}
.sortable i {
    margin-left: 5px;
    color: #6c757d;
}