/* index page styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
   --loginpage_primary-color: #6a306b;
    --loginpage_secondary-color: #ac6ab1;
    --loginpage_accent-color: #c18fc5;
    --loginpage_dark-color: #2d142e;
    --loginpage_light-color: #f8f9fa;
    --loginpage_danger-color: #e63946;
    --loginpage_success-color: #4cc9f0;
    --loginpage_border-radius: 12px;
    --loginpage_box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --loginpage_transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.loginpage_body {
      background: linear-gradient(135deg, #f5e9f7 0%, #e0c0e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.loginpage_container {
    background-color: #fff;
    border-radius: var(--loginpage_border-radius);
    box-shadow: var(--loginpage_box-shadow);
    position: relative;
    overflow: hidden;
    width: 900px;
    max-width: 100%;
    min-height: 700px;
}

/* Desktop Layout */
.loginpage_form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: var(--loginpage_transition);
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginpage_sign-in {
    left: 0;
    width: 50%;
    z-index: 2;
}

.loginpage_container.loginpage_active .loginpage_sign-in {
    transform: translateX(100%);
}

.loginpage_sign-up {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.loginpage_container.loginpage_active .loginpage_sign-up {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }
    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .loginpage_container {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .loginpage_form-container {
        position: relative;
        width: 100%;
        height: auto;
        padding: 40px 20px;
        transform: none !important;
        opacity: 1 !important;
        z-index: 1 !important;
    }

    .loginpage_sign-up {
        display: none;
    }

    .loginpage_sign-up.loginpage_active {
        display: flex;
    }

    .loginpage_sign-in {
        width: 100%;
    }

    .loginpage_toggle-container {
        display: none;
    }

    .loginpage_mobile-toggle-buttons {
        display: flex;
        width: 50%;
       margin-left: auto;
       margin-right: auto;
    }

    .loginpage_mobile-toggle-btn {
        /* flex: 1; */
        padding: 10px 5px !important;
        text-align: center;
        background: #f0f0f0;
        color: #1b263b;
        border: none;
        cursor: pointer;
        font-weight: 600;
        transition: var(--loginpage_transition);
        margin-left: 12px;
    }

    .loginpage_mobile-toggle-btn.loginpage_active {
        background: linear-gradient(to right, var(--loginpage_primary-color), var(--loginpage_secondary-color));
        color: white!important;
    }
}

/* Common Styles */
.loginpage_form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    width: 100%;
    text-align: center;
}

.loginpage_h1 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--loginpage_dark-color);
}

.loginpage_headings {
    color: #bec7d1;
}

.loginpage_social-icons {
    margin: 20px 0;
    margin-top: 0%;
    display: flex;
    gap: 15px;
}

.loginpage_social-icons .loginpage_a {
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    color: var(--loginpage_dark-color);
    transition: var(--loginpage_transition);
}

.loginpage_social-icons .loginpage_a:hover {
    background-color: var(--loginpage_primary-color);
    color: white;
    transform: translateY(-3px);
}

.loginpage_span {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    display: block;
}

.loginpage_input {
    background-color: #f0f0f0;
    border: none;
    margin: 10px 0;
    padding: 15px 20px;
    font-size: 14px;
    border-radius: var(--loginpage_border-radius);
    width: 100%;
    outline: none;
    transition: var(--loginpage_transition);
}

.loginpage_input:focus {
    background-color: #e0e0e0;
    box-shadow: 0 0 0 2px var(--loginpage_accent-color);
}

.loginpage_select {
    background-color: #f0f0f0;
    border: none;
    margin: 10px 0;
    padding: 15px 20px;
    font-size: 14px;
    border-radius: var(--loginpage_border-radius);
    width: 100%;
    outline: none;
    transition: var(--loginpage_transition);
    color: #666;
    cursor: pointer;
}

.loginpage_select:focus {
    background-color: #e0e0e0;
    box-shadow: 0 0 0 2px var(--loginpage_accent-color);
}

.loginpage_a {
    color: var(--loginpage_primary-color);
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0;
    transition: var(--loginpage_transition);
}

.loginpage_a:hover {
    color: var(--loginpage_secondary-color);
    text-decoration: underline;
}

.loginpage_button {
    background-color: var(--loginpage_primary-color);
    color: #fff;
    font-size: 14px;
    padding: 15px 45px;
    border: none;
    border-radius: var(--loginpage_border-radius);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: var(--loginpage_transition);
    width: 100%;
}

.loginpage_button:hover {
    background-color: var(--loginpage_secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.loginpage_button:active {
    transform: translateY(0);
}

.loginpage_button.loginpage_hidden {
    background-color: transparent;
    border: 2px solid #fff;
    color: white;
}

.loginpage_button.loginpage_hidden:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.loginpage_toggle-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: var(--loginpage_transition);
    z-index: 1000;
    border-radius: var(--loginpage_border-radius);
}

.loginpage_container.loginpage_active .loginpage_toggle-container {
    transform: translateX(-100%);
}

.loginpage_toggle {
    background: linear-gradient(to right, var(--loginpage_primary-color), var(--loginpage_secondary-color));
    height: 100%;
    color: #fff;
    position: relative;
    left: -100%;
    width: 200%;
    transform: translateX(0);
    transition: var(--loginpage_transition);
}

.loginpage_container.loginpage_active .loginpage_toggle {
    transform: translateX(50%);
}

.loginpage_toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    transition: var(--loginpage_transition);
}

.loginpage_toggle-left {
    transform: translateX(-200%);
}

.loginpage_container.loginpage_active .loginpage_toggle-left {
    transform: translateX(0);
}

.loginpage_toggle-right {
    right: 0;
    transform: translateX(0);
}

.loginpage_toggle-panel .loginpage_p {
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.5;
}

.loginpage_logo {
    position: absolute;
    top: 30px;
    left: 20%;
    font-size: 24px;
    font-weight: 700;
    color: var(--loginpage_primary-color);
    z-index: 100;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginpage_alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: var(--loginpage_border-radius);
    background-color: var(--loginpage_danger-color);
    color: white;
    box-shadow: var(--loginpage_box-shadow);
    transform: translateX(150%);
    transition: var(--loginpage_transition);
    z-index: 10000;
}

.loginpage_alert.loginpage_show {
    transform: translateX(0);
}

.loginpage_alert.loginpage_success {
    background-color: var(--loginpage_success-color);
}

.loginpage_mobile-toggle-buttons {
    display: none;
}

@media (max-width: 768px) {
    .loginpage_mobile-toggle-buttons {
        display: flex;
    }
    
    .loginpage_toggle-container {
        display: none;
    }
    
    .loginpage_logo {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        padding-top: 20px;
    }
}

.loginpage_create_account_title {
    margin-bottom: 0%;
}

/* admin panel styles */
:root {
     --ap_primary: #6a306b;
    --ap_primary-light: rgba(106, 48, 107, 0.1);
    --ap_secondary: #4d1c4d;
    --ap_accent: #ac6ab1;
    --ap_accent-light: rgba(172, 106, 177, 0.1);
    --ap_success: #4cc9f0;
    --ap_success-light: rgba(76, 201, 240, 0.1);
    --ap_warning: #f8961e;
    --ap_warning-light: rgba(248, 150, 30, 0.1);
    --ap_danger: #f72585;
    --ap_danger-light: rgba(247, 37, 133, 0.1);
    --ap_info: #7209b7;
    --ap_dark: #1a1a2e;
    --ap_dark-light: #16213e;
    --ap_light: #f8f9fa;
    --ap_gray: #e2e8f0;
    --ap_gray-dark: #94a3b8;
    
    --ap_bg-color: #f1f5f9;
    --ap_card-bg: rgba(255, 255, 255, 0.9);
    --ap_text-color: #1e293b;
    --ap_text-muted: #64748b;
    --ap_border-color: rgba(226, 232, 240, 0.6);
    
    --ap_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ap_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ap_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ap_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --ap_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ap_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --ap_sidebar-width: 280px;
    --ap_header-height: 80px;
    --ap_radius: 12px;
    --ap_radius-lg: 16px;
    --ap_radius-xl: 24px;
}

/* Dark mode variables */
.ap_dark-mode {
    --ap_bg-color: #0f172a;
    --ap_card-bg: rgba(30, 41, 59, 0.8);
    --ap_text-color: #f8fafc;
    --ap_text-muted: #94a3b8;
    --ap_border-color: rgba(30, 41, 59, 0.6);
}

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

.ap_body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--ap_bg-color);
    color: var(--ap_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--ap_transition);
}

/* Layout */
.ap_app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Glassmorphism style */
.ap_sidebar {
    width: var(--ap_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--ap_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--ap_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.ap_dark-mode .ap_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.ap_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ap_border-color);
}

.ap_sidebar-header i {
    font-size: 24px;
    color: var(--ap_primary);
    background: var(--ap_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.ap_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ap_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--ap_radius);
    text-decoration: none;
    color: var(--ap_text-muted);
    font-weight: 500;
    transition: var(--ap_transition-fast);
}

.ap_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.ap_menu-item:hover {
    background: var(--ap_primary-light);
    color: var(--ap_primary);
}

.ap_menu-item.ap_active {
    background: var(--ap_primary-light);
    color: var(--ap_primary);
    font-weight: 600;
}

.ap_menu-item.ap_active i {
    color: var(--ap_primary);
}

/* Main content */
.ap_main-content {
    flex: 1;
    margin-left: var(--ap_sidebar-width);
    transition: var(--ap_transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: calc(100% - var(--ap_sidebar-width));
}

/* Header */
.ap_header {
    height: var(--ap_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--ap_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--ap_border-color);
}

.ap_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ap_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ap_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ap_primary-light);
    color: var(--ap_primary);
    border: none;
    cursor: pointer;
    transition: var(--ap_transition-fast);
}

.ap_theme-toggle:hover {
    background: var(--ap_primary);
    color: white;
}

.ap_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--ap_radius);
    transition: var(--ap_transition-fast);
}

.ap_user-profile:hover {
    background-color: var(--ap_primary-light);
}

.ap_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ap_primary);
}

.ap_user-info {
    display: flex;
    flex-direction: column;
}

.ap_user-name {
    font-weight: 600;
    font-size: 14px;
}

.ap_user-role {
    font-size: 12px;
    color: var(--ap_text-muted);
}

/* Profile dropdown */
.ap_profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--ap_radius);
    box-shadow: var(--ap_shadow-md);
    width: 180px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ap_transition-fast);
}

.ap_dark-mode .ap_profile-dropdown {
    background: var(--ap_card-bg);
    border: 1px solid var(--ap_border-color);
}

.ap_user-profile.ap_active .ap_profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ap_dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--ap_text-color);
    text-decoration: none;
    transition: var(--ap_transition-fast);
}

.ap_dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.ap_dropdown-item:hover {
    background-color: var(--ap_primary-light);
    color: var(--ap_primary);
}

/* Content container */
.ap_content-container {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Admin Dashboard */
.ap_admin-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    width: 100%;
}

/* Card styles */
.ap_card {
    background: var(--ap_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--ap_radius-lg);
    box-shadow: var(--ap_shadow);
    border: 1px solid var(--ap_border-color);
    transition: var(--ap_transition);
    width: 100%;
    overflow: hidden;
}

.ap_card:hover {
    box-shadow: var(--ap_shadow-md);
}

.ap_card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--ap_border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ap_card-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap_card-title i {
    color: var(--ap_primary);
}

.ap_card-actions {
    display: flex;
    gap: 12px;
}

.ap_card-body {
    padding: 24px;
    width: 100%;
}

/* Buttons */
.ap_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--ap_radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--ap_transition-fast);
    border: none;
    white-space: nowrap;
}

.ap_btn i {
    font-size: 14px;
}

.ap_btn-primary {
    background: var(--ap_primary);
    color: white;
}

.ap_btn-primary:hover {
    background: var(--ap_secondary);
    transform: translateY(-1px);
}

.ap_btn-outline {
    background: transparent;
    color: var(--ap_primary);
    border: 1px solid var(--ap_primary);
}

.ap_btn-outline:hover {
    background: var(--ap_primary-light);
}

.ap_btn-danger {
    background: var(--ap_danger);
    color: white;
}

.ap_btn-danger:hover {
    background: #d11a6a;
    transform: translateY(-1px);
}

.ap_btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--ap_primary-light);
    color: var(--ap_primary);
}

.ap_btn-icon:hover {
    background: var(--ap_primary);
    color: white;
}

/* Stats cards */
.ap_stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.ap_stat-card {
    padding: 20px;
    border-radius: var(--ap_radius);
    background: var(--ap_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--ap_border-color);
    transition: var(--ap_transition);
}

.ap_stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ap_shadow-lg);
}

.ap_stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ap_stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--ap_radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ap_stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ap_stat-title {
    font-size: 14px;
    color: var(--ap_text-muted);
}

.ap_stat-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.ap_stat-change.ap_positive {
    color: #10b981;
}

.ap_stat-change.ap_negative {
    color: #ef4444;
}

/* Telecaller table */
.ap_telecaller-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--ap_radius);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ap_telecaller-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
}

.ap_telecaller-table thead th {
    position: sticky;
    top: 0;
    background: var(--ap_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--ap_text-muted);
    border-bottom: 1px solid var(--ap_border-color);
    z-index: 10;
}

.ap_telecaller-table tbody tr {
    transition: var(--ap_transition-fast);
}

.ap_telecaller-table tbody tr:hover {
    background: rgba(67, 97, 238, 0.05);
}

.ap_telecaller-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--ap_border-color);
    font-size: 14px;
}

/* Telecaller info styles */
.ap_telecaller-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ap_telecaller-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ap_primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.ap_telecaller-name {
    font-weight: 500;
}

.ap_telecaller-email {
    font-size: 13px;
    color: var(--ap_text-muted);
}

/* Status badges */
.ap_status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.ap_status-badge i {
    font-size: 10px;
}

.ap_status-active {
    background: rgba(106, 48, 107, 0.1);
    color: #6a306b;
}

.ap_status-inactive {
    background: rgba(172, 106, 177, 0.1);
    color: #ac6ab1;
}

/* Action buttons */
.ap_action-buttons {
    display: flex;
    gap: 8px;
}

.ap_action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ap_primary-light);
    color: var(--ap_primary);
    border: none;
    cursor: pointer;
    transition: var(--ap_transition-fast);
}

.ap_action-btn:hover {
    background: var(--ap_primary);
    color: white;
    transform: translateY(-2px);
}

.ap_action-btn.ap_edit {
    background: var(--ap_warning-light);
    color: var(--ap_warning);
}

.ap_action-btn.ap_edit:hover {
    background: var(--ap_warning);
    color: white;
}

.ap_action-btn.ap_delete {
    background: var(--ap_danger-light);
    color: var(--ap_danger);
}

.ap_action-btn.ap_delete:hover {
    background: var(--ap_danger);
    color: white;
}

/* Pagination */
.ap_pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-top: 1px solid var(--ap_border-color);
}

.ap_pagination-info {
    font-size: 14px;
    color: var(--ap_text-muted);
}

.ap_pagination-controls {
    display: flex;
    gap: 8px;
}

.ap_page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--ap_radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--ap_border-color);
    color: var(--ap_text-color);
    cursor: pointer;
    transition: var(--ap_transition-fast);
}

.ap_page-btn:hover {
    background: var(--ap_primary-light);
    border-color: var(--ap_primary);
    color: var(--ap_primary);
}

.ap_page-btn.ap_active {
    background: var(--ap_primary);
    border-color: var(--ap_primary);
    color: white;
}

.ap_page-btn.ap_disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Charts container */
.ap_charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.ap_chart-card {
    padding: 20px;
    border-radius: var(--ap_radius-lg);
    background: var(--ap_card-bg);
    border: 1px solid var(--ap_border-color);
    box-shadow: var(--ap_shadow);
    width: 100%;
    overflow: hidden;
}

.ap_chart-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--ap_text-color);
}

.ap_chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
    min-width: 0; /* Important for chart responsiveness */
}

/* Progress bars */
.ap_progress-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ap_progress-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ap_progress-header {
    display: flex;
    justify-content: space-between;
}

.ap_progress-title {
    font-size: 14px;
    font-weight: 500;
}

.ap_progress-value {
    font-size: 14px;
    font-weight: 600;
}

.ap_progress-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--ap_gray);
    overflow: hidden;
}

.ap_progress-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--ap_primary);
    transition: width 0.6s ease;
}

/* Modal styles */
.ap_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ap_transition);
}

.ap_modal.ap_active {
    opacity: 1;
    visibility: visible;
}

.ap_modal-content {
    background: var(--ap_card-bg);
    padding: 30px;
    border-radius: var(--ap_radius-lg);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--ap_shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.ap_modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ap_border-color);
}

.ap_modal-title {
    font-size: 20px;
    font-weight: 600;
}

.ap_modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ap_text-muted);
    transition: var(--ap_transition-fast);
}

.ap_modal-close:hover {
    color: var(--ap_danger);
}

.ap_modal-body {
    margin-bottom: 20px;
}

.ap_form-group {
    margin-bottom: 20px;
}

