/* Fontes do Chatwoot */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

:root, html {
    /* Tema claro (padrão) */
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --accent-color: #1f93ff;
    --hover-bg: #f7f7f8;
    --logo-filter: none; /* Para tema claro */
}

html.dark-theme {
    --bg-primary: #1a1c1e;
    --bg-secondary: #1e2023;
    --text-primary: #f0f2f5;
    --text-secondary: #9ca3af;
    --card-bg: #27282b;
    --border-color: #383838;
    --card-shadow: rgba(0, 0, 0, 0.2);
    --hover-bg: #2d2d2f;
    --logo-filter: brightness(0) invert(1); /* Para tema escuro - torna o SVG branco */
}

/* Estilos base */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.kanban {
    background-color: var(--bg-primary);
}

.coluna {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.tarefa {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.tarefa-menu {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.menu-item {
    color: var(--text-primary);
}

.menu-item:hover {
    background-color: var(--hover-bg);
}

/* Botão de tema */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 8px var(--card-shadow);
}

.theme-toggle:hover {
    background: var(--hover-bg);
    color: var(--accent-color);
}

/* Estilo para quando estiver arrastando */
.sortable-ghost {
    opacity: 0.4;
}

.sortable-drag {
    background: var(--bg-secondary);
    box-shadow: 0 4px 8px var(--card-shadow);
}

/* Contador de tarefas */
.coluna .contador {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 8px;
    padding: 2px 6px;
    background: var(--hover-bg);
    border-radius: 4px;
}

/* Adicionar tarefa botão */
.add-tarefa {
    width: 100%;
    padding: 8px;
    border: 1px dashed var(--border-color);
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.add-tarefa:hover {
    background: var(--hover-bg);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.tarefa-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    position: relative;
}

.menu-trigger {
    background: transparent;
    border: none;
    padding: 4px 8px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.menu-trigger:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.tarefa-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--card-shadow);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

.tarefa-menu.active {
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item:hover {
    background: var(--hover-bg);
}

.menu-item.remover {
    color: #ff4949;
}

.menu-item.remover:hover {
    background: #fff1f1;
    color: #dc2626;
}

.menu-item i {
    width: 16px;
}

/* Ajuste para o tema escuro */
body.dark-theme .menu-item.remover:hover {
    background: #3a2828;
}

/* Adicionar ao seu CSS existente */

/* Layout do Kanban */
.kanban {
    display: flex;
    gap: 24px;
    padding: 24px;
    min-height: 80vh;
    overflow-x: auto;
    position: relative;
}

/* Estilo das colunas */
.coluna {
    flex: 1;
    min-width: 300px;
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Faixa de cor no topo das colunas */
.coluna::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 8px 8px 0 0;
}

.coluna[data-marker="red"]::before {
    background: var(--red-color);
}

.coluna[data-marker="yellow"]::before {
    background: var(--yellow-color);
}

.coluna[data-marker="green"]::before {
    background: var(--green-color);
}

.coluna h2 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

/* Container de tarefas */
.tarefas {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100px;
}

/* Estilo dos cards */
.tarefa {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    cursor: grab;
    box-shadow: 0 1px 3px var(--card-shadow);
    transition: all 0.2s ease;
    position: relative;
    border-left: 4px solid transparent;
}

/* Cores laterais dos cards baseadas na coluna */
#todo .tarefa {
    border-left-color: var(--red-color);
}

#doing .tarefa {
    border-left-color: var(--yellow-color);
}

#done .tarefa {
    border-left-color: var(--green-color);
}

.tarefa:hover {
    box-shadow: 0 2px 5px var(--card-shadow);
}

.tarefa h3 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
    line-height: 1.4;
}

.tarefa p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 8px 0 0 0;
    line-height: 1.5;
}

/* Marcadores de coluna */
.coluna[data-marker="red"] h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff4949;
    border-radius: 50%;
    margin-right: 8px;
}

.coluna[data-marker="yellow"] h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    margin-right: 8px;
}

