/* style.css - Refinamentos e animações para interface TDAH */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-main: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --focus-yellow: #facc15;
    --panel-bg: #1e293b; /* Slate 800 */
    --inactive-tab: #0f172a; /* Slate 900 */
    --accent-blue: #3b82f6;
    --success-green: #22c55e;
    --tech-blue: #3b82f6;
}

/* Modal Animations */
.modal-enter {
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-backdrop-fade {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: #f1f5f9;
}

/* Glassmorphism */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animações de Dopamina */
.task-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.task-item.concluded {
    opacity: 0.5;
    text-decoration: line-through;
    color: #94a3b8;
}

.glow-focus {
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

/* Checkbox personalizado */
.custom-checkbox {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    accent-color: var(--success-green);
}

/* Sticky notes style */
.sticky-note {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--tech-blue);
    min-height: 150px;
}

.sticky-note:focus {
    outline: none;
    border-color: #60a5fa;
}

/* Progress Bar */
.progress-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pomodoro Timer */
.timer-display {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
}

.timer-active {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% { border-color: rgba(250, 204, 21, 0.3); }
    50% { border-color: rgba(250, 204, 21, 0.8); }
    100% { border-color: rgba(250, 204, 21, 0.3); }
}

/* Modal Inbox (Brain Dump) */
.modal-overlay {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}

.kdb-shortcut {
    background: #334155;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid #475569;
}

/* Vitórias do dia */
.win-item {
    border-left: 2px solid #22c55e;
}

/* Base Layout & General Utilities */
body {
    background: #0f172a; /* Slate 900 */
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

/* CRM Cards */
.client-card {
    border-left: 4px solid #94a3b8;
}

.client-pago { border-color: var(--success-green); }
.client-pendente { border-color: #ef4444; }
.client-vencer { border-color: var(--focus-yellow); }

.profit-badge {
    background: linear-gradient(135deg, var(--success-green), #10b981);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

/* Ideas Backlog */
.idea-card {
    transition: transform 0.2s;
}

.idea-card:hover {
    transform: translateX(5px);
}

/* Animations update */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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