.ap_form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.ap_form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--ap_radius);
    border: 1px solid var(--ap_border-color);
    background: var(--ap_bg-color);
    color: var(--ap_text-color);
    font-size: 14px;
    transition: var(--ap_transition-fast);
}

.ap_form-control:focus {
    outline: none;
    border-color: var(--ap_primary);
    box-shadow: 0 0 0 3px var(--ap_primary-light);
}

.ap_form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ap_form-row .ap_form-group {
    flex: 1;
}

.ap_form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.ap_form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--ap_primary);
}

.ap_form-check-label {
    font-size: 14px;
}

.ap_modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--ap_border-color);
}

/* Toast notification */
.ap_toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--ap_card-bg);
    border: 1px solid var(--ap_border-color);
    border-radius: var(--ap_radius);
    padding: 15px 20px;
    box-shadow: var(--ap_shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1100;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--ap_transition);
}

.ap_toast.ap_show {
    transform: translateY(0);
    opacity: 1;
}

.ap_toast i {
    font-size: 20px;
}

.ap_toast.ap_success i {
    color: var(--ap_success);
}

.ap_toast.ap_error i {
    color: var(--ap_danger);
}

.ap_toast-content {
    flex: 1;
}

.ap_toast-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.ap_toast-message {
    font-size: 14px;
    color: var(--ap_text-muted);
}

.ap_toast-close {
    background: transparent;
    border: none;
    color: var(--ap_text-muted);
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
}

/* Tabs */
.ap_tabs {
    display: flex;
    border-bottom: 1px solid var(--ap_border-color);
    margin-bottom: 20px;
}

.ap_tab {
    padding: 12px 20px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: var(--ap_text-muted);
    transition: var(--ap_transition-fast);
}

.ap_tab:hover {
    color: var(--ap_primary);
}

.ap_tab.ap_active {
    color: var(--ap_primary);
}

.ap_tab.ap_active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ap_primary);
}

.ap_tab-content {
    display: none;
}

.ap_tab-content.ap_active {
    display: block;
}

/* Sidebar Toggle Button */
.ap_sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--ap_text-color);
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ap_transition-fast);
}

.ap_sidebar-toggle:hover {
    background: var(--ap_primary-light);
    color: var(--ap_primary);
}

/* Sidebar collapsed state */
.ap_sidebar.ap_collapsed {
    transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.ap_sidebar.ap_collapsed + .ap_main-content {
    margin-left: 0;
    width: 100%;
}

/* Logout confirmation modal */
.ap_logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--ap_transition);
}

.ap_logout-modal.ap_active {
    opacity: 1;
    visibility: visible;
}

.ap_logout-content {
    background: white;
    padding: 25px;
    border-radius: var(--ap_radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--ap_shadow-lg);
    text-align: center;
}

.ap_dark-mode .ap_logout-content {
    background: rgb(5, 7, 37);
}

.ap_logout-content h3 {
    margin-bottom: 15px;
    color: var(--ap_text-color);
}

.ap_logout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.ap_logout-buttons button {
    padding: 8px 20px;
    border-radius: var(--ap_radius);
    border: none;
    cursor: pointer;
    transition: var(--ap_transition-fast);
    font-weight: 500;
}

.ap_logout-confirm {
    background: var(--ap_danger);
    color: white;
}

.ap_logout-confirm:hover {
    background: #d11a6a;
}

.ap_logout-cancel {
    background: var(--ap_gray);
    color: var(--ap_text-color);
}

.ap_logout-cancel:hover {
    background: var(--ap_gray-dark);
}

/* Settings page styles */
.ap_settings-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ap_profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--ap_card-bg);
    border-radius: var(--ap_radius-lg);
    box-shadow: var(--ap_shadow);
    border: 1px solid var(--ap_border-color);
}

.ap_profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ap_primary);
    cursor: pointer;
    transition: var(--ap_transition-fast);
}

.ap_profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--ap_primary-light);
}

.ap_profile-info {
    flex: 1;
}

.ap_profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ap_profile-role {
    font-size: 16px;
    color: var(--ap_text-muted);
    margin-bottom: 12px;
}

.ap_profile-stats {
    display: flex;
    gap: 20px;
}

.ap_profile-stat {
    display: flex;
    flex-direction: column;
}

.ap_stat-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--ap_primary);
}

.ap_stat-label {
    font-size: 14px;
    color: var(--ap_text-muted);
}

.ap_settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ap_settings-section {
    background: var(--ap_card-bg);
    border-radius: var(--ap_radius-lg);
    box-shadow: var(--ap_shadow);
    border: 1px solid var(--ap_border-color);
    padding: 24px;
}

.ap_section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ap_section-title i {
    color: var(--ap_primary);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .ap_sidebar {
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
    
    .ap_sidebar-toggle {
        display: flex;
    }
    
    .ap_main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .ap_sidebar:not(.ap_collapsed) {
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

@media (max-width: 992px) {
    .ap_content-container {
        padding: 20px;
    }
    
    .ap_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .ap_charts-container {
        grid-template-columns: 1fr;
    }
    
    .ap_telecaller-table {
        min-width: 800px;
    }
    
    .ap_profile-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ap_profile-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ap_stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ap_pagination {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .ap_header-title {
        font-size: 20px;
    }
    
    .ap_modal-content {
        padding: 20px;
    }
    
    .ap_form-row {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .ap_stats-grid {
        grid-template-columns: 1fr;
    }
    
    .ap_card-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .ap_btn {
        width: 100%;
    }
    
    .ap_telecaller-table {
        min-width: 600px;
    }
    
    .ap_profile-stats {
        flex-direction: column;
        gap: 10px;
    }
}

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

.ap_animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

.ap_delay-1 { animation-delay: 0.1s; }
.ap_delay-2 { animation-delay: 0.2s; }
.ap_delay-3 { animation-delay: 0.3s; }
.ap_delay-4 { animation-delay: 0.4s; }
/* Add these styles to your existing CSS */

/* Filter Select Styles */
.ap_filter-select {
padding: 10px 12px;
border-radius: var(--ap_radius);
border: 1px solid var(--ap_border-color);
background-color: var(--ap_card-bg);
color: var(--ap_text-color);
font-size: 14px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 16px;
transition: var(--ap_transition-fast);
cursor: pointer;
}

.ap_filter-select:focus {
outline: none;
border-color: var(--ap_primary);
box-shadow: 0 0 0 3px var(--ap_primary-light);
}

/* Dark mode specific select styles */
.ap_dark-mode .ap_filter-select {
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Card Actions Container */
.ap_card-actions {
display: flex;
gap: 12px;
align-items: center;
}

/* Responsive adjustments for card actions */
@media (max-width: 576px) {
.ap_card-actions {
flex-direction: column;
align-items: flex-start;
width: 100%;
}

.ap_filter-select {
width: 100% !important;
}
}

/* Button group styles (if you have multiple elements in card-actions) */
.ap_btn-group {
display: flex;
gap: 8px;
}

/* Add this to make sure selects and buttons align properly */
.ap_card-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}

/* Responsive adjustments for card header */
@media (max-width: 768px) {
.ap_card-header {
flex-direction: column;
align-items: flex-start;
}

.ap_card-title {
width: 100%;
}

.ap_card-actions {
width: 100%;
justify-content: flex-start;
}
}

/* dashboard page styles */
:root {
    --dashp_primary: #6a306b;
    --dashp_primary-light: #f0e6f1;
    --dashp_secondary: #4d1c4d;
    --dashp_accent: #ac6ab1;
    --dashp_light: #f8f9fa;
    --dashp_dark: #212529;
    --dashp_dark-light: #2e1b2e;
    --dashp_success: #4cc9f0;
    --dashp_success-light: #e6f7fd;
    --dashp_warning: #f8961e;
    --dashp_warning-light: #fef3e6;
    --dashp_danger: #f72585;
    --dashp_danger-light: #fde6f1;
    --dashp_info: #560bad;
    --dashp_info-light: #f0e6fa;
    --dashp_gray: #6c757d;
    --dashp_gray-light: #e9ecef;
    --dashp_white: #ffffff;
    --dashp_shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --dashp_shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
    --dashp_transition: all 0.3s ease;
   
    --dashp_bg-color: #f5f7fa;
    --dashp_card-bg: rgba(255, 255, 255, 0.9);
    --dashp_text-color: #1e293b;
    --dashp_text-muted: #64748b;
    --dashp_border-color: rgba(226, 232, 240, 0.6);
    --dashp_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --dashp_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --dashp_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --dashp_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --dashp_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dashp_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --dashp_sidebar-width: 280px;
    --dashp_header-height: 80px;
    --dashp_radius: 8px;
    --dashp_radius-lg: 12px;
    --dashp_radius-xl: 16px;
}
.dashp_dark-mode {
 --dashp_primary-light: rgba(106, 48, 107, 0.2);
--dashp_accent-light: rgba(172, 106, 177, 0.2);   
--dashp_bg-color: #0f172a;
--dashp_card-bg: rgba(30, 41, 59, 0.8);
--dashp_text-color: #f8fafc;
--dashp_text-muted: #94a3b8;
--dashp_border-color: rgba(30, 41, 59, 0.6);
--dashp_white: #1e293b;
--dashp_gray-light: rgba(30, 41, 59, 0.8);
--dashp_dark: #f8fafc;
}
/* Dark mode styles for Stats Cards */
.dashp_dark-mode .dashp_stat-card {
background: var(--dashp_card-bg);
border: 1px solid var(--dashp_border-color);
}

.dashp_dark-mode .dashp_stat-card .dashp_value {
color: var(--dashp_text-color);
}

.dashp_dark-mode .dashp_stat-card .dashp_label {
color: var(--dashp_text-muted);
}

/* Dark mode styles for Follow-ups Section */
.dashp_dark-mode .dashp_followups-section {
background: var(--dashp_card-bg);
border: 1px solid var(--dashp_border-color);
}

.dashp_dark-mode .dashp_followup-item {
border-bottom-color: var(--dashp_border-color);
}

.dashp_dark-mode .dashp_followup-item:hover {
background-color: rgba(67, 97, 238, 0.1);
}

.dashp_dark-mode .dashp_followup-name {
color: var(--dashp_text-color);
}

/* Dark mode styles for Activity Section */
.dashp_dark-mode .dashp_activity-section {
background: var(--dashp_card-bg);
border: 1px solid var(--dashp_border-color);
}

.dashp_dark-mode .dashp_activity-item {
border-bottom-color: var(--dashp_border-color);
}

.dashp_dark-mode .dashp_activity-text {
color: var(--dashp_text-color);
}

.dashp_dark-mode .dashp_activity-icon {
background-color: rgba(72, 149, 239, 0.1);
color: var(--dashp_accent);
}

/* Dark mode styles for sidebar */
.dashp_dark-mode .dashp_sidebar {
background: rgba(15, 23, 42, 0.8);
border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.dashp_dark-mode .dashp_idebar-header {
border-bottom-color: var(--dashp_border-color);
}

.dashp_dark-mode .dashp_menu-item {
color: var(--dashp_text-muted);
}

.dashp_dark-mode .dashp_menu-item:hover,
.dashp_dark-mode .dashp_menu-item.dashp_active {
    background: rgba(106, 48, 107, 0.3);
    color: #ac6ab1;
}

.dashp_dark-mode .dashp_sidebar-footer {
border-top-color: var(--dashp_border-color);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.dashp_body {
    background-color: var(--dashp_bg-color);
    color: var(--dashp_text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--dashp_transition);
    overflow-x: hidden;
}

 /* Sidebar - Glassmorphism style */
 .dashp_sidebar {
    width: var(--dashp_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--dashp_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--dashp_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.dashp_sidebar.dashp_collapsed {
    transform: translateX(-100%);
}

.dashp_dark-mode .dashp_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.dashp_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--dashp_border-color);
}

.dashp_sidebar-header i {
    font-size: 24px;
    color: #6a306b;
    background: #f0e6f1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dashp_dark-mode .dashp_sidebar-header i{
     background-color: rgba(106, 48, 107, 0.2);

}
.dashp_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.dashp_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashp_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--dashp_radius);
    text-decoration: none;
    color: var(--dashp_text-muted);
    font-weight: 500;
    transition: var(--dashp_transition-fast);
}

.dashp_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.dashp_menu-item:hover {
    background: var(--dashp_primary-light);
    color: var(--dashp_primary);
}

.dashp_menu-item.dashp_active {
    background: var(--dashp_primary-light);
    color: var(--dashp_primary);
    font-weight: 600;
}

/* Main content */
.dashp_main-content {
    flex: 1;
    margin-left: var(--dashp_sidebar-width);
    transition: var(--dashp_transition);
    width: calc(100% - var(--dashp_sidebar-width));
}

.dashp_sidebar.dashp_collapsed + .dashp_main-content {
    margin-left: 0;
    width: 100%;
}

/* Header */
.dashp_header {
    height: var(--dashp_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--dashp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--dashp_border-color);
}

.dashp_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashp_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashp_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   background: #f0e6f1;
    color: #6a306b;
    border: none;
    cursor: pointer;
    transition: var(--dashp_transition-fast);
}

.dashp_theme-toggle:hover {
     background: #6a306b;
    color: white;
}

.dashp_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashp_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6a306b;
}

.dashp_user-info {
    display: flex;
    flex-direction: column;
}

.dashp_user-name {
    font-weight: 600;
    font-size: 14px;
}

.dashp_user-role {
    font-size: 12px;
    color: var(--dashp_text-muted);
}


/* Welcome Card */
.dashp_welcome-card {
 background: linear-gradient(135deg, #6a306b 0%, #4d1c4d 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    margin: 30px;
    box-shadow: var(--dashp_shadow);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.dashp_welcome-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.dashp_welcome-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashp_welcome-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.dashp_welcome-card p {
    opacity: 0.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 70%;
}

.dashp_target-progress {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 10px;
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.dashp_progress-bar {
    height: 100%;
    background-color: white;
    border-radius: 10px;
    width: 0;
    transition: width 1s ease;
    position: relative;
}

.dashp_progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.dashp_target-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Stats Cards */
.dashp_stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px;
}

.dashp_stat-card {
    background: var(--dashp_white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--dashp_shadow);
    transition: var(--dashp_transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.dashp_stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.dashp_stat-card.dashp_calls::before {
    background-color: var(--dashp_accent);
}

.dashp_stat-card.dashp_leads::before {
    background-color: green;
}

.dashp_stat-card.dashp_followups::before {
    background-color: var(--dashp_warning);
}

.dashp_stat-card.dashp_converted::before {
    background-color: var(--dashp_danger);
}

.dashp_stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--dashp_shadow-hover);
}

.dashp_stat-card .dashp_icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
    color: white;
    transition: var(--dashp_transition);
}

.dashp_stat-card:hover .dashp_icon {
    transform: scale(1.1);
}

.dashp_stat-card.dashp_calls .dashp_icon {
    background-color: #ac6ab1;
    box-shadow: 0 5px 15px rgba(172, 106, 177, 0.3);
}

.dashp_stat-card.dashp_leads .dashp_icon {
    background-color: var(--dashp_success);
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.dashp_stat-card.dashp_followups .dashp_icon {
    background-color: var(--dashp_warning);
    box-shadow: 0 5px 15px rgba(248, 150, 30, 0.3);
}

.dashp_stat-card.dashp_converted .dashp_icon {
    background-color: var(--dashp_danger);
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.3);
}

.dashp_stat-card .dashp_value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dashp_dark);
    transition: var(--dashp_transition);
}

.dashp_stat-card:hover .dashp_value {
    color: var(--dashp_primary);
}

.dashp_stat-card .dashp_label {
    font-size: 14px;
    color: var(--dashp_gray);
    transition: var(--dashp_transition);
}

.dashp_stat-card:hover .dashp_label {
    color: var(--dashp_dark-light);
}

.dashp_stat-card .dashp_change {
    display: flex;
    align-items: center;
    font-size: 12px;
    margin-top: 10px;
}

.dashp_stat-card .dashp_change.dashp_positive {
    color: var(--dashp_success);
}

.dashp_stat-card .dashp_change.dashp_negative {
    color: var(--dashp_danger);
}

/* Upcoming Follow-ups */
.dashp_followups-section {
    background: var(--dashp_white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--dashp_shadow);
    margin: 30px;
    transition: var(--dashp_transition);
}

.dashp_followups-section:hover {
    box-shadow: var(--dashp_shadow-hover);
}

.dashp_section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashp_section-header h2 {
    font-size: 18px;
    color: var(--dashp_dark);
    display: flex;
    align-items: center;
}

.dashp_section-header h2 i {
    margin-right: 10px;
    font-size: 20px;
}

.dashp_section-header a {
    color: var(--dashp_accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--dashp_transition);
    display: flex;
    align-items: center;
}

.dashp_section-header a i {
    margin-left: 5px;
    font-size: 12px;
}

.dashp_section-header a:hover {
    color: var(--dashp_secondary);
    text-decoration: underline;
}

.dashp_followup-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--dashp_gray-light);
    transition: var(--dashp_transition);
    border-radius: 8px;
}

