* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f5f5;
    padding: 16px;
}

/* Container - Mobile first */
.container {
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Buttons - Big for touch (min 44px) */
.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    min-height: 48px;
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.96);
}

.btn-call {
    background: #25D366;
    color: white;
}

.btn-wa {
    background: #128C7E;
    color: white;
}

.btn-interested { background: #10B981; color: white; }
.btn-not { background: #EF4444; color: white; }
.btn-nr { background: #F59E0B; color: white; }
.btn-client { background: #8B5CF6; color: white; }

/* Filter chips */
.filter-chip {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background: #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: #1f2937;
}

.filter-chip.active {
    background: #3B82F6;
    color: white;
}

/* Lead card */
.lead-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #3B82F6;
}

.lead-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 4px;
}

.lead-phone {
    font-size: 20px;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 12px;
}

/* Action buttons group */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.remark-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Header */
.header {
    background: white;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.commission {
    font-size: 20px;
    font-weight: bold;
    color: #10B981;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 24px;
    border-radius: 16px;
    max-width: 90%;
    width: 320px;
}

.modal-content input, 
.modal-content select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

/* Form inputs */
input, select, textarea {
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    body { padding: 8px; }
    .btn { padding: 10px 16px; font-size: 14px; }
    .lead-name { font-size: 16px; }
    .lead-phone { font-size: 18px; }
}

/* Loading spinner */
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Success/Error messages */
.success {
    background: #D1FAE5;
    color: #065F46;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.error {
    background: #FEE2E2;
    color: #DC2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}