@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

/* GERAL */
body { font-family: 'Inter', sans-serif; background-color: #F8FAFC; color: #334155; }
.logo-font { font-family: 'Montserrat', sans-serif; }

/* SIDEBAR */
.sidebar-link { transition: all 0.2s ease-in-out; border-left: 3px solid transparent; font-size: 0.875rem; font-weight: 500; }
.sidebar-link:hover { background-color: rgba(255,255,255,0.08); color: white; padding-left: 1.5rem; }
.sidebar-link.active { background-color: rgba(212, 175, 55, 0.15); border-left-color: #D4AF37; color: #D4AF37; font-weight: 600; }

/* TABELAS */
.v-table-head { padding: 1rem 1.5rem; text-align: left; font-size: 0.75rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; background-color: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.v-table-cell { padding: 1rem 1.5rem; white-space: nowrap; font-size: 0.875rem; color: #334155; border-bottom: 1px solid #f1f5f9; }
.v-table-row:hover { background-color: #fffbeb; transition: background-color 0.15s; }

/* FORMULÁRIOS */
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } 
.form-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .form-grid, .form-grid-2 { grid-template-columns: 1fr; } }

.form-label { display: block; font-size: 0.75rem; font-weight: 700; color: #64748b; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-input { width: 100%; background-color: #ffffff; border: 1px solid #cbd5e1; border-radius: 0.5rem; padding: 0.75rem 1rem; font-size: 0.875rem; color: #1e293b; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); outline: none; height: 46px; }
.form-input:focus { border-color: #D4AF37; box-shadow: 0 0 0 1px #D4AF37; background-color: #ffffff; }

select.form-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem; padding-right: 2.5rem; cursor: pointer; }

.form-section-title { grid-column: 1 / -1; font-size: 0.875rem; font-weight: 800; color: #0f172a; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem; margin-top: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

/* BADGES */
.status-badge-todo { background-color: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.status-badge-doing { background-color: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.status-badge-done { background-color: #f0fdf4; color: #15803d; border: 1px solid #dcfce7; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }

/* UTILS */
.custom-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.custom-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.kanban-col { min-height: 100%; transition: background 0.2s; }
.kanban-col.drag-over { background-color: #e2e8f0; border: 2px dashed #94a3b8; }
.kanban-card { cursor: grab; user-select: none; }
.kanban-card:active { cursor: grabbing; }

/* CALENDÁRIO */
.flatpickr-calendar { background: #ffffff !important; border: 0 !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important; border-radius: 16px !important; font-family: 'Inter', sans-serif !important; width: 320px !important; overflow: hidden !important; }
.flatpickr-months { background-color: #0F172A !important; padding: 20px 0 !important; border-radius: 16px 16px 0 0 !important; position: relative !important; display: flex !important; align-items: center !important; }
.flatpickr-current-month { padding-top: 0 !important; height: auto !important; display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; position: static !important; }
.flatpickr-current-month span.cur-month { color: #ffffff !important; font-weight: 800 !important; font-size: 1.1rem !important; margin-left: 0 !important; }
.flatpickr-current-month input.cur-year { color: #D4AF37 !important; font-weight: 700 !important; font-size: 1.1rem !important; }
.flatpickr-months .flatpickr-monthDropdown-months { background-color: #0F172A !important; color: #ffffff !important; font-weight: 700 !important; padding: 5px !important; border-radius: 4px !important; border: none !important; outline: none !important; }
.flatpickr-months .flatpickr-monthDropdown-months:hover { background-color: #1e293b !important; }
.flatpickr-prev-month, .flatpickr-next-month { position: absolute !important; top: 50% !important; transform: translateY(-50%) !important; height: 36px !important; width: 36px !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; border-radius: 8px !important; transition: all 0.2s ease !important; z-index: 10 !important; }
.flatpickr-prev-month { left: 15px !important; } .flatpickr-next-month { right: 15px !important; }
.flatpickr-prev-month svg, .flatpickr-next-month svg { width: 14px !important; height: 14px !important; fill: none !important; stroke: #D4AF37 !important; stroke-width: 3.5 !important; stroke-linecap: round !important; stroke-linejoin: round !important; transition: all 0.2s !important; }
.flatpickr-prev-month:hover, .flatpickr-next-month:hover { background-color: rgba(212, 175, 55, 0.15) !important; }
.flatpickr-prev-month:hover svg, .flatpickr-next-month:hover svg { stroke: #ffffff !important; transform: scale(1.1); }
.flatpickr-weekdays { background: #F8FAFC !important; height: 40px !important; border-bottom: 1px solid #e2e8f0 !important; }
span.flatpickr-weekday { color: #64748b !important; font-weight: 800 !important; font-size: 11px !important; }
.flatpickr-day { color: #334155 !important; font-weight: 600 !important; border-radius: 8px !important; margin-top: 6px !important; height: 38px !important; line-height: 38px !important; }
.flatpickr-day.today { border: 2px solid #D4AF37 !important; color: #D4AF37 !important; }
.flatpickr-day.selected, .flatpickr-day:hover, .flatpickr-day:focus { background: #D4AF37 !important; border-color: #D4AF37 !important; color: #ffffff !important; box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4) !important; }

/* TOASTS */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 300px; max-width: 400px; background: #ffffff; padding: 16px 20px; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); border-left: 4px solid transparent; animation: slideIn 0.3s ease-out forwards; transition: all 0.3s ease; cursor: pointer; }
.toast.hide { animation: slideOut 0.3s ease-in forwards; }
.toast.success { border-left-color: #10B981; } .toast.success .toast-icon { color: #10B981; background: rgba(16, 185, 129, 0.1); }
.toast.error { border-left-color: #EF4444; } .toast.error .toast-icon { color: #EF4444; background: rgba(239, 68, 68, 0.1); }
.toast-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-content { flex: 1; }
.toast-title { font-size: 0.85rem; font-weight: 700; color: #1e293b; margin-bottom: 2px; }
.toast-message { font-size: 0.75rem; color: #64748b; line-height: 1.4; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }