/* Amy Dashboard — Custom Styles */

/* Smooth transitions */
.tab-content {
    animation: fadeIn 0.15s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Goal card hover */
.goal-card {
    transition: box-shadow 0.15s ease;
}
.goal-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Task status indicators */
.task-status-pending {
    background-color: #fef3c7;
    color: #92400e;
}
.task-status-in_progress {
    background-color: #dbeafe;
    color: #1e40af;
}
.task-status-completed {
    background-color: #d1fae5;
    color: #065f46;
}

/* Priority badges */
.priority-critical {
    background-color: #fee2e2;
    color: #991b1b;
}
.priority-high {
    background-color: #ffedd5;
    color: #9a3412;
}
.priority-medium {
    background-color: #e0e7ff;
    color: #3730a3;
}
.priority-low {
    background-color: #f3f4f6;
    color: #4b5563;
}

/* Chat messages */
.chat-msg-user {
    background-color: #4c6ef5;
    color: white;
}
.chat-msg-amy {
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Memory card */
.memory-card {
    transition: box-shadow 0.15s ease;
}
.memory-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Scrollbar styling */
#chat-messages::-webkit-scrollbar {
    width: 6px;
}
#chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
#chat-messages::-webkit-scrollbar-thumb {
    background-color: #d1d5db;
    border-radius: 3px;
}

/* Loading spinner */
.spinner {
    border: 2px solid #e5e7eb;
    border-top: 2px solid #4c6ef5;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Vault item hover */
.vault-item {
    transition: box-shadow 0.15s ease;
}
.vault-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Thinking dots animation */
.thinking-dots span {
    animation: blink 1.4s infinite both;
}
.thinking-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.thinking-dots span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

/* Toast notifications */
.toast {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