.coluna[data-marker="green"] h2::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .kanban {
        padding: 12px;
        gap: 12px;
    }

    .coluna {
        min-width: 280px;
        padding: 12px;
    }

    .theme-toggle {
        top: 12px;
        right: 12px;
    }

    .coluna h2 {
        font-size: 13px;
    }
    
    .tarefa h3 {
        font-size: 12px;
    }
    
    .tarefa p {
        font-size: 11px;
    }
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.toast {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px var(--card-shadow);
    font-size: 13px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

.toast.toast-error {
    background: #ff4949;
    color: white;
}

.toast.toast-success {
    background: #4caf50;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animações */
.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Ajustes de scroll */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Estilos do Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
}

/* Estilos da logo no login */
.login-logo {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.login-logo img {
    max-width: 180px;
    height: auto;
    filter: var(--logo-filter);
    transition: filter 0.3s ease;
}

/* Ajuste do container para acomodar a logo */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
}

/* Ajuste responsivo */
@media (max-width: 480px) {
    .login-logo img {
        max-width: 140px;
    }
    
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Variáveis de tema */
:root {
    --bg-primary: #f0f2f5;
    --bg-secondary: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --accent-color: #1f93ff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --error-color: #ef4444;
}

/* Tema escuro */
html.dark-theme {
    --bg-primary: #1a1c1e;
    --bg-secondary: #27282b;
    --text-primary: #f0f2f5;
    --text-secondary: #9ca3af;
    --border-color: #383838;
    --card-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

/* Estilos da página de login */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--card-shadow);
    width: 100%;
    max-width: 400px;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo img {
    max-width: 200px;
    height: auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.login-form button {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.login-form button:hover {
    opacity: 0.9;
}

.error-message {
    background: var(--error-color);
    color: white;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Botão de tema */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }

    .login-logo img {
        max-width: 150px;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.logout-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #666;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    opacity: 0.6;
}

.logout-button:hover {
    opacity: 1;
}

.logout-button i {
    font-size: 13px;
}

/* Tema escuro */
.dark-theme .logout-button {
    color: #999;
}

/* Responsivo */
@media (max-width: 768px) {
    .logout-button {
        font-size: 12px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.agent-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.agent-status {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-top: 10px;
}

.agent-status.online {
    background: #28a745;
    color: white;
}

.agent-status.offline {
    background: #dc3545;
    color: white;
}

.agent-status.busy {
    background: #ffc107;
    color: black;
}

.error-message {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

/* Variáveis de cores do Chatwoot - Customizadas com marca #008ACE */
:root {
    --color-woot-primary: #008ACE;
    --color-woot-primary-light: #1A9ADE;
    --color-woot-primary-dark: #006BA3;
    --color-woot-bg: #F8FAFC;
    --color-woot-sidebar: #FFFFFF;
    --color-woot-border: #E2E8F0;
    --color-woot-text: #1E293B;
    --color-woot-text-light: #64748B;
    --color-success: #10B981;
    --color-offline: #94A3B8;
    --color-busy: #F59E0B;
    --color-online: #22C55E;
    
    /* Gradientes da marca */
    --gradient-primary: linear-gradient(135deg, #008ACE 0%, #1A9ADE 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    
    /* Sombras modernas */
    --shadow-sm: 0 1px 3px rgba(0, 138, 206, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 138, 206, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 138, 206, 0.2);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.chatwoot-theme {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-woot-bg);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 138, 206, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 154, 222, 0.03) 0%, transparent 50%);
    color: var(--color-woot-text);
    line-height: 1.6;
    min-height: 100vh;
}

.app-wrapper {
    width: 100%;
    background: var(--gradient-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.app-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10;
}

.sidebar-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-woot-border);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.sidebar-header i {
    color: var(--color-woot-primary);
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 138, 206, 0.2));
}

.sidebar-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-woot-text);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agents-list {
    padding: 24px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.agents-list::-webkit-scrollbar {
    width: 6px;
}

.agents-list::-webkit-scrollbar-track {
    background: transparent;
}

.agents-list::-webkit-scrollbar-thumb {
    background: var(--color-woot-primary);
    border-radius: 3px;
    opacity: 0.3;
}

.agent-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.agent-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.agent-item:hover::before {
    opacity: 0.05;
}

.agent-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    margin-right: 16px;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid white;
    background: var(--color-offline);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.status-indicator.online {
    background: var(--color-online);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.agent-info {
    flex: 1;
    min-width: 0;
}

.agent-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-woot-text);
    margin-bottom: 4px;
    line-height: 1.4;
}

.agent-email {
    font-size: 13px;
    color: var(--color-woot-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.8;
}

.chat-button {
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.chat-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.chat-button:hover::before {
    left: 100%;
}
/* Desktop styles */
@media (min-width: 768px) {
    body.chatwoot-theme {
        padding: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .app-wrapper {
        max-width: 900px;
        height: auto;
        min-height: 500px;
        max-height: 85vh;
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .agent-item {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .agent-item:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: var(--shadow-md);
        border-color: rgba(0, 138, 206, 0.2);
    }

    .chat-button:hover {
        background: var(--color-woot-primary-dark);
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

    .agent-avatar:hover .avatar-placeholder {
        transform: scale(1.1);
        box-shadow: var(--shadow-lg);
    }

    .sidebar-header {
        border-radius: 20px 20px 0 0;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    body.chatwoot-theme {
        background: var(--color-woot-bg);
        padding: 0;
    }

    .app-wrapper {
        box-shadow: none;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
        background: white;
    }

    .app-wrapper::before {
        display: none;
    }

    .sidebar-header {
        border-bottom: 1px solid var(--color-woot-border);
        background: white;
        backdrop-filter: none;
        padding: 16px 20px;
    }

    .agents-list {
        padding: 16px 20px;
        max-height: calc(100vh - 80px);
    }

    .agent-item {
        margin-bottom: 16px;
        background: white;
        border: 1px solid var(--color-woot-border);
        backdrop-filter: none;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .agent-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }

    .chat-button:active {
        transform: scale(0.95);
    }
}

/* Animações adicionais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.agent-item {
    animation: fadeInUp 0.5s ease forwards;
}

.agent-item:nth-child(1) { animation-delay: 0.1s; }
.agent-item:nth-child(2) { animation-delay: 0.2s; }
.agent-item:nth-child(3) { animation-delay: 0.3s; }
.agent-item:nth-child(4) { animation-delay: 0.4s; }
.agent-item:nth-child(5) { animation-delay: 0.5s; }

/* Estados de loading */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Melhorias de acessibilidade */
.chat-button:focus {
    outline: 2px solid var(--color-woot-primary);
    outline-offset: 2px;
}

.agent-item:focus-within {
    outline: 2px solid var(--color-woot-primary);
    outline-offset: 2px;
    border-radius: 16px;
}

/* Tema escuro (futuro) */
@media (prefers-color-scheme: dark) {
    :root {
        --color-woot-bg: #0F172A;
        --color-woot-sidebar: #1E293B;
        --color-woot-border: #334155;
        --color-woot-text: #F1F5F9;
        --color-woot-text-light: #94A3B8;
        --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
    }
}