.dashp_followup-item:last-child {
    border-bottom: none;
}

.dashp_followup-item:hover {
    background-color: var(--dashp_gray-light);
    transform: translateX(5px);
}

.dashp_followup-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--dashp_accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 16px;
    transition: var(--dashp_transition);
}

.dashp_followup-item:hover .dashp_followup-avatar {
    transform: scale(1.1);
}

.dashp_followup-details {
    flex: 1;
    min-width: 0;
}

.dashp_followup-name {
    font-weight: 600;
    color: var(--dashp_dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashp_followup-meta {
    display: flex;
    font-size: 13px;
    color: var(--dashp_gray);
    flex-wrap: wrap;
    gap: 10px 15px;
}

.dashp_followup-meta div {
    display: flex;
    align-items: center;
}

.dashp_followup-meta i {
    margin-right: 5px;
    font-size: 14px;
}

.dashp_followup-actions {
    display: flex;
    margin-left: 15px;
}

.dashp_followup-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  background-color: rgba(172, 106, 177, 0.1);
    color: #ac6ab1;
    border: none;
    cursor: pointer;
    transition: var(--dashp_transition);
    margin-left: 10px;
}

.dashp_followup-btn:hover {
    background-color: #ac6ab1;
    color: white;
    transform: scale(1.1);
}

.dashp_followup-btn.dashp_call {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--dashp_success);
}

.dashp_followup-btn.dashp_call:hover {
    background-color: var(--dashp_success);
    color: white;
}

/* Recent Activity */
.dashp_activity-section {
    background: var(--dashp_white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--dashp_shadow);
    transition: var(--dashp_transition);
    margin: 30px;
}

.dashp_activity-section:hover {
    box-shadow: var(--dashp_shadow-hover);
}

.dashp_activity-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--dashp_gray-light);
    transition: var(--dashp_transition);
}

.dashp_activity-item:last-child {
    border-bottom: none;
}

.dashp_activity-item:hover {
    transform: translateX(5px);
}

.dashp_activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
     background-color: rgba(172, 106, 177, 0.1);
    color: #ac6ab1;
    display: flex;
    align-items: center;
    justify-content: center;
   
    margin-right: 15px;
    flex-shrink: 0;
    transition: var(--dashp_transition);
}

.dashp_activity-item:hover .dashp_activity-icon {
    transform: scale(1.1);
}

.dashp_activity-details {
    flex: 1;
}

.dashp_activity-text {
    margin-bottom: 5px;
    color: var(--dashp_dark);
}

.dashp_activity-text strong {
    color: var(--dashp_primary);
    font-weight: 600;
}

.dashp_activity-time {
    font-size: 12px;
    color: var(--dashp_gray);
    display: flex;
    align-items: center;
}

.dashp_activity-time i {
    margin-right: 5px;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
   
    
    .dashp_welcome-card p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dashp_stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .dashp_header {
   
        padding: 0 20px;
        height: 70px;
    }
    .dashp_theme-toggle{
        margin-right: 0%;
    }
    
    
  
}


/* Sidebar */
.dashp_sidebar {
width: 280px;
background: var(--dashp_white);
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
height: 100vh;
position: fixed;
transition: var(--dashp_transition);
z-index: 100;
overflow-y: auto;
}
/* Sidebar Toggle Button */
.dashp_sidebar-toggle {
display: none; /* Hidden by default on desktop */
background: transparent;
border: none;
color: var(--dashp_text-color);
font-size: 20px;
cursor: pointer;
margin-right: 15px;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--dashp_transition-fast);
}

.dashp_sidebar-toggle:hover {
background: var(--dashp_primary-light);
color: var(--dashp_primary);
}

/* Sidebar collapsed state */
.dashp_sidebar.dashp_collapsed {
transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.dashp_sidebar.dashp_collapsed + .dashp_main-content {
margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.dashp_sidebar {
transform: translateX(0);
transition: transform 0.3s ease;
}

.dashp_sidebar-toggle {
display: flex; /* Show toggle button on mobile */
}
.dashp_main-content {
        margin-left: 0;
        width: 100%;
    }

/* Show sidebar when not collapsed */
.dashp_sidebar:not(.dashp_collapsed) {
box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
}

/* Add this to your CSS */
.dashp_user-profile {
position: relative;
cursor: pointer;
padding: 5px 10px;
border-radius: var(--dashp_radius);
transition: var(--dashp_transition-fast);
}

.dashp_user-profile:hover {
background-color: var(--dashp_primary-light);
}

.dashp_profile-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: var(--dashp_radius);
box-shadow: var(--dashp_shadow-md);
width: 180px;
padding: 10px 0;
z-index: 100;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: var(--dashp_transition-fast);
}

.dashp_dark-mode .dashp_profile-dropdown {
background: var(--dashp_card-bg);
border: 1px solid var(--dashp_border-color);
}

.dashp_user-profile.dashp_active .dashp_profile-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.dashp_dropdown-item {
display: flex;
align-items: center;
padding: 8px 15px;
color: var(--dashp_text-color);
text-decoration: none;
transition: var(--dashp_transition-fast);
}

.dashp_dropdown-item i {
margin-right: 10px;
width: 18px;
text-align: center;
}

.dashp_dropdown-item:hover {
background-color: var(--dashp_primary-light);
color: var(--dashp_primary);
}

/* Logout confirmation modal */
.dashp_logout-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: var(--dashp_transition);
}

.dashp_logout-modal.dashp_active {
opacity: 1;
visibility: visible;
}

.dashp_logout-content {
background: white;
padding: 25px;
border-radius: var(--dashp_radius-lg);
width: 90%;
max-width: 400px;
box-shadow: var(--dashp_shadow-lg);
text-align: center;
}

.dashp_dark-mode .dashp_logout-content {
background: rgb(5, 7, 37);
}


.dashp_logout-content h3 {
margin-bottom: 15px;
color: var(--dashp_text-color);
}

.dashp_logout-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.dashp_logout-buttons button {
padding: 8px 20px;
border-radius: var(--dashp_radius);
border: none;
cursor: pointer;
transition: var(--dashp_transition-fast);
font-weight: 500;
}

.dashp_logout-confirm {
background: var(--dashp_danger);
color: white;
}

.dashp_logout-confirm:hover {
background: #d11a6a;
}

.dashp_logout-cancel {
background: var(--dashp_gray-light);
color: var(--dashp_text-color);
}

.dashp_logout-cancel:hover {
background: #d1d5db;
}

/* calls page css */

:root {
    --calls_primary: #6a306b;
    --calls_primary-light: rgba(106, 48, 107, 0.1);
    --calls_secondary: #5a2a5b; /* A slightly darker version of primary */
    --calls_accent: #ac6ab1;
    --calls_accent-light: rgba(172, 106, 177, 0.1);
    --calls_light: #f8f9fa;
    --calls_dark: #d8a3dd;
    --calls_dark-light: #16213e;
       --calls_success: #4cc9f0; /* You can keep this or change to a purple-adjacent color */
    --calls_warning: #f8961e; /* Keep or adjust */
    --calls_danger: #e74c3c; /* Changed to a more vibrant red that works with purple */
    --calls_info: #6a306b; /* Using primary color for info */
    --calls_gray: #e2e8f0;
    --calls_gray-dark: #94a3b8;
    
    --calls_bg-color: #f5f7fa;
    --calls_card-bg: rgba(255, 255, 255, 0.9);
    --calls_text-color: #1e293b;
    --calls_text-muted: #64748b;
    --calls_border-color: rgba(226, 232, 240, 0.6);
    
    --calls_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --calls_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --calls_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --calls_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --calls_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --calls_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --calls_sidebar-width: 280px;
    --calls_header-height: 80px;
    --calls_radius: 8px;
    --calls_radius-lg: 12px;
    --calls_radius-xl: 16px;
}

.calls_dark-mode {
    --calls_primary: #7d3c7e; /* Slightly lighter purple for dark mode */
    --calls_accent: #b97dbe; /* Slightly lighter lavender for dark mode */
    --calls_bg-color: #0f172a;
    --calls_card-bg: rgba(30, 41, 59, 0.8);
    --calls_text-color: #f8fafc;
    --calls_text-muted: #94a3b8;
    --calls_border-color: rgba(30, 41, 59, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.calls_body {
    background-color: var(--calls_bg-color);
    color: var(--calls_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--calls_transition);
    overflow-x: hidden;
}

/* Layout */
.calls_app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar - Glassmorphism style */
.calls_sidebar {
    width: var(--calls_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--calls_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--calls_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.calls_dark-mode .calls_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.calls_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--calls_border-color);
}

.calls_sidebar-header i {
    font-size: 24px;
    color: var(--calls_primary);
    background: var(--calls_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calls_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.calls_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calls_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--calls_radius);
    text-decoration: none;
    color: var(--calls_text-muted);
    font-weight: 500;
    transition: var(--calls_transition-fast);
}

.calls_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.calls_menu-item:hover {
    background: var(--calls_primary-light);
    color: var(--calls_primary);
}

.calls_menu-item.calls_active {
    background: var(--calls_primary-light);
    color: var(--calls_primary);
    font-weight: 600;
}

/* Main content */
.calls_main-content {
    flex: 1;
    margin-left: var(--calls_sidebar-width);
    transition: var(--calls_transition);
    width: calc(100% - var(--calls_sidebar-width));
}

/* Header */
.calls_header {
    height: var(--calls_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--calls_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--calls_border-color);
}

.calls_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.calls_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calls_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--calls_primary-light);
    color: var(--calls_primary);
    border: none;
    cursor: pointer;
    transition: var(--calls_transition-fast);
}

.calls_theme-toggle:hover {
    background: var(--calls_primary);
    color: white;
}

.calls_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calls_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--calls_primary);
}

.calls_user-info {
    display: flex;
    flex-direction: column;
}

.calls_user-name {
    font-weight: 600;
    font-size: 14px;
}

.calls_user-role {
    font-size: 12px;
    color: var(--calls_text-muted);
}

/* Profile dropdown */
.calls_user-profile {
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--calls_radius);
    transition: var(--calls_transition-fast);
}

.calls_user-profile:hover {
    background-color: var(--calls_primary-light);
}

.calls_profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--calls_radius);
    box-shadow: var(--calls_shadow-md);
    width: 180px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--calls_transition-fast);
}

.calls_dark-mode .calls_profile-dropdown {
    background: var(--calls_card-bg);
    border: 1px solid var(--calls_border-color);
}

.calls_user-profile.calls_active .calls_profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.calls_dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--calls_text-color);
    text-decoration: none;
    transition: var(--calls_transition-fast);
}

.calls_dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.calls_dropdown-item:hover {
    background-color: var(--calls_primary-light);
    color: var(--calls_primary);
}

/* Logout confirmation modal */
.calls_logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--calls_transition);
}

.calls_logout-modal.calls_active {
    opacity: 1;
    visibility: visible;
}

.calls_logout-content {
    background: white;
    padding: 25px;
    border-radius: var(--calls_radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--calls_shadow-lg);
    text-align: center;
}

.calls_dark-mode .calls_logout-content {
    background: rgb(5, 7, 37);
}

.calls_logout-content h3 {
    margin-bottom: 15px;
    color: var(--calls_text-color);
}

.calls_logout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.calls_logout-buttons button {
    padding: 8px 20px;
    border-radius: var(--calls_radius);
    border: none;
    cursor: pointer;
    transition: var(--calls_transition-fast);
    font-weight: 500;
}

.calls_logout-confirm {
    background: var(--calls_danger);
    color: white;
}

.calls_logout-confirm:hover {
    background: #d11a6a;
}

.calls_logout-cancel {
    background: var(--calls_gray-light);
    color: var(--calls_text-color);
}

.calls_logout-cancel:hover {
    background: #d1d5db;
}

/* Content container */
.calls_content-container {
    padding: 30px;
}

/* Calls Page Specific Styles */
.calls_calls-container {
    display: block;
}

.calls_calls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calls_calls-title {
    font-size: 24px;
    font-weight: 700;
}

.calls_calls-filters {
    display: flex;
    gap: 10px;
}

.calls_filter-select {
    padding: 8px 12px;
    border-radius: var(--calls_radius);
    border: 1px solid var(--calls_border-color);
    background-color: var(--calls_card-bg);
    color: var(--calls_text-color);
    cursor: pointer;
}

.calls_filter-select:focus {
    outline: none;
    border-color: var(--calls_accent);
}

.calls_calls-list {
    background: var(--calls_card-bg);
    border-radius: var(--calls_radius-lg);
    padding: 20px;
    box-shadow: var(--calls_shadow);
    border: 1px solid var(--calls_border-color);
    margin-bottom: 20px;
}

.calls_call-item {
    display: flex;
    padding: 15px;
    border-radius: var(--calls_radius);
    margin-bottom: 10px;
    transition: var(--calls_transition-fast);
    border: 1px solid var(--calls_border-color);
    position: relative;
}

.calls_call-item:hover {
    background-color: var(--calls_primary-light);
    transform: translateY(-2px);
    box-shadow: var(--calls_shadow-md);
}

.calls_call-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--calls_accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.calls_call-details {
    flex: 1;
}

.calls_call-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.calls_call-name {
    font-weight: 600;
    color: var(--calls_text-color);
}

.calls_call-time {
    font-size: 12px;
    color: var(--calls_text-muted);
}

.calls_call-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.calls_call-status {
    font-size: 13px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
}

.calls_status-answered {
    background-color: rgba(172, 106, 177, 0.1); /* Using accent color */
    color: var(--calls_accent);
}

.calls_status-missed {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--calls_danger);
}

.calls_status-scheduled {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--calls_warning);
}

.calls_call-duration {
    font-size: 12px;
    color: var(--calls_text-muted);
    display: flex;
    align-items: center;
}

.calls_call-duration i {
    margin-right: 5px;
}

.calls_call-notes-preview {
    font-size: 13px;
    color: var(--calls_text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calls_call-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.calls_call-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--calls_accent-light);
    color: var(--calls_accent);
    border: none;
    cursor: pointer;
    transition: var(--calls_transition-fast);
}

.calls_call-action-btn:hover {
    background-color: var(--calls_accent);
    color: white;
}

.calls_call-action-btn.calls_call {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--calls_success);
}

.calls_call-action-btn.calls_call:hover {
    background-color: var(--calls_success);
    color: white;
}

.calls_call-action-btn.calls_note {
    background-color: rgba(72, 149, 239, 0.1);
    color: var(--calls_accent);
}

.calls_call-action-btn.calls_note:hover {
    background-color: var(--calls_accent);
    color: white;
}

.calls_call-action-btn.calls_view {
    background-color: rgba(86, 11, 173, 0.1);
    color: var(--calls_info);
}

.calls_call-action-btn.calls_view:hover {
    background-color: var(--calls_info);
    color: white;
}

.calls_call-action-btn.calls_delete {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--calls_danger);
}

.calls_call-action-btn.calls_delete:hover {
    background-color: var(--calls_danger);
    color: white;
}

/* Pagination */
.calls_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.calls_pagination-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--calls_primary-light);
    color: var(--calls_primary);
    border: none;
    cursor: pointer;
    transition: var(--calls_transition-fast);
}

.calls_pagination-btn:hover {
    background-color: var(--calls_primary);
    color: white;
}

.calls_pagination-btn.calls_active {
    background-color: var(--calls_primary);
    color: white;
}

/* Stats Cards */
.calls_stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.calls_stat-card {
    background: var(--calls_card-bg);
    border-radius: var(--calls_radius);
    padding: 20px;
    box-shadow: var(--calls_shadow);
    border: 1px solid var(--calls_border-color);
    transition: var(--calls_transition);
}

.calls_stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--calls_shadow-md);
}

.calls_stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.calls_stat-label {
    font-size: 14px;
    color: var(--calls_text-muted);
}

.calls_stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.calls_stat-calls {
    background-color: rgba(172, 106, 177, 0.1);
    color: var(--calls_accent);
}

.calls_stat-duration {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--calls_success);
}

.calls_stat-conversion {
    background-color: rgba(106, 48, 107, 0.1);
    color: var(--calls_primary);
}

/* Add Call Button */
.calls_add-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--calls_primary);
    color: white;
    border: none;
    border-radius: var(--calls_radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--calls_transition-fast);
    margin-bottom: 20px;
}

.calls_add-call-btn:hover {
    background-color: var(--calls_secondary);
    transform: translateY(-2px);
    box-shadow: var(--calls_shadow-md);
}

/* Call Details Modal */
.calls_call-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--calls_transition);
}

.calls_call-modal.calls_active {
    opacity: 1;
    visibility: visible;
}

.calls_call-modal-content {
    background: var(--calls_card-bg);
    border-radius: var(--calls_radius-lg);
    padding: 25px;
    box-shadow: var(--calls_shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.calls_call-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--calls_border-color);
}

.calls_call-modal-title {
    font-size: 20px;
    font-weight: 600;
}

.calls_close-modal {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--calls_text-muted);
    transition: var(--calls_transition-fast);
}

.calls_close-modal:hover {
    color: var(--calls_danger);
}

