/* LeadCall Pro - Modern CRM Theme */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
}

body {
    background-color: var(--light-bg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #334155;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Navbar */
.navbar-custom {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    font-size: 1.25rem;
}
.navbar-brand span {
    color: #38bdf8;
}

/* Cards */
.card-stat {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #ffffff;
}
.card-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

/* Tables */
.table-custom {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}
.table-custom th {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
    padding: 12px 14px;
}
.table-custom td {
    padding: 12px 14px;
    vertical-align: middle;
    font-size: 0.92rem;
}

/* Badges */
.badge-soft-success {
    background-color: #d1fae5;
    color: #065f46;
    font-weight: 600;
}
.badge-soft-warning {
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
}
.badge-soft-danger {
    background-color: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}
.badge-soft-info {
    background-color: #cffafe;
    color: #155e75;
    font-weight: 600;
}
.badge-soft-secondary {
    background-color: #e2e8f0;
    color: #334155;
    font-weight: 600;
}

/* Quick Action Buttons */
.btn-call {
    background-color: #10b981;
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-call:hover {
    background-color: #059669;
    color: #fff;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}
.btn-whatsapp:hover {
    background-color: #128c7e;
    color: #fff;
}

.btn-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
}
.btn-insta:hover {
    opacity: 0.9;
    color: #fff;
}

/* Lead Row Highlight on call update */
.row-called {
    background-color: #f0fdf4 !important;
}
.row-pending {
    background-color: #ffffff;
}

/* Toast alert notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
