:root {
    --primary-color: #5C6BC0;
    --secondary-color: #7986CB;
    --accent-color: #3F51B5;
    --text-color: #333;
    --light-gray: #f5f5f5;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: white;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: bold;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.pagination {
    gap: 5px;
}

.pagination .page-item .page-link {
    border: none;
    padding: 8px 12px;
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pagination .page-item .page-link:hover:not(.disabled) {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: #6c757d;
    cursor: not-allowed;
}

.pagination .page-link i {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f0f2ff 100%);
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.features-section {
    padding: 80px 0;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.how-it-works {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.pricing-section {
    padding: 80px 0;
}

/* Dashboard Specific Styles */
.dashboard-welcome {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.dashboard-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.custom-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    background: transparent;
}

.custom-table thead th {
    background-color: #f8f9fa;
    border: none;
    padding: 15px;
    font-weight: 600;
    color: var(--text-color);
    text-align: left;
}

.custom-table tbody tr {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    border-radius: 8px;
}

.custom-table tbody tr.contacted-lead {
    background-color: #FFFACD !important;
}

.custom-table tbody tr.converted-lead {
    background-color: #90EE90 !important;
}

.custom-table tbody tr.contacted-lead.converted-lead {
    background-color: #90EE90 !important;
}

.custom-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.custom-table td {
    padding: 15px;
    vertical-align: middle;
    border: none;
    background: transparent;
}

.custom-table td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.custom-table td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.custom-table .form-check.form-switch {
    display: flex;
    justify-content: center;
    padding-left: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 auto;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input.contact-toggle:checked + .toggle-slider {
    background-color: #FFFACD !important;
}

.toggle-switch input.conversion-toggle:checked + .toggle-slider {
    background-color: #90EE90 !important;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer {
    background-color: var(--light-gray);
    padding: 40px 0;
    margin-top: 80px;
}

/* Modern Card Styling */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.card-body {
    padding: 1.5rem;
}

/* Tab Navigation Styling */
.nav-tabs {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border: none;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
    border: none;
    border-bottom: 2px solid var(--primary-color);
}

/* Action Buttons */
.action-button {
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Script Display Styling */
.script-container {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    transition: all 0.3s ease;
    color: #374151;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.script-container b {
    color: #2563eb;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.script-container p {
    margin-bottom: 1rem;
    color: #374151;
}

.initial-message {
    color: #6b7280;
}

.script-container:not(:empty) {
    border-left: 4px solid #2563eb !important;
}

.script-container .script-section {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: #f8fafc;
}

.script-container .script-section:last-child {
    margin-bottom: 0;
}

.script-container .highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.script-container ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.script-container li {
    margin-bottom: 0.5rem;
}

.script-container .tip {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.script-container .warning {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.language-bubble {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.language-bubble.active {
    background-color: var(--primary-color);
    color: white;
}

.action-bubble {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
}

.action-call {
    background-color: #e3f2fd;
    color: #1976d2;
}

.action-email {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.analytics-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-tabs {
    border-bottom: 2px solid #f0f0f0;
    padding: 0 15px;
}

.custom-tabs .nav-link {
    color: #666;
    border: none;
    padding: 12px 20px;
    margin-right: 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
    color: var(--primary-color);
}

.custom-tabs .nav-link.active {
    color: var(--primary-color);
    background: none;
    border-bottom: 2px solid var(--primary-color);
}


.lead-table {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.coming-soon-container {
    padding: 60px 20px;
}

.coming-soon-icon {
    color: var(--primary-color);
}

.coming-soon-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.coming-soon-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.feature-preview-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-preview-card:hover {
    transform: translateY(-5px);
}

.feature-preview-card i {
    color: var(--primary-color);
}

.feature-preview-card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
    color: var(--text-color);
}

/* Toggle Switch Specific Styles - High Specificity */
.custom-table .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 auto;
}

.custom-table .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.custom-table .toggle-switch .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.custom-table .toggle-switch .toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-table .toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.custom-table .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.custom-table .toggle-switch input.contact-toggle:checked + .toggle-slider {
    background-color: #FFE4B5 !important;
}

.custom-table .toggle-switch input.conversion-toggle:checked + .toggle-slider {
    background-color: #32CD32 !important;
}

/* Table Row Status Colors */
.custom-table tbody tr.contacted-lead {
    background-color: rgba(255, 250, 205, 0.6) !important;
}

.custom-table tbody tr.converted-lead {
    background-color: rgba(144, 238, 144, 0.6) !important;
}

.custom-table tbody tr.contacted-lead.converted-lead {
    background-color: rgba(144, 238, 144, 0.6) !important;
}