.calls_call-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.calls_call-info-item {
    margin-bottom: 10px;
}

.calls_call-info-label {
    font-size: 13px;
    color: var(--calls_text-muted);
    margin-bottom: 5px;
}

.calls_call-info-value {
    font-size: 15px;
    font-weight: 500;
}

.calls_call-notes-content {
    margin-top: 20px;
}

.calls_call-notes-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calls_call-notes-text {
    background: var(--calls_bg-color);
    padding: 15px;
    border-radius: var(--calls_radius);
    border: 1px solid var(--calls_border-color);
    line-height: 1.6;
}

.calls_call-keypoints {
    margin-top: 20px;
}

.calls_keypoints-list {
    list-style-type: none;
}

.calls_keypoints-list li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--calls_border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calls_keypoints-list li:last-child {
    border-bottom: none;
}

.calls_keypoints-list li i {
    color: var(--calls_accent);
}

.calls_call-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--calls_border-color);
}

.calls_modal-btn {
    padding: 8px 16px;
    border-radius: var(--calls_radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--calls_transition-fast);
}

.calls_modal-btn.calls_edit {
    background-color: var(--calls_accent);
    color: white;
}

.calls_modal-btn.calls_edit:hover {
    background-color: #9a5b9f; /* Slightly darker accent */
}

.calls_modal-btn.calls_delete {
    background-color: var(--calls_danger);
    color: white;
}

.calls_modal-btn.calls_delete:hover {
    background-color: #d11a6a;
}

.calls_modal-btn.calls_close {
    background-color: var(--calls_gray);
    color: var(--calls_text-color);
}

.calls_modal-btn.calls_close:hover {
    background-color: #d1d5db;
}

/* Add/Edit Call Form */
.calls_call-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calls_form-group {
    margin-bottom: 15px;
}

.calls_form-group.calls_full-width {
    grid-column: span 2;
}

.calls_form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.calls_form-input,
.calls_form-select,
.calls_form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--calls_border-color);
    border-radius: var(--calls_radius);
    background: var(--calls_card-bg);
    color: var(--calls_text-color);
    transition: var(--calls_transition-fast);
}

.calls_form-textarea {
    min-height: 100px;
    resize: vertical;
}

.calls_form-input:focus,
.calls_form-select:focus,
.calls_form-textarea:focus {
    outline: none;
    border-color: var(--calls_accent);
    box-shadow: 0 0 0 3px var(--calls_accent-light);
}

.calls_form-actions {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

/* Key Points Input */
.calls_keypoints-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.calls_keypoints-input {
    flex: 1;
}

.calls_add-keypoint {
    width: 40px;
    height: 40px;
    border-radius: var(--calls_radius);
    background: var(--calls_accent);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--calls_transition-fast);
}

.calls_add-keypoint:hover {
    background: #3a7bc8;
}

.calls_keypoints-preview {
    margin-top: 10px;
}

.calls_keypoint-tag {
    display: inline-flex;
    align-items: center;
    background: var(--calls_accent-light);
    color: var(--calls_accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.calls_remove-keypoint {
    margin-left: 6px;
    cursor: pointer;
    color: var(--calls_danger);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .calls_sidebar-toggle {
        display: flex;
    }
    
    .calls_main-content {
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .calls_stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .calls_call-info-grid {
        grid-template-columns: 1fr;
    }
    
    .calls_call-form {
        grid-template-columns: 1fr;
    }
    
    .calls_form-group.calls_full-width {
        grid-column: span 1;
    }
    
    .calls_form-actions {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .calls_content-container {
        padding: 20px;
    }
    
    .calls_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .calls_calls-filters {
        flex-direction: column;
        width: 100%;
    }
    
    .calls_filter-select {
        width: 100%;
    }
    
    .calls_header-title {
        font-size: 20px;
    }
    
    .calls_stats-grid {
        grid-template-columns: 1fr;
    }
    
    .calls_call-item {
        flex-direction: column;
    }
    
    .calls_call-avatar {
        margin-bottom: 10px;
    }
    
    .calls_call-actions {
        margin-top: 10px;
        justify-content: flex-end;
    }
}

/* Sidebar Toggle Button */
.calls_sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--calls_text-color);
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--calls_transition-fast);
}

.calls_sidebar-toggle:hover {
    background: var(--calls_primary-light);
    color: var(--calls_primary);
}

/* Sidebar collapsed state */
.calls_sidebar.calls_collapsed {
    transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.calls_sidebar.calls_collapsed + .calls_main-content {
    margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .calls_sidebar {
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
    
    .calls_sidebar-toggle {
        display: flex;
    }
    
    .calls_main-content {
        margin-left: 0;
    }
    
    /* Show sidebar when not collapsed */
    .calls_sidebar:not(.calls_collapsed) {
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

/* followup page styles */
 /* All the same CSS from the lead details page */
 :root {
    --fp_primary: #6a306b;
    --fp_primary-light: rgba(106, 48, 107, 0.1);
    --fp_secondary: #5a2a5b; /* Darker shade of primary */
    --fp_accent: #ac6ab1;
    --fp_accent-light: rgba(172, 106, 177, 0.1);
    --fp_light: #f8f9fa;
    --fp_dark: #212529;
    --fp_dark-light: #16213e;
     --fp_success: #4cc9f0; /* Can keep or change to #8a4fff for purple harmony */
    --fp_warning: #f8961e; /* Can keep or change to #ff9f1c for contrast */
    --fp_danger: #e74c3c; /* More vibrant red that works with purple */
    --fp_info: #6a306b; /* Using primary color for info */
    --fp_gray: #e2e8f0;
    --fp_gray-dark: #94a3b8;
    
    --fp_bg-color: #f5f7fa;
    --fp_card-bg: rgba(255, 255, 255, 0.9);
    --fp_text-color: #1e293b;
    --fp_text-muted: #64748b;
    --fp_border-color: rgba(226, 232, 240, 0.6);
    
    --fp_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --fp_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --fp_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --fp_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --fp_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fp_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --fp_sidebar-width: 280px;
    --fp_header-height: 80px;
    --fp_radius: 8px;
    --fp_radius-lg: 12px;
    --fp_radius-xl: 16px;
}

.fp_dark-mode {
     --fp_primary: #7d3c7e; /* Lighter purple for dark mode */
    --fp_accent: #b97dbe; /* Lighter lavender for dark mode */
    --fp_bg-color: #0f172a;
    --fp_card-bg: rgba(30, 41, 59, 0.8);
    --fp_text-color: #f8fafc;
    --fp_text-muted: #94a3b8;
    --fp_border-color: rgba(30, 41, 59, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fp_body {
    background-color: var(--fp_bg-color);
    color: var(--fp_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--fp_transition);
    overflow-x: hidden;
}

/* Layout */
.fp_app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar - Glassmorphism style */
.fp_sidebar {
    width: var(--fp_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--fp_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--fp_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.fp_sidebar.fp_collapsed {
    transform: translateX(-100%);
}

.fp_dark-mode .fp_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.fp_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--fp_border-color);
}

.fp_sidebar-header i {
    font-size: 24px;
    color: var(--fp_primary);
    background: var(--fp_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.fp_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fp_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--fp_radius);
    text-decoration: none;
    color: var(--fp_text-muted);
    font-weight: 500;
    transition: var(--fp_transition-fast);
}

.fp_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.fp_menu-item:hover {
    background: var(--fp_primary-light);
    color: var(--fp_primary);
}

.fp_menu-item.fp_active {
    background: var(--fp_primary-light);
    color: var(--fp_primary);
    font-weight: 600;
}

/* Main content */
.fp_main-content {
    flex: 1;
    margin-left: var(--fp_sidebar-width);
    transition: var(--fp_transition);
    width: calc(100% - var(--fp_sidebar-width));
}

.fp_sidebar.fp_collapsed + .fp_main-content {
    margin-left: 0;
    width: 100%;
}

/* Header */
.fp_header {
    height: var(--fp_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--fp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--fp_border-color);
}

.fp_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fp_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.fp_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fp_primary-light);
    color: var(--fp_primary);
    border: none;
    cursor: pointer;
    transition: var(--fp_transition-fast);
}

.fp_theme-toggle:hover {
    background: var(--fp_primary);
    color: white;
}

.fp_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fp_primary);
}

.fp_user-info {
    display: flex;
    flex-direction: column;
}

.fp_user-name {
    font-weight: 600;
    font-size: 14px;
}

.fp_user-role {
    font-size: 12px;
    color: var(--fp_text-muted);
}



/* Content container */
.fp_content-container {
    padding: 30px;
}

/* Follow-ups Page Specific Styles */
.fp_followups-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
}

.fp_followups-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fp_followups-title {
    font-size: 24px;
    font-weight: 700;
}

.fp_followups-filters {
    display: flex;
    gap: 10px;
}

.fp_filter-select {
    padding: 8px 12px;
    border-radius: var(--fp_radius);
    border: 1px solid var(--fp_border-color);
    background-color: var(--fp_card-bg);
    color: var(--fp_text-color);
    cursor: pointer;
}

.fp_filter-select:focus {
    outline: none;
    border-color: var(--fp_accent);
}

/* Calendar View */
.fp_calendar-view {
    background: var(--fp_card-bg);
    border-radius: var(--fp_radius-lg);
    padding: 20px;
    box-shadow: var(--fp_shadow);
    border: 1px solid var(--fp_border-color);
    margin-bottom: 20px;
}

.fp_calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fp_calendar-month {
    font-size: 20px;
    font-weight: 600;
}

.fp_calendar-nav {
    display: flex;
    gap: 10px;
}

.fp_calendar-nav-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fp_primary-light);
    color: var(--fp_primary);
    border: none;
    cursor: pointer;
    transition: var(--fp_transition-fast);
}

.fp_calendar-nav-btn:hover {
    background-color: var(--fp_primary);
    color: white;
}

.fp_calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.fp_calendar-day-header {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    padding: 5px;
    color: var(--fp_text-muted);
}

.fp_calendar-day {
    aspect-ratio: 1;
    padding: 5px;
    border-radius: var(--fp_radius);
    cursor: pointer;
    transition: var(--fp_transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fp_calendar-day:hover {
    background-color: var(--fp_primary-light);
}

.fp_calendar-day-number {
    font-weight: 500;
    margin-bottom: 2px;
}

.fp_calendar-day.fp_today {
    background-color: var(--fp_accent-light);
    color: var(--accent);
}

.fp_calendar-day.fp_has-followups::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--fp_warning);
}

.fp_calendar-day.fp_selected {
    background-color: var(--fp_primary);
    color: white;
}

/* Follow-ups List */
.fp_followups-list {
    background: var(--fp_card-bg);
    border-radius: var(--fp_radius-lg);
    padding: 20px;
    box-shadow: var(--fp_shadow);
    border: 1px solid var(--fp_border-color);
}

.fp_followup-item {
    display: flex;
    padding: 15px;
    border-radius: var(--fp_radius);
    margin-bottom: 15px;
    transition: var(--fp_transition-fast);
    border: 1px solid var(--fp_border-color);
}

.fp_followup-item:hover {
    background-color: var(--fp_primary-light);
    transform: translateY(-2px);
    box-shadow: var(--fp_shadow-md);
}

.fp_followup-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--fp_accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.fp_followup-details {
    flex: 1;
}

.fp_followup-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.fp_followup-name {
    font-weight: 600;
    color: var(--fp_text-color);
}

.fp_followup-time {
    font-size: 12px;
    color: var(--fp_text-muted);
}

.fp_followup-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.fp_followup-status {
    font-size: 13px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
}

.fp_status-scheduled {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--fp_warning);
}

.fp_status-completed {
     background-color: rgba(172, 106, 177, 0.1); /* Using accent color */
    color: var(--fp_accent);
}

.fp_status-overdue {
    background-color: rgba(231, 76, 60, 0.1); /* Using updated danger color */
    color: var(--fp_danger);
}

.fp_followup-notes-preview {
    font-size: 13px;
    color: var(--fp_text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp_followup-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fp_followup-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fp_accent-light);
    color: var(--accent);
    border: none;
    cursor: pointer;
    transition: var(--fp_transition-fast);
}

.fp_followup-action-btn:hover {
    background-color: var(--fp_accent);
    color: white;
}

.fp_followup-action-btn.fp_call {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--fp_uccess);
}

.fp_followup-action-btn.fp_call:hover {
    background-color: var(--fp_success);
    color: white;
}

.fp_followup-action-btn.fp_complete {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--fp_primary);
}

.fp_followup-action-btn.fp_complete:hover {
    background-color: var(--fp_primary);
    color: white;
}

.fp_followup-action-btn.fp_edit {
    background-color: rgba(72, 149, 239, 0.1);
    color: var(--fp_accent);
}

.fp_followup-action-btn.fp_edit:hover {
    background-color: var(--fp_accent);
    color: white;
}

.fp_followup-action-btn.fp_delete {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--fp_danger);
}

.fp_followup-action-btn.fp_delete:hover {
    background-color: var(--fp_danger);
    color: white;
}

/* Stats Cards */
.fp_stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.fp_stat-card {
    background: var(--fp_card-bg);
    border-radius: var(--fp_radius);
    padding: 20px;
    box-shadow: var(--fp_shadow);
    border: 1px solid var(--fp_border-color);
    transition: var(--fp_transition);
}

.fp_stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--fp_shadow-md);
}

.fp_stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.fp_stat-label {
    font-size: 14px;
    color: var(--fp_text-muted);
}

.fp_stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.fp_stat-scheduled {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--fp_warning);
}

.fp_stat-completed {
     background-color: rgba(172, 106, 177, 0.1);
    color: var(--fp_accent);
}

.fp_stat-overdue {
  background-color: rgba(231, 76, 60, 0.1);
    color: var(--fp_danger);
}

/* Follow-up Panel */
.fp_followup-panel {
    background: var(--fp_card-bg);
    border-radius: var(--fp_radius-lg);
    padding: 25px;
    box-shadow: var(--fp_shadow);
    border: 1px solid var(--fp_border-color);
    position: sticky;
    top: calc(var(--fp_header-height) + 20px);
    transition: var(--fp_transition);
    height: fit-content;
}

.fp_followup-panel-title {
    font-size: 18px;
    color: var(--fp_text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.fp_followup-panel-title i {
    margin-right: 10px;
    color: var(--fp_accent);
}

.fp_followup-form-group {
    margin-bottom: 15px;
}

.fp_followup-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.fp_followup-form-input,
.fp_followup-form-select,
.fp_followup-form-textarea {
    width: 100%;
    padding: 10px;
    border-radius: var(--fp_radius);
    border: 1px solid var(--fp_border-color);
    background-color: var(--fp_card-bg);
    color: var(--fp_text-color);
    transition: var(--fp_transition-fast);
}

.fp_followup-form-input:focus,
.fp_followup-form-select:focus,
.fp_followup-form-textarea:focus {
    outline: none;
    border-color: var(--fp_accent);
    box-shadow: 0 0 0 3px var(--fp_accent-light);
}

.fp_followup-form-textarea {
    min-height: 100px;
    resize: none;
}

.fp_followup-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
}

.fp_followup-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.fp_followup-btn {
    padding: 12px;
    border-radius: var(--fp_radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--fp_transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp_followup-btn i {
    margin-right: 8px;
}

.fp_followup-btn.fp_primary {
    background-color: var(--fp_primary);
    color: white;
}

.fp_followup-btn.fp_primary:hover {
    background-color: var(--fp_secondary);
    transform: translateY(-1px);
}

.fp_followup-btn.fp_secondary {
    background-color: var(--fp_accent-light);
    color: var(--fp_accent);
}

.fp_followup-btn.fp_secondary:hover {
    background-color: var(--fp_accent);
    color: white;
    transform: translateY(-1px);
}

/* Empty State */
.fp_empty-state {
    text-align: center;
    padding: 40px 20px;
}

.fp_empty-state i {
    font-size: 50px;
    color: var(--fp_text-muted);
    margin-bottom: 20px;
    opacity: 0.5;
}

.fp_empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--fp_text-color);
}

.fp_empty-state p {
    color: var(--fp_text-muted);
    max-width: 300px;
    margin: 0 auto;
}

/* Modal */
.fp_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--fp_transition);
}

.fp_modal.fp_active {
    opacity: 1;
    visibility: visible;
}

.fp_modal-content {
    background: var(--fp_card-bg);
    padding: 25px;
    border-radius: var(--fp_radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--fp_shadow-lg);
}

.fp_modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fp_modal-title {
    font-size: 20px;
    font-weight: 600;
}

.fp_modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--fp_text-muted);
}

.fp_modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.fp_modal-btn {
    padding: 8px 16px;
    border-radius: var(--fp_radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--fp_transition-fast);
}

.fp_modal-btn.fp_primary {
    background-color: var(--fp_primary);
    color: white;
}

