body { font-family: 'Segoe UI', Roboto, Helvetica, sans-serif; background: #fdfbfe; margin: 0; padding: 0; color: #333; }
.top-navbar { display: flex; justify-content: space-between; align-items: center; background: white; padding: 10px 40px; border-bottom: 1px solid #eae6f0; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 18px; }
.logo-icon { background: #785cd8; color: white; padding: 6px 10px; border-radius: 6px; font-size: 14px; }
.nav-links { display: flex; gap: 20px; }
.nav-item { text-decoration: none; color: #6c757d; font-weight: 500; font-size: 14px; padding: 8px 16px; border-radius: 6px; }
.nav-item.active { background: #f1edfa; color: #785cd8; }
.user-profile-block { display: flex; align-items: center; gap: 12px; }
.avatar { width: 36px; height: 36px; background: #f1edfa; color: #785cd8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.main-wrapper { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.profile-card { background: white; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(120,92,216,0.05); border: 1px solid #eae6f0; }
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.avatar-large { width: 60px; height: 60px; background: #f1edfa; color: #785cd8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; }
.profile-title h2 { margin: 0; font-size: 20px; color: #1a1a2e; }
.profile-title div { color: #8a8a9e; font-size: 14px; }
.balance-widget { display: flex; justify-content: space-between; align-items: center; background: #f8f7fc; border-radius: 12px; padding: 20px 25px; border: 1px solid #f1edfa; margin-bottom: 30px; }
.balance-info h4 { margin: 0; font-size: 15px; color: #1a1a2e; }
.balance-info p { margin: 4px 0 0 0; font-size: 12px; color: #8a8a9e; }
.balance-amount { font-size: 24px; font-weight: bold; color: #1a1a2e; }
.form-section { margin-bottom: 25px; }
.form-section label { display: block; font-size: 13px; color: #6c757d; margin-bottom: 8px; font-weight: 500; }
.form-control { width: 100%; max-width: 400px; padding: 12px; border: 1px solid #dcdbe3; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.telephony-buttons { display: flex; gap: 15px; }
.btn-outline { background: white; border: 1px solid #dcdbe3; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; color: #1a1a2e; cursor: pointer; }
.btn-outline:hover { border-color: #785cd8; color: #785cd8; background: #fbfaff; }
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); justify-content: center; align-items: center; z-index: 1000; }
.modal-window { background: white; border-radius: 16px; width: 100%; max-width: 600px; padding: 30px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.modal-grid label { display: block; font-size: 12px; margin-bottom: 5px; color: #6c757d; }
.modal-grid .form-control { max-width: 100%; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid #eae6f0; padding-top: 20px; }
.btn-primary { background: #785cd8; color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn-cancel { background: #f0f0f5; color: #6c757d; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* Стили Канбан-доски */
.kanban-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 20px; }
.kanban-column { background: #f4f2f7; border-radius: 12px; padding: 12px; min-height: 500px; }
.column-header { font-size: 14px; font-weight: bold; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.col-count { background: rgba(0,0,0,0.05); padding: 2px 6px; border-radius: 10px; font-size: 11px; }

.title-new { background: #e3f2fd; color: #1e88e5; }
.title-busy { background: #fff3e0; color: #fb8c00; }
.title-failed { background: #ffebee; color: #e53935; }
.title-success { background: #e8f5e9; color: #43a047; }

.lead-card { background: white; border-radius: 8px; padding: 14px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(120,92,216,0.04); border: 1px solid #eae6f0; }
.lead-name { font-size: 14px; font-weight: bold; color: #1a1a2e; margin-bottom: 4px; }
.lead-phone { font-size: 12px; color: #6c757d; margin-bottom: 8px; }
.lead-badge { display: inline-block; font-size: 10px; padding: 3px 6px; background: #f0edfa; color: #785cd8; border-radius: 4px; font-weight: bold; }
