/* CSS Reset & Variable Definitions */
:root {
    --bg-dark: #0a0b10;
    --card-bg: #121420;
    --card-border: rgba(255, 255, 255, 0.05);
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    
    /* Prospecting Theme (Indigo/Purple) */
    --prospect-primary: #6366f1;
    --prospect-glow: rgba(99, 102, 241, 0.15);
    --prospect-gradient: linear-gradient(135deg, #4f46e5, #818cf8);
    
    /* Creation Theme (Emerald/Teal) */
    --creation-primary: #10b981;
    --creation-glow: rgba(16, 185, 129, 0.15);
    --creation-gradient: linear-gradient(135deg, #059669, #34d399);

    /* UI Details */
    --accent-red: #ef4444;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

.app-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* HEADER SECTION */
.app-header {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-premium);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--prospect-primary), var(--creation-primary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.logo-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

h1 {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary-action {
    background: linear-gradient(135deg, #1f2937, #111827);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-primary-action:hover {
    border-color: rgba(255,255,255,0.25);
    background: linear-gradient(135deg, #374151, #1f2937);
    transform: translateY(-1px);
}

.btn-primary-action i {
    width: 18px;
    height: 18px;
    color: var(--prospect-primary);
}

/* Time & Date Widget */
.time-widget {
    text-align: right;
}

#current-time {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

#current-date {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Header Progress Bar */
.progress-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

#progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--prospect-primary), var(--creation-primary));
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BENTO GRID LAYOUT */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

/* GENERAL BENTO CARD */
.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    width: 20px;
    height: 20px;
}

.card-title h2 {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Card Specific Grid Positions */
.card-timer {
    grid-column: span 4;
    align-items: center;
}

.card-timeline-list {
    grid-column: span 8;
}

.card-tasks {
    grid-column: span 6;
}

.card-habits {
    grid-column: span 7;
}

.card-history {
    grid-column: span 5;
}

/* BADGES & CONTRASTS */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
}

/* Glow Border Animations for Active Block */
.border-glow-prospect {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(99, 102, 241, 0.1);
}

.border-glow-creation {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(16, 185, 129, 0.1);
}

/* 1. FOCUS TIMER UI */
.timer-display-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.timer-ring {
    position: absolute;
    transform: rotate(-90deg);
}

.timer-ring-progress-prospect {
    stroke: var(--prospect-primary);
    stroke-dasharray: 534;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
    filter: drop-shadow(0 0 6px var(--prospect-primary));
}

.timer-ring-progress-creation {
    stroke: var(--creation-primary);
    stroke-dasharray: 534;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
    filter: drop-shadow(0 0 6px var(--creation-primary));
}

.timer-time {
    font-family: var(--font-mono);
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.timer-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--prospect-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    transform: scale(1.08);
}

.btn-icon:active {
    transform: scale(0.95);
}

.btn-icon.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    box-shadow: none;
}

.btn-icon.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.timer-presets {
    display: flex;
    gap: 0.5rem;
}

.btn-preset {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-preset:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-primary);
}

.btn-preset.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
}

/* 2. DAILY BLOCKS TIMELINE */
.btn-reset-day {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.btn-reset-day:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.btn-reset-day i {
    width: 16px;
    height: 16px;
}

.blocks-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    max-height: 350px;
}

.block-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.block-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.block-row.active {
    background: rgba(255, 255, 255, 0.06);
}

.block-row.prospect-type.active {
    border-left: 4px solid var(--prospect-primary);
    box-shadow: inset 5px 0 10px rgba(99, 102, 241, 0.05);
}

.block-row.creation-type.active {
    border-left: 4px solid var(--creation-primary);
    box-shadow: inset 5px 0 10px rgba(16, 185, 129, 0.05);
}

.block-row.completed {
    opacity: 0.65;
}

.block-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.block-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.prospect-type .block-indicator-dot {
    background-color: var(--prospect-primary);
    box-shadow: 0 0 10px var(--prospect-primary);
}

.creation-type .block-indicator-dot {
    background-color: var(--creation-primary);
    box-shadow: 0 0 10px var(--creation-primary);
}

.block-time {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.block-label {
    font-weight: 500;
    font-size: 0.9375rem;
}

.block-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-complete-block {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--text-dim);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-complete-block:hover {
    border-color: var(--text-muted);
}

.block-row.completed .btn-complete-block {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

.block-row.completed .btn-complete-block i {
    width: 14px;
    height: 14px;
}

/* 3. TASK BOARD */
.task-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

.add-task-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.add-task-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition-smooth);
}

.add-task-form input:focus {
    border-color: var(--text-muted);
}

.prospect-theme .add-task-form input:focus {
    border-color: var(--prospect-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.creation-theme .add-task-form input:focus {
    border-color: var(--creation-primary);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.btn-add {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-add:hover {
    background: rgba(255, 255, 255, 0.1);
}

.prospect-theme .btn-add {
    background: var(--prospect-gradient);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.creation-theme .btn-add {
    background: var(--creation-gradient);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

.task-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    overflow-y: auto;
    max-height: 280px;
    padding-right: 2px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    animation: slideIn 0.3s ease-out;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.task-item.completed {
    opacity: 0.55;
}

.task-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    flex: 1;
}

.task-item-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.prospect-theme .task-item:hover .task-item-checkbox {
    border-color: var(--prospect-primary);
}

.creation-theme .task-item:hover .task-item-checkbox {
    border-color: var(--creation-primary);
}

.task-item.completed .task-item-checkbox {
    color: white;
}

.prospect-theme .task-item.completed .task-item-checkbox {
    background-color: var(--prospect-primary);
    border-color: var(--prospect-primary);
}

.creation-theme .task-item.completed .task-item-checkbox {
    background-color: var(--creation-primary);
    border-color: var(--creation-primary);
}

.task-item-checkbox i {
    width: 12px;
    height: 12px;
}

.task-title {
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    word-break: break-word;
}

.task-item.completed .task-title {
    text-decoration: line-through;
    color: var(--text-dim);
}

.btn-delete-task {
    background: transparent;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.task-item:hover .btn-delete-task {
    opacity: 1;
}

.btn-delete-task:hover {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.1);
}

.btn-delete-task i {
    width: 16px;
    height: 16px;
}

.color-prospect { color: var(--prospect-primary); }
.color-creation { color: var(--creation-primary); }

/* 4. HÁBITOS DIÁRIOS */
.habits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.875rem;
}

.habit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.habit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.habit-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--text-dim);
    border-radius: 6px;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}

.habit-item input[type="checkbox"]:checked ~ .custom-checkbox {
    background: linear-gradient(135deg, var(--prospect-primary), var(--creation-primary));
    border-color: transparent;
}

.habit-item input[type="checkbox"]:checked ~ .custom-checkbox::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.habit-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.habit-item input[type="checkbox"]:checked ~ .habit-text {
    color: white;
}

/* 5. HISTÓRICO DE DESEMPENHO (GRÁFICO) */
.history-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 100px;
    padding-top: 1rem;
    gap: 0.5rem;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.chart-bar-value {
    font-size: 0.6875rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition-smooth);
}

.chart-bar-container:hover .chart-bar-value {
    opacity: 1;
}

.chart-bar-track {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chart-bar-fill {
    width: 100%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, var(--prospect-primary), var(--creation-primary));
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(99,102,241,0.25);
}

.chart-bar-label {
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 500;
}

/* 6. PLAYBOOK SIDE DRAWER */
.playbook-drawer {
    position: fixed;
    top: 0;
    right: -500px;
    width: 480px;
    height: 100vh;
    background: #0d0f1a;
    border-left: 1px solid var(--card-border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.playbook-drawer.open {
    right: 0;
}

.playbook-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f111e;
}

.playbook-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.playbook-title i {
    width: 20px;
    height: 20px;
    color: var(--prospect-primary);
}

.playbook-title h2 {
    font-family: var(--font-title);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-close-drawer {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-close-drawer:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.btn-close-drawer i {
    width: 20px;
    height: 20px;
}

.playbook-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.playbook-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.playbook-section h3 {
    font-family: var(--font-title);
    font-size: 0.9375rem;
    font-weight: 700;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.playbook-section h3 i {
    width: 16px;
    height: 16px;
}

.playbook-section p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.playbook-sub-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 0.5rem;
}

.playbook-sub-card h4 {
    font-size: 0.8125rem;
    color: white;
    margin-bottom: 0.5rem;
}

.playbook-sub-card ul {
    list-style: none;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.playbook-sub-card ul li strong {
    color: white;
}

/* Border styles for WhatsApp scripts */
.border-left-prospect {
    border-left: 3px solid var(--prospect-primary);
}

.script-quote {
    font-size: 0.75rem;
    color: var(--text-primary);
    background: rgba(0,0,0,0.2);
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.5rem 0;
    font-style: italic;
    border: 1px solid rgba(255,255,255,0.03);
    line-height: 1.4;
}

.script-note {
    font-size: 0.6875rem;
    color: var(--text-dim);
}

/* KEYFRAMES & PULSE */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-pulse {
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
    }
}

/* 7. PROSPECTS TABLE CRM */
.card-prospects-table {
    grid-column: span 12;
}

.table-actions {
    margin-bottom: 1.25rem;
}

.add-lead-form {
    display: grid;
    grid-template-columns: 2fr 1.2fr 2fr 1fr;
    gap: 0.75rem;
}

.add-lead-form input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem;
    color: white;
    font-size: 0.875rem;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.add-lead-form input:focus {
    outline: none;
    border-color: var(--prospect-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-add-action {
    background: var(--prospect-gradient);
    border: none;
    color: white;
    border-radius: var(--radius-sm);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.btn-add-action:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.table-container {
    width: 100%;
    overflow-x: auto;
    background: rgba(255,255,255,0.01);
    border-radius: var(--radius-md);
    border: 1px solid var(--card-border);
}

.prospects-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
    min-width: 750px;
}

.prospects-table th, .prospects-table td {
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid var(--card-border);
    vertical-align: middle;
}

.prospects-table th {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.02);
}

.prospects-table tbody tr {
    transition: var(--transition-smooth);
}

.prospects-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.prospects-table td input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--prospect-primary);
    cursor: pointer;
}

.prospects-table td select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: white;
    padding: 0.35rem 0.65rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.prospects-table td select:focus {
    border-color: var(--prospect-primary);
}

.prospects-table td select option {
    background: var(--card-bg);
    color: white;
}

.link-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #34d399; /* Green Accent for WhatsApp */
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.link-wa:hover {
    color: #059669;
    text-decoration: underline;
}

.link-wa i {
    width: 15px;
    height: 15px;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 1024px) {
    .card-timer {
        grid-column: span 6;
    }
    .card-timeline-list {
        grid-column: span 6;
    }
    .card-habits {
        grid-column: span 12;
    }
    .card-history {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    .card-timer,
    .card-timeline-list,
    .card-tasks,
    .card-habits,
    .card-history,
    .card-prospects-table {
        grid-column: span 12;
    }
    .add-lead-form {
        grid-template-columns: 1fr;
    }
    .header-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-actions {
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
    }
    .time-widget {
        text-align: left;
    }
    .playbook-drawer {
        width: 100%;
        right: -100%;
    }
    .timer-display-container {
        width: 180px;
        height: 180px;
    }
}