.fp_modal-btn.fp_secondary {
    background-color: var(--fp_gray);
    color: var(--fp_text-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .fp_followups-container {
        grid-template-columns: 1fr;
    }
    
    .fp_followup-panel {
        position: static;
        margin-top: 20px;
    }
    
    .fp_sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .fp_sidebar.fp_active {
        transform: translateX(0);
    }
    
    .fp_main-content {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .fp_stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .fp_content-container {
        padding: 20px;
    }
    
    .fp_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .fp_followups-filters {
        flex-direction: column;
        width: 100%;
    }
    
    .fp_filter-select {
        width: 100%;
    }
    
    .fp_header-title {
        font-size: 20px;
    }
    
    .fp_stats-grid {
        grid-template-columns: 1fr;
    }
    
    .fp_calendar-grid {
        gap: 2px;
    }
}
/* Sidebar Toggle Button */
.fp_sidebar-toggle {
display: none; /* Hidden by default on desktop */
background: transparent;
border: none;
color: var(--fp_text-color);
font-size: 20px;
cursor: pointer;
margin-right: 15px;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--fp_transition-fast);
}

.fp_sidebar-toggle:hover {
background: var(--fp_primary-light);
color: var(--fp_primary);
}

/* Sidebar collapsed state */
.fp_sidebar.fp_collapsed {
transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.fp_sidebar.fp_collapsed + .fp_main-content {
margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.fp_sidebar {
transform: translateX(0);
transition: transform 0.3s ease;
}

.fp_sidebar-toggle {
display: flex; /* Show toggle button on mobile */
}

.fp_main-content {
margin-left: 0;
}

/* Show sidebar when not collapsed */
.fp_sidebar:not(.fp_collapsed) {
box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
}

/* Add this to your CSS */
.fp_user-profile {
position: relative;
cursor: pointer;
padding: 5px 10px;
border-radius: var(--fp_radius);
transition: var(--fp_transition-fast);
}

.fp_user-profile:hover {
background-color: var(--fp_primary-light);
}

.fp_profile-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: var(--vradius);
box-shadow: var(--vshadow-md);
width: 180px;
padding: 10px 0;
z-index: 100;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: var(--vtransition-fast);
}

.fp_dark-mode .fp_profile-dropdown {
background: var(--vcard-bg);
border: 1px solid var(--vborder-color);
}

.fp_user-profile.fp_active .fp_profile-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.fp_dropdown-item {
display: flex;
align-items: center;
padding: 8px 15px;
color: var(--fp_text-color);
text-decoration: none;
transition: var(--fp_transition-fast);
}

.fp_dropdown-item i {
margin-right: 10px;
width: 18px;
text-align: center;
}

.fp_dropdown-item:hover {
background-color: var(--fp_primary-light);
color: var(--fp_primary);
}

/* Logout confirmation modal */
.fp_logout-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: var(--fp_transition);
}

.fp_logout-modal.fp_active {
opacity: 1;
visibility: visible;
}

.fp_logout-content {
background: white;
padding: 25px;
border-radius: var(--fp_radius-lg);
width: 90%;
max-width: 400px;
box-shadow: var(--fp_shadow-lg);
text-align: center;
}

.fp_dark-mode .fp_logout-content {
background: rgb(5, 7, 37);
}

.fp_logout-content h3 {
margin-bottom: 15px;
color: var(--fp_text-color);
}

.fp_logout-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.fp_logout-buttons button {
padding: 8px 20px;
border-radius: var(--fp_radius);
border: none;
cursor: pointer;
transition: var(--fp_transition-fast);
font-weight: 500;
}

.fp_logout-confirm {
background: var(--fp_danger);
color: white;
}

.fp_logout-confirm:hover {
background: #d11a6a;
}

.fp_logout-cancel {
background: var(--fp_gray);
color: var(--fp_text-color);
}

.fp_logout-cancel:hover {
background: #d1d5db;
}

/* lead management page styles */
:root {
   --lp_primary: #6a306b;
    --lp_primary-light: rgba(106, 48, 107, 0.1);
    --lp_secondary: #5a2961;
    --lp_accent: #ac6ab1;
    --lp_accent-light: rgba(172, 106, 177, 0.1);
    --lp_info: #6a306b;
    --lp_success: #4cc9f0;
    --lp_success-light: rgba(76, 201, 240, 0.1);
    --lp_warning: #f8961e;
    --lp_warning-light: rgba(248, 150, 30, 0.1);
    --lp_danger: #f72585;
    --lp_danger-light: rgba(247, 37, 133, 0.1);
    --lp_dark: #1a1a2e;
    --lp_dark-light: #16213e;
    --lp_light: #f8f9fa;
    --lp_gray: #e2e8f0;
    --lp_gray-dark: #94a3b8;
    
    --lp_bg-color: #f1f5f9;
    --lp_card-bg: rgba(255, 255, 255, 0.9);
    --lp_text-color: #1e293b;
    --lp_text-muted: #64748b;
    --lp_border-color: rgba(226, 232, 240, 0.6);
    
    --lp_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --lp_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --lp_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --lp_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --lp_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --lp_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --lp_sidebar-width: 280px;
    --lp_header-height: 80px;
    --lp_radius: 12px;
    --lp_radius-lg: 16px;
    --lp_radius-xl: 24px;
}

/* Dark mode variables */
.lp_dark-mode {
    --lp_bg-color: #0f172a;
    --lp_card-bg: rgba(30, 41, 59, 0.8);
    --lp_text-color: #f8fafc;
    --lp_text-muted: #94a3b8;
    --lp_border-color: rgba(30, 41, 59, 0.6);
}

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

.lp_body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--lp_bg-color);
    color: var(--lp_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--lp_transition);
}

/* Layout */
.lp_app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar - Glassmorphism style */
.lp_sidebar {
    width: var(--lp_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--lp_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--lp_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.lp_dark-mode .lp_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.lp_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--lp_border-color);
}

.lp_sidebar-header i {
    font-size: 24px;
    color: var(--lp_primary);
    background: var(--lp_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.lp_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--lp_radius);
    text-decoration: none;
    color: var(--lp_text-muted);
    font-weight: 500;
    transition: var(--lp_transition-fast);
}

.lp_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.lp_menu-item:hover {
    background: var(--lp_primary-light);
    color: var(--lp_primary);
}

.lp_menu-item.lp_active {
    background: var(--lp_primary-light);
    color: var(--lp_primary);
    font-weight: 600;
}

.lp_menu-item.lp_active i {
    color: var(--lp_primary);
}

/* Main content */
.lp_main-content {
    flex: 1;
    margin-left: var(--lp_sidebar-width);
    transition: var(--lp_transition);
}

/* Header */
.lp_header {
    height: var(--lp_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--lp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--lp_border-color);
}

.lp_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.lp_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp_primary-light);
    color: var(--lp_primary);
    border: none;
    cursor: pointer;
    transition: var(--lp_transition-fast);
}

.lp_theme-toggle:hover {
    background: var(--lp_primary);
    color: white;
}

.lp_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--lp_primary);
}

.lp_user-info {
    display: flex;
    flex-direction: column;
}

.lp_user-name {
    font-weight: 600;
    font-size: 14px;
}

.lp_user-role {
    font-size: 12px;
    color: var(--lp_text-muted);
}

/* Content container */
.lp_content-container {
    padding: 30px;
}

/* Lead management section */
.lp_lead-management {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card styles */
.lp_card {
    background: var(--lp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--lp_radius-lg);
    box-shadow: var(--lp_shadow);
    border: 1px solid var(--lp_border-color);
    transition: var(--lp_transition);
}

.lp_card:hover {
    box-shadow: var(--lp_shadow-md);
}

.lp_card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--lp_border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lp_card-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp_card-title i {
    color: var(--lp_primary);
}

.lp_card-actions {
    display: flex;
    gap: 12px;
}

.lp_card-body {
    padding: 24px;
}

/* Buttons */
.lp_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--lp_radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--lp_transition-fast);
    border: none;
    white-space: nowrap;
}

.lp_btn i {
    font-size: 14px;
}

.lp_btn-primary {
    background: var(--lp_primary);
    color: white;
}

.lp_btn-primary:hover {
    background: var(--lp_secondary);
    transform: translateY(-1px);
}

.lp_btn-outline {
    background: transparent;
    color: var(--lp_primary);
    border: 1px solid var(--lp_primary);
}

.lp_btn-outline:hover {
    background: var(--lp_primary-light);
}

.lp_btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background: var(--lp_primary-light);
    color: var(--lp_primary);
}

.lp_btn-icon:hover {
    background: var(--lp_primary);
    color: white;
}

/* Lead filters */
.lp_lead-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.lp_filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lp_filter-label {
    font-size: 13px;
    color: var(--lp_text-muted);
    font-weight: 500;
}

.lp_filter-select, .lp_filter-input {
    padding: 10px 14px;
    border-radius: var(--lp_radius);
    border: 1px solid var(--lp_border-color);
    background: var(--lp_card-bg);
    color: var(--lp_text-color);
    font-size: 14px;
    min-width: 180px;
    transition: var(--lp_transition-fast);
}

.lp_filter-select:focus, .lp_filter-input:focus {
    outline: none;
    border-color: var(--lp_primary);
    box-shadow: 0 0 0 3px var(--lp_primary-light);
}

.lp_search-box {
    position: relative;
    margin-left: auto;
}

.lp_search-box .lp_filter-input {
    padding-left: 40px;
    min-width: 240px;
    width: 100%;
}

.lp_search-icon {
    position: absolute;
    left: 14px;
    top: 70%;
    transform: translateY(-50%);
    color: var(--lp_text-muted);
}

/* Lead table */
.lp_lead-table-container {
   width: 100%;
    border-radius: var(--lp_radius);
}

.lp_lead-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1000px;
}

.lp_lead-table thead th {
    position: sticky;
    top: 0;
    background: var(--lp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: var(--lp_text-muted);
    border-bottom: 1px solid var(--lp_border-color);
    z-index: 10;
}

.lp_lead-table tbody tr {
    transition: var(--lp_transition-fast);
}

.lp_lead-table tbody tr:hover {
    background: rgba(67, 97, 238, 0.05);
}

.lp_lead-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--lp_border-color);
    font-size: 14px;
}

/* Lead info styles */
.lp_lead-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp_lead-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lp_primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.lp_lead-name {
    font-weight: 500;
}

.lp_lead-email {
    font-size: 13px;
    color: var(--lp_text-muted);
}

/* Status badges */
.lp_status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.lp_status-badge i {
    font-size: 10px;
}

.lp_status-new {
    background: var(--lp_primary-light);
    color: var(--lp_primary);
}

.lp_status-contacted {
    background: var(--lp_success-light);
    color: var(--lp_success);
}

.lp_status-followup {
    background: var(--lp_warning-light);
    color: var(--lp_warning);
}

.lp_status-converted {
    background: rgba(24, 200, 120, 0.1);
    color: #18c878;
}

/* Action buttons */
.lp_action-buttons {
    display: flex;
    gap: 8px;
}

.lp_action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vprimary-light);
    color: var(--vprimary);
    border: none;
    cursor: pointer;
    transition: var(--vtransition-fast);
}

.lp_action-btn:hover {
    background: var(--lp_primary);
    color: white;
    transform: translateY(-2px);
}

.lp_action-btn.lp_call {
    background: var(--lp_success-light);
    color: var(--lp_success);
}

.lp_action-btn.lp_call:hover {
    background: var(--lp_success);
    color: white;
}

.lp_action-btn.lp_schedule {
    background: var(--lp_warning-light);
    color: var(--lp_warning);
}

.lp_action-btn.lp_schedule:hover {
    background: var(--lp_warning);
    color: white;
}

.lp_action-btn.lp_delete {
    background: var(--lp_danger-light);
    color: var(--lp_danger);
}

.lp_action-btn.lp_delete:hover {
    background: var(--lp_danger);
    color: white;
}

/* Pagination */
.lp_pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-top: 1px solid var(--lp_border-color);
}

.lp_pagination-info {
    font-size: 14px;
    color: var(--lp_text-muted);
}

.lp_pagination-controls {
    display: flex;
    gap: 8px;
}

.lp_page-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--lp_radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--lp_border-color);
    color: var(--lp_text-color);
    cursor: pointer;
    transition: var(--lp_transition-fast);
}

.lp_page-btn:hover {
    background: var(--lp_primary-light);
    border-color: var(--lp_primary);
    color: var(--lp_primary);
}

.lp_page-btn.lp_active {
    background: var(--lp_primary);
    border-color: var(--lp_primary);
    color: white;
}

.lp_page-btn.lp_disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats cards */
.lp_stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.lp_stat-card {
    padding: 20px;
    border-radius: var(--lp_radius);
    background: var(--lp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--lp_border-color);
    transition: var(--lp_transition);
}

.lp_stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--lp_shadow-lg);
}

.lp_stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.lp_stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--lp_radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.lp_stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.lp_stat-title {
    font-size: 14px;
    color: var(--lp_text-muted);
}

.lp_stat-change {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.lp_stat-change.lp_positive {
    color: #10b981;
}

.lp_stat-change.lp_negative {
    color: #ef4444;
}


@media (max-width: 992px) {
    .lp_content-container {
        padding: 20px;
    }
    
    .lp_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .lp_lead-filters {
        flex-direction: column;
    }
    
    .lp_search-box {
        margin-left: 0;
        width: 100%;
    }
    
    .lp_filter-select, .lp_filter-input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .lp_stats-grid {
        grid-template-columns: 1fr;
    }
    
    .lp_pagination {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .lp_header-title {
        font-size: 20px;
    }
    
}

@media (max-width: 576px) {
   

    
    .lp_card-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .lp_btn {
        width: 100%;
    }
}

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

.lp_animate-fade {
    animation: fadeIn 0.5s ease forwards;
}

.lp_delay-1 { animation-delay: 0.1s; }
.lp_delay-2 { animation-delay: 0.2s; }
.lp_delay-3 { animation-delay: 0.3s; }
.lp_delay-4 { animation-delay: 0.4s; }


/* Add these styles to your existing CSS */

/* Main content adjustments */
.lp_main-content {
flex: 1;
margin-left: var(--lp_sidebar-width);
transition: var(--lp_transition);
overflow: hidden; /* Prevent scrolling on the main content */
display: flex;
flex-direction: column;
}

.lp_content-container {
padding: 30px;
flex: 1;
display: flex;
flex-direction: column;
}

.lp_lead-management {
display: flex;
flex-direction: column;
gap: 24px;
flex: 1;
}

/* Table container adjustments */
.lp_lead-table-container {
width: 100%;
overflow-x: auto; /* Only allow horizontal scrolling when needed */
border-radius: var(--lp_radius);
flex: 1;
display: flex;
flex-direction: column;
}

/* Card body adjustments */
.lp_card-body {
padding: 24px;
display: flex;
flex-direction: column;
flex: 1;
}

/* Table adjustments */
.lp_lead-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
min-width: 1000px; /* Keep minimum width for table */
}

/* Pagination adjustments */
.lp_pagination {
margin-top: auto; /* Push pagination to bottom */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.lp_lead-table {
min-width: 900px;
}
}

@media (max-width: 992px) {
.lp_content-container {
padding: 20px;
}

.lp_lead-table {
min-width: 800px;
}
}

@media (max-width: 768px) {
.lp_lead-filters {
flex-direction: column;
}

.lp_filter-group {
width: 100%;
}

.lp_lead-table {
min-width: 700px;
}

.lp_stats-grid {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 576px) {


.lp_card-actions {
flex-direction: column;
width: 100%;
gap: 10px;
}

.lp_btn {
width: 100%;
}

.lp_stats-grid {
grid-template-columns: 1fr;
}

.lp_lead-table {
min-width: 600px;
}
}
/* Sidebar Toggle Button */
.lp_sidebar-toggle {
display: none; /* Hidden by default on desktop */
background: transparent;
border: none;
color: var(--lp_text-color);
font-size: 20px;
cursor: pointer;
margin-right: 15px;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--lp_transition-fast);
}

.lp_sidebar-toggle:hover {
background: var(--lp_primary-light);
color: var(--lp_primary);
}

/* Sidebar collapsed state */
.lp_sidebar.lp_collapsed {
transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.lp_sidebar.lp_collapsed + .lp_main-content {
margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.lp_sidebar {
transform: translateX(0);
transition: transform 0.3s ease;
}

.lp_sidebar-toggle {
display: flex; /* Show toggle button on mobile */
}

.lp_main-content {
margin-left: 0;
}

/* Show sidebar when not collapsed */
.lp_sidebar:not(.lp_collapsed) {
box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
}


/* Add this to your existing CSS */
.lp_lead-table tbody tr {
transition: var(--lp_transition-fast);
}

.lp_lead-table tbody tr:hover {
background: rgba(67, 97, 238, 0.05) !important;
}

.lp_lead-table tbody tr:active {
transform: scale(0.99);
opacity: 0.9;
}

/* Prevent action buttons from inheriting the row's pointer cursor */
.lp_action-buttons, .lp_action-btn {
cursor: default !important;
}
/* Add this to your CSS */
.lp_user-profile {
position: relative;
cursor: pointer;
padding: 5px 10px;
border-radius: var(--lp_radius);
transition: var(--lp_transition-fast);
}

.lp_user-profile:hover {
background-color: var(--lp_primary-light);
}

.lp_profile-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: var(--lp_radius);
box-shadow: var(--lp_shadow-md);
width: 180px;
padding: 10px 0;
z-index: 100;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: var(--lp_transition-fast);
}

.lp_dark-mode .lp_profile-dropdown {
background: var(--card-bg);
border: 1px solid var(--border-color);
}

.lp_user-profile.lp_active .lp_profile-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.lp_dropdown-item {
display: flex;
align-items: center;
padding: 8px 15px;
color: var(--lp_text-color);
text-decoration: none;
transition: var(--lp_transition-fast);
}

.lp_dropdown-item i {
margin-right: 10px;
width: 18px;
text-align: center;
}

.lp_dropdown-item:hover {
background-color: var(--lp_primary-light);
color: var(--lp_primary);
}

/* Logout confirmation modal */
.lp_logout-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: var(--lp_transition);
}

.lp_logout-modal.lp_active {
opacity: 1;
visibility: visible;
}

.lp_logout-content {
background: white;
padding: 25px;
border-radius: var(--lp_radius-lg);
width: 90%;
max-width: 400px;
box-shadow: var(--lp_shadow-lg);
text-align: center;
}

.lp_dark-mode .lp_logout-content {
background: rgb(5, 7, 37);
}


.lp_logout-content h3 {
margin-bottom: 15px;
color: var(--lp_text-color);
}

.lp_logout-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.lp_logout-buttons button {
padding: 8px 20px;
border-radius: var(--lp_radius);
border: none;
cursor: pointer;
transition: var(--lp_transition-fast);
font-weight: 500;
}

.lp_logout-confirm {
background: var(--lp_danger);
color: white;
}

.lp_logout-confirm:hover {
background: #d11a6a;
}

.lp_logout-cancel {
background: var(--lp_gray-light);
color: var(--lp_text-color);
}

.lp_logout-cancel:hover {
background: #d1d5db;
}

/* Modal styles */
.lp_modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: var(--lp_transition);
}

