* { box-sizing: border-box; padding: 0; margin: 0; } html, body { max-width: 100vw; overflow-x: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background-color: #f5f5f5; } a { color: inherit; text-decoration: none; } .app-header { padding: 16px 24px; background: white; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; } .app-header h1 { font-size: 24px; font-weight: 600; } .header-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .search-input { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; width: 200px; font-size: 14px; } .filter-select { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white; } .kanban-board { display: flex; gap: 16px; padding: 24px; min-height: calc(100vh - 80px); overflow-x: auto; } .kanban-column { flex: 0 0 300px; background: #ebecf0; border-radius: 8px; padding: 12px; display: flex; flex-direction: column; } .kanban-column-header { font-weight: 600; padding: 8px; margin-bottom: 8px; display: flex; align-items: center; } .kanban-column-count { background: #0079bf; color: white; border-radius: 12px; padding: 2px 8px; font-size: 12px; margin-left: 8px; } .kanban-cards { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 100px; } .contact-card { background: white; border-radius: 8px; padding: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); cursor: pointer; transition: box-shadow 0.2s; } .contact-card:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .contact-card.paid { border-left: 4px solid #4caf50; } .contact-card.pending { border-left: 4px solid #ff9800; } .contact-card.overdue { border-left-color: #f44336; } .contact-card-name { font-weight: 500; margin-bottom: 4px; } .contact-card-phone { font-size: 12px; color: #666; margin-bottom: 8px; } .contact-card-preview { font-size: 12px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; } .contact-card-meta { display: flex; gap: 8px; align-items: center; font-size: 12px; } .task-badge { background: #0079bf; color: white; border-radius: 10px; padding: 2px 6px; font-size: 11px; } .schedule-date { color: #666; } .schedule-date.overdue { color: #f44336; } .empty-column { text-align: center; color: #888; padding: 24px; font-size: 14px; } .loading { display: flex; justify-content: center; align-items: center; min-height: 200px; color: #666; } /* Modal styles */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; padding: 20px; } .modal-content { background: white; border-radius: 8px; width: 100%; max-width: 600px; max-height: 80vh; overflow-y: auto; position: relative; padding: 24px; } .modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; color: #666; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; } .modal-close:hover { background: #f0f0f0; } .modal-header { margin-bottom: 20px; } .modal-header h2 { font-size: 20px; margin-bottom: 4px; } .modal-phone { color: #666; font-size: 14px; } .modal-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 12px; } .modal-tabs .tab { padding: 8px 16px; border: none; background: none; cursor: pointer; font-size: 14px; border-radius: 4px; color: #666; } .modal-tabs .tab.active { background: #0079bf; color: white; } .modal-body { min-height: 200px; } .empty-state { text-align: center; color: #888; padding: 40px; } .messages-list { display: flex; flex-direction: column; gap: 16px; } .message-item { padding: 12px; background: #f9f9f9; border-radius: 8px; } .message-time { font-size: 12px; color: #888; margin-bottom: 8px; } .message-body { font-size: 14px; } .tasks-section .add-task-form { display: flex; gap: 8px; margin-bottom: 16px; } .tasks-section .add-task-form input { padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .tasks-section .add-task-form input[type="text"] { flex: 1; } .tasks-section .add-task-form button { padding: 8px 16px; background: #0079bf; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; } .tasks-section .add-task-form button:hover { background: #005a8c; } .tasks-list { display: flex; flex-direction: column; gap: 8px; } .task-item { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f9f9f9; border-radius: 8px; cursor: pointer; } .task-item.completed { opacity: 0.6; } .task-item.completed .completed { text-decoration: line-through; } .task-item input[type="checkbox"] { width: 18px; height: 18px; } .task-item .task-due { margin-left: auto; font-size: 12px; color: #888; } .details-form .form-group { margin-bottom: 16px; } .details-form .form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #333; } .details-form .form-group select, .details-form .form-group textarea { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .details-form .form-group textarea { min-height: 100px; resize: vertical; }