.lp_modal.lp_active {
opacity: 1;
visibility: visible;
}

.lp_modal-content {
background: var(--lp_card-bg);
padding: 30px;
border-radius: var(--lp_radius-lg);
width: 90%;
max-width: 600px;
box-shadow: var(--lp_shadow-lg);
max-height: 90vh;
overflow-y: auto;
}

.lp_modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--lp_border-color);
}

.lp_modal-title {
font-size: 20px;
font-weight: 600;
}

.lp_modal-close {
background: transparent;
border: none;
font-size: 24px;
cursor: pointer;
color: var(--lp_text-muted);
transition: var(--lp_transition-fast);
}

.lp_modal-close:hover {
color: var(--danger);
}

.lp_modal-body {
margin-bottom: 20px;
}

.lp_form-group {
margin-bottom: 20px;
}

.lp_form-label {
display: block;
margin-bottom: 8px;
font-weight: 500;
font-size: 14px;
}

.lp_form-control {
width: 100%;
padding: 12px 15px;
border-radius: var(--lp_radius);
border: 1px solid var(--lp_border-color);
background: var(--lp_bg-color);
color: var(--lp_text-color);
font-size: 14px;
transition: var(--lp_transition-fast);
}

.lp_form-control:focus {
outline: none;
border-color: var(--lp_primary);
box-shadow: 0 0 0 3px var(--lp_primary-light);
}

.lp_form-row {
display: flex;
gap: 20px;
margin-bottom: 20px;
}

.lp_form-row .lp_form-group {
flex: 1;
}

.lp_modal-footer {
display: flex;
justify-content: flex-end;
gap: 15px;
padding-top: 20px;
border-top: 1px solid var(--lp_border-color);
}

/* Toast notification */
.lp_toast {
position: fixed;
bottom: 20px;
right: 20px;
background: var(--lp_card-bg);
border: 1px solid var(--lp_border-color);
border-radius: var(--lp_radius);
padding: 15px 20px;
box-shadow: var(--lp_shadow-lg);
display: flex;
align-items: center;
gap: 12px;
z-index: 1100;
transform: translateY(100px);
opacity: 0;
transition: var(--lp_transition);
}

.lp_toast.lp_show {
transform: translateY(0);
opacity: 1;
}

.lp_toast i {
font-size: 20px;
}

.lp_toast.success i {
color: var(--lp_success);
}

.lp_toast.lp_error i {
color: var(--lp_danger);
}

.lp_toast-content {
flex: 1;
}

.lp_toast-title {
font-weight: 600;
margin-bottom: 4px;
}

.lp_toast-message {
font-size: 14px;
color: var(--lp_text-muted);
}

.lp_toast-close {
background: transparent;
border: none;
color: var(--lp_text-muted);
cursor: pointer;
font-size: 16px;
margin-left: 10px;
}

/* Call modal specific styles */
.lp_call-modal .lp_modal-content {
max-width: 400px;
}

.lp_call-info {
text-align: center;
margin-bottom: 30px;
}

.lp_call-avatar {
width: 80px;
height: 80px;
border-radius: 50%;
background: var(--lp_primary);
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
font-weight: 600;
margin: 0 auto 15px;
}

.lp_call-name {
font-size: 20px;
font-weight: 600;
margin-bottom: 5px;
}

.lp_call-number {
font-size: 18px;
color: var(--lp_lp_text-muted);
margin-bottom: 20px;
}

.lp_call-timer {
font-size: 24px;
font-weight: 600;
margin-bottom: 30px;
}

.lp_call-actions {
display: flex;
justify-content: center;
gap: 20px;
}

.lp_call-action-btn {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
cursor: pointer;
transition: var(--lp_lp_transition-fast);
border: none;
}

.lp_call-end {
background: var(--lp_danger);
color: white;
}

.lp_call-end:hover {
background: #d11a6a;
transform: scale(1.1);
}

.lp_call-mute {
background: var(--lp_warning-light);
color: var(--lp_warning);
}

.lp_call-mute:hover {
background: var(--lp_warning);
color: white;
transform: scale(1.1);
}

.lp_call-keypad {
background: var(--lp_gray);
color: var(--lp_text-color);
}

.lp_call-keypad:hover {
background: var(--lp_gray-dark);
color: white;
transform: scale(1.1);
}

/* Schedule modal specific styles */
.lp_schedule-modal .lp_modal-content {
max-width: 500px;
}

.lp_schedule-datepicker {
width: 100%;
padding: 12px 15px;
border-radius: var(--lp_radius);
border: 1px solid var(--lp_border-color);
background: var(--lp_bg-color);
color: var(--lp_text-color);
font-size: 14px;
}

.lp_schedule-notes {
width: 100%;
min-height: 100px;
padding: 12px 15px;
border-radius: var(--lp_radius);
border: 1px solid var(--lp_border-color);
background: var(--lp_bg-color);
color: var(--lp_text-color);
font-size: 14px;
resize: vertical;
}

/* lead deatil page styles */
   /* Base styles from dashboard */
   :root {
    --ldp_primary: #6a306b;
    --ldp_primary-light: rgba(106, 48, 107, 0.1);
    --ldp_secondary: #5a2961;
    --ldp_accent: #ac6ab1;
    --ldp_accent-light: rgba(172, 106, 177, 0.1);
    --ldp_light: #f8f9fa;
    --ldp_dark: #212529;
    --ldp_dark-light: #16213e;
    --ldp_success: #4cc9f0;
    --ldp_warning: #f8961e;
    --ldp_danger: #f72585;
    --ldp_info: #6a306b;
    --ldp_gray: #e2e8f0;
    --ldp_gray-dark: #94a3b8;
    
    --ldp_bg-color: #f5f7fa;
    --ldp_card-bg: rgba(255, 255, 255, 0.9);
    --ldp_text-color: #1e293b;
    --ldp_text-muted: #64748b;
    --ldp_border-color: rgba(226, 232, 240, 0.6);
    
    --ldp_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ldp_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ldp_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --ldp_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --ldp_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ldp_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --ldp_sidebar-width: 250px;
    --ldp_header-height: 80px;
    --ldp_radius: 8px;
    --ldp_radius-lg: 12px;
    --ldp_radius-xl: 16px;
}

/* Dark mode variables */
.ldp_dark-mode {
    --ldp_bg-color: #0f172a;
    --ldp_card-bg: rgba(30, 41, 59, 0.8);
    --ldp_text-color: #f8fafc;
    --ldp_text-muted: #94a3b8;
    --ldp_border-color: rgba(30, 41, 59, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.ldp_body {
    background-color: var(--ldp_bg-color);
    color: var(--ldp_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--ldp_transition);
    overflow-x: hidden;
}

/* Layout */
.ldp_app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar - Glassmorphism style */
.ldp_sidebar {
    width: var(--ldp_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--ldp_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--ldp_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.ldp_sidebar.ldp_collapsed {
    transform: translateX(-100%);
}

.ldp_dark-mode .ldp_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.ldp_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_sidebar-header i {
    font-size: 24px;
    color: var(--ldp_primary);
    background: var(--ldp_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ldp_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.ldp_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ldp_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--ldp_radius);
    text-decoration: none;
    color: var(--ldp_text-muted);
    font-weight: 500;
    transition: var(--ldp_transition-fast);
}

.ldp_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.ldp_menu-item:hover {
    background: var(--ldp_primary-light);
    color: var(--ldp_primary);
}

.ldp_menu-item.ldp_active {
    background: var(--ldp_primary-light);
    color: var(--ldp_primary);
    font-weight: 600;
}

/* Main content */
.ldp_main-content {
    flex: 1;
    margin-left: var(--ldp_sidebar-width);
    transition: var(--ldp_transition);
    width: calc(100% - var(--ldp_sidebar-width));
}

.ldp_sidebar.ldp_collapsed + .ldp_main-content {
    margin-left: 0;
    width: 100%;
}

/* Header */
.ldp_header {
    height: var(--ldp_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--ldp_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_header-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ldp_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ldp_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ldp_primary-light);
    color: var(--ldp_primary);
    border: none;
    cursor: pointer;
    transition: var(--ldp_transition-fast);
}

.ldp_theme-toggle:hover {
    background: var(--ldp_primary);
    color: white;
}

.ldp_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ldp_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ldp_primary);
}

.ldp_user-info {
    display: flex;
    flex-direction: column;
}

.ldp_user-name {
    font-weight: 600;
    font-size: 14px;
}

.ldp_user-role {
    font-size: 12px;
    color: var(--ldp_text-muted);
}



/* Content container */
.ldp_content-container {
    padding: 30px;
}

/* Lead Detail Styles */
.ldp_lead-detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
}

.ldp_lead-profile-card {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 25px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    margin-bottom: 20px;
    transition: var(--ldp_transition);
}

.ldp_lead-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.ldp_lead-profile-main {
    display: flex;
    align-items: center;
}

.ldp_lead-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--ldp_accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
    margin-right: 20px;
}

.ldp_lead-name-title h2 {
    font-size: 24px;
    color: var(--ldp_text-color);
    margin-bottom: 5px;
}

.ldp_lead-name-title p {
    color: var(--ldp_text-muted);
    margin-bottom: 10px;
}

.ldp_status-badge-large {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ldp_status-followup {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--ldp_warning);
}

.ldp_lead-profile-actions {
    display: flex;
}

.ldp_lead-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ldp_accent-light);
    color: var(--ldp_accent);
    border: none;
    cursor: pointer;
    transition: var(--ldp_transition-fast);
    margin-left: 10px;
}

.ldp_lead-action-btn:hover {
    background-color: var(--ldp_accent);
    color: white;
}

.ldp_lead-action-btn.ldp_call {
    background-color: rgba(76, 201, 240, 0.1);
    color: var(--ldp_success);
}

.ldp_lead-action-btn.ldp_call:hover {
    background-color: var(--ldp_success);
    color: white;
}

.ldp_lead-action-btn.ldp_edit {
    background-color: rgba(248, 150, 30, 0.1);
    color: var(--ldp_warning);
}

.ldp_lead-action-btn.ldp_edit:hover {
    background-color: var(--ldp_warning);
    color: white;
}

/* Lead Info Sections */
.ldp_lead-info-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ldp_lead-info-card {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 20px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    transition: var(--ldp_transition);
}

.ldp_section-title {
    font-size: 16px;
    color: var(--ldp_text-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.ldp_section-title i {
    margin-right: 10px;
    color: var(--ldp_accent);
}

.ldp_info-row {
    display: flex;
    margin-bottom: 12px;
}

.ldp_info-label {
    width: 120px;
    color: var(--ldp_text-muted);
    font-size: 14px;
}

.ldp_info-value {
    flex: 1;
    color: var(--ldp_text-color);
    font-weight: 500;
}

/* Notes Section */
.ldp_notes-section {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 20px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    margin-bottom: 20px;
    transition: var(--ldp_transition);
}

.ldp_notes-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.ldp_note-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_note-item:last-child {
    border-bottom: none;
}

.ldp_note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ldp_note-author {
    font-weight: 600;
    color: var(--ldp_text-color);
}

.ldp_note-date {
    font-size: 12px;
    color: var(--ldp_text-muted);
}

.ldp_note-content {
    color: var(--ldp_text-color);
    line-height: 1.5;
}

.ldp_note-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ldp_border-color);
    border-radius: var(--ldp_radius);
    background: var(--ldp_card-bg);
    color: var(--ldp_text-color);
    resize: none;
    margin-bottom: 10px;
    min-height: 80px;
    transition: var(--ldp_transition-fast);
}

.ldp_note-form textarea:focus {
    outline: none;
    border-color: var(--ldp_accent);
    box-shadow: 0 0 0 3px var(--ldp_accent-light);
}

.ldp_note-form button {
    padding: 10px 20px;
    background-color: var(--ldp_accent);
    color: white;
    border: none;
    border-radius: var(--ldp_radius);
    cursor: pointer;
    transition: var(--ldp_transition-fast);
}

.ldp_note-form button:hover {
    background-color: var(--ldp_primary);
}

/* Call History */
.ldp_call-history-section {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 20px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    margin-bottom: 20px;
    transition: var(--ldp_transition);
}

.ldp_call-list {
    max-height: 300px;
    overflow-y: auto;
}

.ldp_call-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_call-item:last-child {
    border-bottom: none;
}

.ldp_call-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(76, 201, 240, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ldp_success);
    margin-right: 15px;
    flex-shrink: 0;
}

.ldp_call-details {
    flex: 1;
}

.ldp_call-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.ldp_call-status {
    font-weight: 500;
}

.ldp_call-status.ldp_answered {
    color: var(--ldp_success);
}

.ldp_call-status.ldp_missed {
    color: var(--ldp_danger);
}

.ldp_call-time {
    font-size: 12px;
    color: var(--ldp_text-muted);
}

.ldp_call-duration {
    font-size: 12px;
    color: var(--ldp_text-muted);
    display: flex;
    align-items: center;
}

.ldp_call-duration i {
    margin-right: 5px;
}

/* Follow-ups */
.ldp_followups-section {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 20px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    transition: var(--ldp_transition);
}

.ldp_followup-list {
    max-height: 300px;
    overflow-y: auto;
}

.ldp_followup-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_followup-item:last-child {
    border-bottom: none;
}

.ldp_followup-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(248, 150, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ldp_warning);
    margin-right: 15px;
    flex-shrink: 0;
}

.ldp_followup-details {
    flex: 1;
}

.ldp_followup-date {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--ldp_text-color);
}

.ldp_followup-notes {
    font-size: 13px;
    color: var(--ldp_text-muted);
}

.ldp_followup-actions {
    display: flex;
    align-items: center;
}

.ldp_followup-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ldp_accent-light);
    color: var(--ldp_accent);
    border: none;
    cursor: pointer;
    transition: var(--ldp_transition-fast);
    margin-left: 5px;
}

.ldp_followup-action-btn:hover {
    background-color: var(--ldp_accent);
    color: white;
}

/* Call Panel */
.ldp_call-panel {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 25px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    position: sticky;
    top: calc(var(--ldp_header-height) + 20px);
    transition: var(--ldp_transition);
   
    
}

.ldp_call-panel-title {
    font-size: 18px;
    color: var(--ldp_text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.ldp_call-panel-title i {
    margin-right: 10px;
    color: var(--ldp_accent);
}

.ldp_call-status-select {
    width: 100%;
    padding: 12px;
    border-radius: var(--ldp_radius);
    border: 1px solid var(--ldp_border-color);
    margin-bottom: 20px;
    appearance: none;
    background-color: var(--ldp_card-bg);
    color: var(--ldp_text-color);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    transition: var(--ldp_transition-fast);
}

.ldp_call-status-select:focus {
    outline: none;
    border-color: var(--ldp_accent);
    box-shadow: 0 0 0 3px var(--ldp_accent-light);
}

.ldp_call-notes {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ldp_border-color);
    border-radius: var(--ldp_radius);
    background: var(--ldp_card-bg);
    color: var(--ldp_text-color);
    resize: none;
    margin-bottom: 20px;
    min-height: 100px;
    transition: var(--ldp_transition-fast);
}

.ldp_call-notes:focus {
    outline: none;
    border-color: var(--ldp_accent);
    box-shadow: 0 0 0 3px var(--ldp_accent-light);
}

.ldp_followup-schedule {
    margin-bottom: 20px;
}

.ldp_followup-date-input,
.ldp_followup-time-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--ldp_border-color);
    border-radius: var(--ldp_radius);
    background: var(--ldp_card-bg);
    color: var(--ldp_text-color);
    transition: var(--ldp_transition-fast);
}

.ldp_followup-date-input:focus,
.ldp_followup-time-input:focus {
    outline: none;
    border-color: var(--ldp_accent);
    box-shadow: 0 0 0 3px var(--ldp_accent-light);
}

.ldp_call-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.ldp_call-btn {
    padding: 12px;
    border-radius: var(--ldp_radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--ldp_transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ldp_call-btn i {
    margin-right: 8px;
}

.ldp_call-btn.ldp_primary {
    background-color: var(--ldp_success);
    color: white;
}

.ldp_call-btn.ldp_primary:hover {
    background-color: #3aa8d8;
    transform: translateY(-1px);
}

.ldp_call-btn.ldp_secondary {
    background-color: var(--ldp_accent-light);
    color: var(--ldp_accent);
}

.ldp_call-btn.ldp_secondary:hover {
    background-color: var(--ldp_accent);
    color: white;
    transform: translateY(-1px);
}

/* Document Upload */
.ldp_documents-section {
    background: var(--ldp_card-bg);
    border-radius: var(--ldp_radius-lg);
    padding: 20px;
    box-shadow: var(--ldp_shadow);
    border: 1px solid var(--ldp_border-color);
    margin-top: 20px;
    transition: var(--ldp_transition);
}

.ldp_document-list {
    margin-top: 15px;
}

.ldp_document-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--ldp_border-color);
}

.ldp_document-item:last-child {
    border-bottom: none;
}

.ldp_document-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--ldp_radius);
    background-color: var(--ldp_accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-right: 15px;
    flex-shrink: 0;
}

.ldp_document-name {
    flex: 1;
    font-weight: 500;
    color: var(--ldp_text-color);
}

.ldp_document-actions {
    display: flex;
}

.ldp_document-action-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ldp_accent-light);
    color: var(--ldp_accent);
    border: none;
    cursor: pointer;
    transition: var(--ldp_transition-fast);
    margin-left: 5px;
}

.ldp_document-action-btn:hover {
    background-color: var(--ldp_accent);
    color: white;
}

.ldp_upload-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: var(--ldp_accent-light);
    color: var(--ldp_accent);
    border-radius: var(--ldp_radius);
    cursor: pointer;
    margin-top: 10px;
    transition: var(--ldp_transition-fast);
    border: none;
}

.ldp_upload-btn:hover {
    background-color: var(--ldp_accent);
    color: white;
}

.ldp_upload-btn i {
    margin-right: 8px;
}

/* Buttons */
.ldp_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--ldp_radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--ldp_transition-fast);
    border: none;
    white-space: nowrap;
}

.ldp_btn i {
    font-size: 14px;
}

.ldp_btn-primary {
    background: var(--ldp_primary);
    color: white;
}

.ldp_btn-primary:hover {
    background: var(--ldp_secondary);
    transform: translateY(-1px);
}

.ldp_btn-outline {
    background: transparent;
    color: var(--ldp_primary);
    border: 1px solid var(--ldp_primary);
}

.ldp_btn-outline:hover {
    background: var(--ldp_primary-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .ldp_lead-detail-container {
        grid-template-columns: 1fr;
    }
    
    .ldp_call-panel {
        position: static;
        margin-top: 20px;
    }
    
   
    
    .ldp_main-content {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ldp_content-container {
        padding: 20px;
    }
    
    .ldp_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .ldp_lead-info-sections {
        grid-template-columns: 1fr;
    }
    
    .ldp_header-title {
        font-size: 20px;
    }
}

/* Sidebar Toggle Button */
.ldp_sidebar-toggle {
display: none; /* Hidden by default on desktop */
background: transparent;
border: none;
color: var(--ldp_text-color);
font-size: 20px;
cursor: pointer;
margin-right: 15px;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: var(--ldp_transition-fast);
}

.ldp_sidebar-toggle:hover {
background: var(--ldp_primary-light);
color: var(--ldp_primary);
}

/* Sidebar collapsed state */
.ldp_sidebar.ldp_collapsed {
transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.ldp_sidebar.ldp_collapsed + .ldp_main-content {
margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
.ldp_sidebar {
transform: translateX(0);
transition: transform 0.3s ease;
}

.ldp_sidebar-toggle {
display: flex; /* Show toggle button on mobile */
}

.ldp_main-content {
margin-left: 0;
}

/* Show sidebar when not collapsed */
.ldp_sidebar:not(.ldp_collapsed) {
box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
}

/* Add this to your CSS */
.ldp_user-profile {
position: relative;
cursor: pointer;
padding: 5px 10px;
border-radius: var(--ldp_radius);
transition: var(--ldp_transition-fast);
}

.ldp_user-profile:hover {
background-color: var(--ldp_primary-light);
}

.ldp_profile-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: var(--ldp_radius);
box-shadow: var(--ldp_shadow-md);
width: 180px;
padding: 10px 0;
z-index: 100;
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: var(--ldp_transition-fast);
}

.ldp_dark-mode .ldp_profile-dropdown {
background: var(--ldp_card-bg);
border: 1px solid var(--ldp_border-color);
}

.ldp_user-profile.ldp_active .ldp_profile-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.ldp_dropdown-item {
display: flex;
align-items: center;
padding: 8px 15px;
color: var(--ldp_text-color);
text-decoration: none;
transition: var(--ldp_transition-fast);
}

.ldp_dropdown-item i {
margin-right: 10px;
width: 18px;
text-align: center;
}

.ldp_dropdown-item:hover {
background-color: var(--ldp_primary-light);
color: var(--ldp_primary);
}

/* Logout confirmation modal */
.ldp_logout-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
opacity: 0;
visibility: hidden;
transition: var(--ldp_transition);
}

.ldp_logout-modal.ldp_active {
opacity: 1;
visibility: visible;
}

.ldp_logout-content {
background: white;
padding: 25px;
border-radius: var(--ldp_radius-lg);
width: 90%;
max-width: 400px;
box-shadow: var(--ldp_shadow-lg);
text-align: center;
}

.ldp_dark-mode .ldp_logout-content {
background: rgb(5, 7, 37);
}


.ldp_logout-content h3 {
margin-bottom: 15px;
color: var(--ldp_text-color);
}

.ldp_logout-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.ldp_logout-buttons button {
padding: 8px 20px;
border-radius: var(--ldp_radius);
border: none;
cursor: pointer;
transition: var(--ldp_transition-fast);
font-weight: 500;
}

.ldp_logout-confirm {
background: var(--ldp_danger);
color: white;
}

.ldp_logout-confirm:hover {
background: #d11a6a;
}

.ldp_logout-cancel {
background: var(--ldp_gray-light);
color: var(--ldp_text-color);
}

.ldp_logout-cancel:hover {
background: #d1d5db;
}
/* reports styles */
 /* Use the same root variables and base styles from settings template */
 :root {
    --reports_primary: #6a306b;
    --reports_primary-light: rgba(106, 48, 107, 0.1);
    --reports_secondary: #4a1c4b;
    --reports_accent: #ac6ab1;
    --reports_accent-light: rgba(172, 106, 177, 0.1);
    --reports_success: #6ab1a7;
    --reports_success-light: rgba(106, 177, 167, 0.1);
    --reports_warning: #f8961e;
    --reports_warning-light: rgba(248, 150, 30, 0.1);
    --reports_danger: #f72585;
    --reports_danger-light: rgba(247, 37, 133, 0.1);
    --reports_info: #8e44ad;
    --reports_dark: #1a1a2e;
    --reports_dark-light: #16213e;
    --reports_light: #f8f9fa;
    --reports_gray: #e2e8f0;
    --reports_gray-dark: #94a3b8;
    
    --reports_bg-color: #f1f5f9;
    --reports_card-bg: rgba(255, 255, 255, 0.9);
    --reports_text-color: #1e293b;
    --reports_text-muted: #64748b;
    --reports_border-color: rgba(226, 232, 240, 0.6);
    
    --reports_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --reports_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --reports_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --reports_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --reports_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --reports_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --reports_sidebar-width: 280px;
    --reports_header-height: 80px;
    --reports_radius: 12px;
    --reports_radius-lg: 16px;
    --reports_radius-xl: 24px;
}

/* Dark mode variables */
.reports_dark-mode {
    --reports_bg-color: #0f172a;
    --reports_card-bg: rgba(30, 41, 59, 0.8);
    --reports_text-color: #f8fafc;
    --reports_text-muted: #94a3b8;
    --reports_border-color: rgba(30, 41, 59, 0.6);
}

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

.reports_body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--reports_bg-color);
    color: var(--reports_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--reports_transition);
    overflow-x: hidden;
}

/* Remove scrollbar but keep functionality */
.reports_body::-webkit-scrollbar {
    display: none;
}
.reports_body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Layout */
.reports_app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar - Glassmorphism style */
.reports_sidebar {
    width: var(--reports_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--reports_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--reports_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.reports_sidebar.reports_collapsed {
    transform: translateX(-100%);
}

.reports_dark-mode .reports_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.reports_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--reports_border-color);
}

.reports_sidebar-header i {
    font-size: 24px;
    color: var(--reports_primary);
    background: var(--reports_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reports_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.reports_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reports_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--reports_radius);
    text-decoration: none;
    color: var(--reports_text-muted);
    font-weight: 500;
    transition: var(--reports_transition-fast);
}

.reports_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.reports_menu-item:hover {
    background: var(--reports_primary-light);
    color: var(--reports_primary);
}

.reports_menu-item.reports_active {
    background: var(--reports_primary-light);
    color: var(--reports_primary);
    font-weight: 600;
}

.reports_menu-item.reports_active i {
    color: var(--reports_primary);
}

/* Main content */
.reports_main-content {
    flex: 1;
    margin-left: var(--reports_sidebar-width);
    transition: var(--reports_transition);
    width: calc(100% - var(--reports_sidebar-width));
}

.reports_sidebar.reports_collapsed + .reports_main-content {
    margin-left: 0;
    width: 100%;
}

/* Header */
.reports_header {
    height: var(--reports_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--reports_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--reports_border-color);
}

.reports_header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reports_header-title {
    font-size: 24px;
    font-weight: 700;
}

.reports_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reports_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--reports_primary-light);
    color: var(--reports_primary);
    border: none;
    cursor: pointer;
    transition: var(--reports_transition-fast);
}

.reports_theme-toggle:hover {
    background: var(--reports_primary);
    color: white;
}

.reports_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reports_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--reports_primary);
}

.reports_user-info {
    display: flex;
    flex-direction: column;
}

.reports_user-name {
    font-weight: 600;
    font-size: 14px;
}

.reports_user-role {
    font-size: 12px;
    color: var(--reports_text-muted);
}

/* Content container */
.reports_content-container {
    padding: 30px;
    height: calc(100vh - var(--reports_header-height));
    overflow: hidden;
}

/* Reports specific styles */
.reports_reports-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    height: 100%;
    overflow: hidden;
}

.reports_report-tabs {
    display: flex;
    border-bottom: 1px solid var(--reports_border-color);
    margin-bottom: 20px;
 
}

.reports_report-tab {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    color: var(--reports_text-muted);
    font-weight: 500;
    transition: var(--reports_transition);
    white-space: nowrap;
}

.reports_report-tab:hover {
    color: var(--reports_primary);
}

.reports_report-tab.reports_active {
    color: var(--reports_primary);
}

.reports_report-tab.reports_active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--reports_primary);
}

.reports_report-section {
    background: var(--reports_card-bg);
    border-radius: var(--reports_radius-lg);
    padding: 25px;
    box-shadow: var(--reports_shadow);
    animation: fadeIn 0.5s ease-out;
    border: 1px solid var(--reports_border-color);
 
    overflow-y: auto;
   
}

/* Hide scrollbar but keep functionality */
.reports_report-section::-webkit-scrollbar {
    display:none;
}
.reports_report-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.reports_report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reports_report-title {
    font-size: 18px;
    color: var(--reports_text-color);
    display: flex;
    align-items: center;
}

.reports_report-title i {
    margin-right: 10px;
    color: var(--reports_accent);
}

.reports_report-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.reports_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--reports_radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--reports_transition-fast);
    border: none;
    white-space: nowrap;
}

.reports_btn i {
    font-size: 14px;
}

.reports_btn-primary {
    background: var(--reports_primary);
    color: white;
}

.reports_btn-primary:hover {
    background: var(--reports_secondary);
    transform: translateY(-1px);
}

.reports_btn-outline {
    background: transparent;
    color: var(--reports_primary);
    border: 1px solid var(--reports_primary);
}

.reports_btn-outline:hover {
    background: var(--reports_primary-light);
}

/* Filters */
.reports_report-filters {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.reports_filter-group {
    min-width: 200px;
}

.reports_filter-group label {
    display: block;
    font-size: 12px;
    color: var(--reports_text-muted);
    margin-bottom: 5px;
}

.reports_filter-group select, .reports_filter-group input {
    padding: 10px 15px;
    border-radius: var(--reports_radius);
    border: 1px solid var(--reports_border-color);
    width: 100%;
    background: var(--reports_card-bg);
    color: var(--reports_text-color);
    transition: var(--reports_transition-fast);
}

.reports_filter-group select:focus, .reports_filter-group input:focus {
    outline: none;
    border-color: var(--reports_accent);
    box-shadow: 0 0 0 3px var(--reports_accent-light);
}

/* Report Data */
.reports_report-data {
    overflow-x: auto;
}

.reports_report-table {
    width: 100%;
    border-collapse: collapse;
}

.reports_report-table thead th {
    text-align: left;
    padding: 12px 15px;
    font-weight: 600;
    color: var(--reports_text-color);
    border-bottom: 2px solid var(--reports_border-color);
    background-color: var(--reports_bg-color);
    position: sticky;
    top: 0;
}

.reports_report-table tbody tr {
    transition: background-color 0.3s ease;
}

.reports_report-table tbody tr:hover {
    background-color: var(--reports_primary-light);
}

.reports_report-table tbody td {
    padding: 15px;
    border-bottom: 1px solid var(--reports_border-color);
    color: var(--reports_text-color);
}

/* Status badges */
.reports_status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.reports_status-contacted {
    background-color: var(--reports_success-light);
    color: var(--reports_success);
}

.reports_status-new {
    background-color: var(--reports_accent-light);
    color: var(--reports_accent);
}

.reports_status-converted {
    background-color: var(--reports_primary-light);
    color: var(--reports_primary);
}

/* Charts */
.reports_chart-container {
    height: 300px;
    margin-top: 20px;
    position: relative;
}

.reports_chart-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--reports_bg-color);
    border-radius: var(--reports_radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--reports_text-muted);
}

/* Stats Cards */
.reports_report-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.reports_report-stat-card {
    background: var(--reports_card-bg);
    border-radius: var(--reports_radius-lg);
    padding: 20px;
    box-shadow: var(--reports_shadow);
    transition: var(--reports_transition);
    border: 1px solid var(--reports_border-color);
}

.reports_report-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--reports_shadow-md);
}

.reports_report-stat-card .reports_value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--reports_text-color);
}

.reports_report-stat-card .reports_label {
    font-size: 14px;
    color: var(--reports_text-muted);
}

.reports_report-stat-card .reports_change {
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reports_change.reports_positive {
    color: #18c878;
}

.reports_change.reports_negative {
    color: var(--reports_danger);
}

/* Custom scrollbar for tables */
.reports_report-data::-webkit-scrollbar {
    height: 6px;
}

.reports_report-data::-webkit-scrollbar-track {
    background: var(--reports_bg-color);
    border-radius: 10px;
}

.reports_report-data::-webkit-scrollbar-thumb {
    background: var(--reports_primary);
    border-radius: 10px;
}

.reports_report-data::-webkit-scrollbar-thumb:hover {
    background: var(--reports_secondary);
}

/* Modern card design */
.reports_modern-card {
    background: var(--reports_card-bg);
    border-radius: var(--reports_radius-lg);
    padding: 20px;
    box-shadow: var(--reports_shadow);
    border: 1px solid var(--reports_border-color);
    transition: var(--reports_transition);
}

.reports_modern-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--reports_shadow-md);
}

.reports_modern-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--reports_text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.reports_modern-card-title i {
    color: var(--reports_accent);
}

/* Grid layout for performance metrics */
.reports_metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Call duration distribution */
.reports_duration-distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.reports_duration-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reports_duration-range {
    font-size: 14px;
    color: var(--reports_text-muted);
    width: 100px;
}

.reports_duration-bar {
    flex: 1;
    height: 8px;
    background: var(--reports_bg-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 15px;
}

.reports_duration-progress {
    height: 100%;
    background: var(--reports_primary);
    border-radius: 4px;
}

.reports_duration-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--reports_text-color);
    width: 50px;
    text-align: right;
}

/* Sidebar Toggle Button */
.reports_sidebar-toggle {
    display: none; /* Hidden by default on desktop */
    background: transparent;
    border: none;
    color: var(--reports_text-color);
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--reports_transition-fast);
}

.reports_sidebar-toggle:hover {
    background: var(--reports_primary-light);
    color: var(--reports_primary);
}

/* Sidebar collapsed state */
.reports_sidebar.reports_collapsed {
    transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.reports_sidebar.reports_collapsed + .reports_main-content {
    margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .reports_sidebar {
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
    
    .reports_sidebar-toggle {
        display: flex; /* Show toggle button on mobile */
    }
    
    .reports_main-content {
        margin-left: 0;
    }
    
    /* Show sidebar when not collapsed */
    .reports_sidebar:not(.reports_collapsed) {
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

/* Add this to your CSS */
.reports_user-profile {
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--reports_radius);
    transition: var(--reports_transition-fast);
}

.reports_user-profile:hover {
    background-color: var(--reports_primary-light);
}

.reports_profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--reports_radius);
    box-shadow: var(--reports_shadow-md);
    width: 180px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--reports_transition-fast);
}

.reports_dark-mode .reports_profile-dropdown {
    background: var(--reports_card-bg);
    border: 1px solid var(--reports_border-color);
}

.reports_user-profile.reports_active .reports_profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reports_dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--reports_text-color);
    text-decoration: none;
    transition: var(--reports_transition-fast);
}

.reports_dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.reports_dropdown-item:hover {
    background-color: var(--reports_primary-light);
    color: var(--reports_primary);
}

/* Logout confirmation modal */
.reports_logout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--reports_transition);
}

.reports_logout-modal.reports_active {
    opacity: 1;
    visibility: visible;
}

.reports_logout-content {
    background: white;
    padding: 25px;
    border-radius: var(--reports_radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--reports_shadow-lg);
    text-align: center;
}

.reports_dark-mode .reports_logout-content {
    background: rgb(5, 7, 37);
}

.reports_logout-content h3 {
    margin-bottom: 15px;
    color: var(--reports_text-color);
}

.reports_logout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.reports_logout-buttons button {
    padding: 8px 20px;
    border-radius: var(--reports_radius);
    border: none;
    cursor: pointer;
    transition: var(--reports_transition-fast);
    font-weight: 500;
}

.reports_logout-confirm {
    background: var(--reports_danger);
    color: white;
}

.reports_logout-confirm:hover {
    background: #d11a6a;
}

.reports_logout-cancel {
    background: var(--reports_gray);
    color: var(--reports_text-color);
}

.reports_logout-cancel:hover {
    background: var(--reports_gray-dark);
}

@media (max-width: 768px) {
    .reports_content-container {
        padding: 20px;
    }
    
    .reports_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .reports_report-filters {
        flex-direction: column;
    }
    
    .reports_filter-group {
        width: 100%;
    }
    
    .reports_report-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .reports_header-title {
        font-size: 20px;
    }
    
    .reports_report-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .reports_btn {
        width: 100%;
    }
    
    .reports_report-stats {
        grid-template-columns: 1fr;
    }
    
    .reports_metrics-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
.reports_report-section {
padding: 20px !important;
border-radius: 10px !important;
box-shadow: none !important;
border: none !important;
margin-bottom: 15px;
}

.reports_metrics-grid, .reports_report-stats {
grid-template-columns: 1fr !important;
gap: 10px !important;
}

.reports_modern-card {
padding: 15px !important;
border-radius: var(--reports_radius) !important;
box-shadow: var(--reports_shadow-sm) !important;
}

.reports_report-filters {
flex-direction: column !important;
gap: 10px !important;
}

.reports_filter-group {
width: 100% !important;
min-width: auto !important;
}

.reports_chart-container {
height: 250px !important;
margin: 15px 0 !important;
}

.reports_report-data {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.reports_report-table {
min-width: 600px; /* Allows horizontal scrolling */
}

.reports_report-header {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}

.reports_report-actions {
width: 100%;
flex-direction: row !important;
}

.reports_btn {

text-align: center;
}

.reports_duration-item {

align-items: flex-start;
gap: 5px;
}

.reports_duration-bar {
width: 100%;
margin: 5px 0;
}
}

@media (max-width: 576px) {
.reports_report-tabs {
overflow-x: auto;
flex-wrap: nowrap;
padding-bottom: 5px;
}

.reports_report-tab {
padding: 8px 12px;
font-size: 14px;
}

.reports_report-title {
font-size: 16px !important;
}

.reports_report-actions {
flex-direction: column !important;
width: 100%;
}

.reports_btn {
width: 100%;
}

.reports_content-container {
padding: 15px !important;
}

.reports_header-title {
font-size: 18px !important;
}
}
/* setting page styles */
:root {
    --settings_primary: #6a306b;
    --settings_primary-light: rgba(106, 48, 107, 0.1);
    --settings_secondary: #4a1c4b;
    --settings_accent: #ac6ab1;
    --settings_accent-light: rgba(172, 106, 177, 0.1);
    --settings_success: #6ab1a7;
    --settings_success-light: rgba(106, 177, 167, 0.1);
    --settings_warning: #f8961e;
    --settings_warning-light: rgba(248, 150, 30, 0.1);
    --settings_danger: #f72585;
    --settings_danger-light: rgba(247, 37, 133, 0.1);
    --settings_info: #8e44ad;
    --settings_dark: #1a1a2e;
    --settings_dark-light: #16213e;
    --settings_light: #f8f9fa;
    --settings_gray: #e2e8f0;
    --settings_gray-dark: #94a3b8;
    --settings_gray-light: #f1f5f9;

    --settings_bg-color: #f1f5f9;
    --settings_card-bg: rgba(255, 255, 255, 0.9);
    --settings_text-color: #1e293b;
    --settings_text-muted: #64748b;
    --settings_border-color: rgba(226, 232, 240, 0.6);
    
    --settings_shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --settings_shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --settings_shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --settings_shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --settings_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --settings_transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --settings_sidebar-width: 280px;
    --settings_header-height: 80px;
    --settings_radius: 12px;
    --settings_radius-lg: 16px;
    --settings_radius-xl: 24px;
}

/* Dark mode variables */
.settings_dark-mode {
    --settings_bg-color: #0f172a;
    --settings_card-bg: rgba(30, 41, 59, 0.8);
    --settings_text-color: #f8fafc;
    --settings_text-muted: #94a3b8;
    --settings_border-color: rgba(30, 41, 59, 0.6);
    --settings_gray-light: #1e293b;
}

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

.settings_body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--settings_bg-color);
    color: var(--settings_text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    transition: var(--settings_transition);
    overflow-x: hidden;
}

/* Layout */
.settings_app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Sidebar - Glassmorphism style */
.settings_sidebar {
    width: var(--settings_sidebar-width);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid var(--settings_border-color);
    height: 100vh;
    position: fixed;
    padding: 20px;
    transition: var(--settings_transition);
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(0);
}

.settings_sidebar.settings_collapsed {
    transform: translateX(-100%);
}

.settings_dark-mode .settings_sidebar {
    background: rgba(15, 23, 42, 0.8);
    border-right: 1px solid rgba(30, 41, 59, 0.5);
}

.settings_sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 10px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--settings_border-color);
}

.settings_sidebar-header i {
    font-size: 24px;
    color: var(--settings_primary);
    background: var(--settings_primary-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings_sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.settings_sidebar-menu {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings_menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--settings_radius);
    text-decoration: none;
    color: var(--settings_text-muted);
    font-weight: 500;
    transition: var(--settings_transition-fast);
}

.settings_menu-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
}

.settings_menu-item:hover {
    background: var(--settings_primary-light);
    color: var(--settings_primary);
}

.settings_menu-item.settings_active {
    background: var(--settings_primary-light);
    color: var(--settings_primary);
    font-weight: 600;
}

.settings_menu-item.settings_active i {
    color: var(--settings_primary);
}

/* Main content */
.settings_main-content {
    flex: 1;
    margin-left: var(--settings_sidebar-width);
    transition: var(--settings_transition);
    width: calc(100% - var(--settings_sidebar-width));
}

.settings_sidebar.settings_collapsed + .settings_main-content {
    margin-left: 0;
    width: 100%;
}

/* Header */
.settings_header {
    height: var(--settings_header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: var(--settings_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--settings_border-color);
}

.settings_header-title {
    font-size: 24px;
    font-weight: 700;
}

.settings_header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.settings_theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--settings_primary-light);
    color: var(--settings_primary);
    border: none;
    cursor: pointer;
    transition: var(--settings_transition-fast);
}

.settings_theme-toggle:hover {
    background: var(--settings_primary);
    color: white;
}

.settings_user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings_user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--settings_primary);
}

.settings_user-info {
    display: flex;
    flex-direction: column;
}

.settings_user-name {
    font-weight: 600;
    font-size: 14px;
}

.settings_user-role {
    font-size: 12px;
    color: var(--settings_text-muted);
}

/* Content container */
.settings_content-container {
    padding: 30px;
}

/* Settings container */
.settings_settings-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .settings_settings-container {
        grid-template-columns: 1fr;
    }
    
    /* Fix for mobile view scrolling */
    .settings_settings-sidebar {
        position: relative;
        top: auto !important;
    }
}

/* Settings sidebar */
.settings_settings-sidebar {
    position: sticky;
    top: calc(var(--settings_header-height) + 30px);
    height: fit-content;
}

.settings_settings-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings_settings-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--settings_radius);
    color: var(--settings_text-muted);
    font-weight: 500;
    transition: var(--settings_transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.settings_settings-menu-item i {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.settings_settings-menu-item:hover {
    background: var(--settings_primary-light);
    color: var(--settings_primary);
}

.settings_settings-menu-item.settings_active {
    background: var(--settings_primary-light);
    color: var(--settings_primary);
    font-weight: 600;
}

/* Settings content */
.settings_settings-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings_settings-section {
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

.settings_settings-section.settings_active {
    display: block;
}

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

/* Card styles */
.settings_card {
    background: var(--settings_card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--settings_radius-lg);
    box-shadow: var(--settings_shadow);
    border: 1px solid var(--settings_border-color);
    transition: var(--settings_transition);
    overflow: hidden;
}

.settings_card:hover {
    box-shadow: var(--settings_shadow-md);
}

.settings_card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--settings_border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.settings_card-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings_card-title i {
    color: var(--settings_primary);
}

.settings_card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.settings_card-body {
    padding: 24px;
}

/* Profile section */
.settings_profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.settings_profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.settings_profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.settings_profile-avatar-edit {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: var(--settings_transition);
}

.settings_profile-avatar:hover .settings_profile-avatar-edit {
    opacity: 1;
}

.settings_profile-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.settings_profile-info p {
    color: var(--settings_text-muted);
    margin-bottom: 12px;
}

.settings_profile-stats {
    display: flex;
    gap: 20px;
}

.settings_profile-stat {
    display: flex;
    flex-direction: column;
}

.settings_profile-stat-value {
    font-size: 18px;
    font-weight: 600;
}

.settings_profile-stat-label {
    font-size: 12px;
    color: var(--settings_text-muted);
}

/* Form styles */
.settings_profile-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .settings_profile-form {
        grid-template-columns: 1fr;
    }
}

.settings_form-group {
    margin-bottom: 16px;
}

.settings_form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.settings_form-group input, 
.settings_form-group select, 
.settings_form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--settings_radius);
    border: 1px solid var(--settings_border-color);
    background: var(--settings_card-bg);
    color: var(--settings_text-color);
    font-size: 14px;
    transition: var(--settings_transition-fast);
}

.settings_settings_form-group input:focus, 
.settings_settings_form-group select:focus, 
.settings_settings_form-group textarea:focus {
    outline: none;
    border-color: var(--settings_primary);
    box-shadow: 0 0 0 3px var(--settings_primary-light);
}

.settings_form-group.settings_full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .settings_form-group.settings_full-width {
        grid-column: span 1;
    }
}

.settings_form-actions {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .settings_form-actions {
        grid-column: span 1;
    }
}

/* Buttons */
.settings_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--settings_radius);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: var(--settings_transition-fast);
    border: none;
    white-space: nowrap;
}

.settings_btn i {
    font-size: 14px;
}

.settings_btn-primary {
    background: var(--settings_primary);
    color: white;
}

.settings_btn-primary:hover {
    background: var(--settings_secondary);
    transform: translateY(-1px);
}

.settings_btn-outline {
    background: transparent;
    color: var(--settings_primary);
    border: 1px solid var(--settings_primary);
}

.settings_btn-outline:hover {
    background: var(--settings_primary-light);
}

/* Security section */
.settings_security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--settings_border-color);
}

.settings_security-info {
    flex: 1;
}

.settings_security-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.settings_security-description {
    font-size: 13px;
    color: var(--settings_text-muted);
}

/* Switch toggle */
.settings_switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.settings_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.settings_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--settings_border-color);
    transition: .4s;
    border-radius: 24px;
}

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

input:checked + .settings_slider {
    background-color: var(--settings_primary);
}

input:checked + .settings_slider:before {
    transform: translateX(20px);
}

/* Notification section */
.settings_notification-category {
    margin-bottom: 24px;
}

.settings_notification-category-title {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 16px;
}

.settings_notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--settings_border-color);
}

.settings_notification-info {
    flex: 1;
}

.settings_notification-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.settings_notification-description {
    font-size: 13px;
    color: var(--settings_text-muted);
}

/* Preferences section */
.settings_preferences-form {
    max-width: 600px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .settings_sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .settings_sidebar.settings_active {
        transform: translateX(0);
    }
    
    .settings_main-content {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .settings_content-container {
        padding: 20px;
    }
    
    .settings_header {
        padding: 0 20px;
        height: 70px;
    }
    
    .settings_profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .settings_profile-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .settings_header-title {
        font-size: 20px;
    }
    
    .settings_profile-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Sidebar Toggle Button */
.settings_sidebar-toggle {
    display: none; /* Hidden by default on desktop */
    background: transparent;
    border: none;
    color: var(--settings_text-color);
    font-size: 20px;
    cursor: pointer;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--settings_transition-fast);
}

.settings_sidebar-toggle:hover {
    background: var(--settings_primary-light);
    color: var(--settings_primary);
}

/* Sidebar collapsed state */
.settings_sidebar.settings_collapsed {
    transform: translateX(-100%);
}

/* Main content when sidebar is collapsed */
.settings_sidebar.settings_collapsed + .settings_main-content {
    margin-left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .settings_sidebar {
        transform: translateX(0);
        transition: transform 0.3s ease;
    }
    
    .settings_sidebar-toggle {
        display: flex; /* Show toggle button on mobile */
    }
    
    .settings_main-content {
        margin-left: 0;
    }
    
    /* Show sidebar when not collapsed */
    .settings_sidebar:not(.settings_collapsed) {
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
}

/* User profile dropdown */
.settings_user-profile {
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--settings_radius);
    transition: var(--settings_transition-fast);
}

.settings_user-profile:hover {
    background-color: var(--settings_primary-light);
}

.settings_profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: var(--settings_radius);
    box-shadow: var(--settings_shadow-md);
    width: 180px;
    padding: 10px 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--settings_transition-fast);
}

.settings_dark-mode .settings_profile-dropdown {
    background: var(--settings_card-bg);
    border: 1px solid var(--settings_border-color);
}

.settings_user-profile.settings_active .settings_profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings_dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--settings_text-color);
    text-decoration: none;
    transition: var(--settings_transition-fast);
}

.settings_dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.settings_dropdown-item:hover {
    background-color: var(--settings_primary-light);
    color: var(--settings_primary);
}

/* Modal styles */
.settings_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--settings_transition);
}

.settings_modal.settings_active {
    opacity: 1;
    visibility: visible;
}

.settings_modal-content {
    background: var(--settings_card-bg);
    padding: 25px;
    border-radius: var(--settings_radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--settings_shadow-lg);
}

.settings_modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.settings_modal-title {
    font-size: 20px;
    font-weight: 600;
}

.settings_modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--settings_text-muted);
}

.settings_modal-body {
    margin-bottom: 20px;
}

.settings_modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Toast notification */
.settings_toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--settings_card-bg);
    border-left: 4px solid var(--settings_primary);
    padding: 16px 24px;
    border-radius: var(--settings_radius);
    box-shadow: var(--settings_shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1100;
}

.settings_toast.settings_show {
    transform: translateY(0);
    opacity: 1;
}

.settings_toast-success {
    border-left-color: var(--settings_success);
}

.settings_toast-error {
    border-left-color: var(--settings_danger);
}

.settings_toast-icon {
    font-size: 20px;
}

.settings_toast-success .settings_toast-icon {
    color: var(--settings_success);
}

.settings_toast-error .settings_toast-icon {
    color: var(--settings_danger);
}

.settings_toast-message {
    flex: 1;
}

.settings_toast-close {
    background: none;
    border: none;
    color: var(--settings_text-muted);
    cursor: pointer;
}
.settings_btn-danger{
    background-color: rgb(211, 63, 63);
    color: white;
}