/* /Components/Pages/ContactCreate.razor.rz.scp.css */
.form-card[b-co1rzjygpj] {
    border-radius: 16px;
    border: 2px solid var(--crm-border);
}

.form-icon[b-co1rzjygpj] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.form-floating[b-co1rzjygpj] {
    position: relative;
}

.form-control:focus[b-co1rzjygpj] {
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--crm-primary-rgb), 0.25);
}

.btn-primary[b-co1rzjygpj] {
    background: var(--crm-primary);
    border: none;
    font-weight: 500;
}

    .btn-primary:hover[b-co1rzjygpj] {
        background: var(--crm-primary-dark);
    }
/* /Components/Pages/ContactDetails.razor.rz.scp.css */
/* HubSpot-style Detail Page Layout */
.detail-header[b-3fhi5zpr79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    margin-bottom: 0.25rem;
}

.btn-back[b-3fhi5zpr79] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
    text-decoration: none;
}

    .btn-back:hover[b-3fhi5zpr79] {
        background: var(--crm-bg-hover-dark);
        color: var(--crm-text-primary);
    }

.header-actions[b-3fhi5zpr79] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-3fhi5zpr79] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
}

    .btn-icon:hover[b-3fhi5zpr79] {
        background: var(--crm-bg-hover-dark);
        color: var(--crm-text-primary);
    }

    .btn-icon.active[b-3fhi5zpr79] {
        color: var(--crm-warning);
    }

/* Profile Section */
.profile-section[b-3fhi5zpr79] {
    text-align: center;
    padding: 0.5rem 0 1.5rem;
}

.profile-name[b-3fhi5zpr79] {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-subtitle[b-3fhi5zpr79] {
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
}

/* Tab Navigation - HubSpot Style */
.detail-tabs[b-3fhi5zpr79] {
    display: flex;
    border-bottom: 1px solid var(--crm-border);
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    background: var(--crm-bg-body);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tab-btn[b-3fhi5zpr79] {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color var(--crm-transition-base);
}

    .tab-btn:hover[b-3fhi5zpr79] {
        color: var(--crm-text-primary);
    }

    .tab-btn.active[b-3fhi5zpr79] {
        color: var(--crm-text-primary);
    }

        .tab-btn.active[b-3fhi5zpr79]::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--crm-text-primary);
        }

/* Tab Content */
.tab-content[b-3fhi5zpr79] {
    padding: 1rem 0;
}

/* Contact Avatar */
.contact-avatar[b-3fhi5zpr79] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.contact-info-list[b-3fhi5zpr79] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item[b-3fhi5zpr79] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon[b-3fhi5zpr79] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--crm-bg-light);
    color: var(--crm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tasks-list[b-3fhi5zpr79] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--crm-border);
}

.task-item[b-3fhi5zpr79] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: none;
    border-bottom: 1px solid var(--crm-border);
    border-radius: 0;
    background: var(--crm-bg-body);
    transition: all var(--crm-transition-base);
}

    .task-item:last-child[b-3fhi5zpr79] {
        border-bottom: none;
    }

    /* Alternating row colors (zebra striping) */
    .task-item:nth-child(even)[b-3fhi5zpr79] {
        background: var(--crm-bg-light);
    }

    .task-item:hover[b-3fhi5zpr79] {
        background: rgba(var(--crm-primary-rgb), 0.08) !important;
        box-shadow: inset 0 0 0 1px var(--crm-primary);
    }

    .task-item.task-completed[b-3fhi5zpr79] {
        opacity: 0.65;
    }

        .task-item.task-completed:nth-child(even)[b-3fhi5zpr79] {
            background: var(--crm-gray-100);
        }

        .task-item.task-completed:nth-child(odd)[b-3fhi5zpr79] {
            background: var(--crm-bg-light);
        }

        .task-item.task-completed:hover[b-3fhi5zpr79] {
            opacity: 0.85;
        }

.task-checkbox[b-3fhi5zpr79] {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
    min-width: 2rem;
    min-height: 2rem;
}

    .task-checkbox:hover[b-3fhi5zpr79] {
        background: rgba(var(--crm-primary-rgb), 0.15);
        transform: scale(1.08);
    }

    .task-checkbox:active[b-3fhi5zpr79] {
        transform: scale(0.95);
    }

.task-status[b-3fhi5zpr79] {
    flex-shrink: 0;
    margin-right: 0.5rem;
}

    .task-status .badge[b-3fhi5zpr79] {
        font-size: 0.7rem;
        padding: 0.4rem 0.65rem;
        font-weight: 600;
    }

.task-content[b-3fhi5zpr79] {
    min-width: 0;
    flex: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

    .task-content .fw-semibold[b-3fhi5zpr79] {
        font-size: 0.95rem;
        color: var(--crm-gray-800);
        line-height: 1.3;
    }

    .task-content small[b-3fhi5zpr79] {
        font-size: 0.85rem;
        line-height: 1.3;
    }

.task-meta[b-3fhi5zpr79] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.25rem;
}

    .task-meta small[b-3fhi5zpr79] {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.8rem;
    }

.modal-backdrop[b-3fhi5zpr79] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

.modal[b-3fhi5zpr79] {
    z-index: 1050;
}

/* Success/Error Alert Animations */
.alert[b-3fhi5zpr79] {
    animation: slideInDown-b-3fhi5zpr79 0.3s ease-out;
}

@keyframes slideInDown-b-3fhi5zpr79 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade out animation when alert is removed */
.alert.fade-out[b-3fhi5zpr79] {
    animation: fadeOutUp-b-3fhi5zpr79 0.5s ease-out forwards;
}
.task-content-wrapper[b-3fhi5zpr79] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.task-mobile-action[b-3fhi5zpr79] {
    padding-top: 0.5rem;
    border-top: 1px solid var(--crm-border-light);
}

@media (min-width: 768px) {
    .task-content-wrapper[b-3fhi5zpr79] {
        flex-direction: row;
        align-items: center;
    }

    .task-mobile-action[b-3fhi5zpr79] {
        display: none !important;
    }
}

/* Desktop layout - side by side tabs */
@media (min-width: 992px) {
    .detail-header[b-3fhi5zpr79] {
        max-width: 800px;
        margin: 0 auto;
    }

    .profile-section[b-3fhi5zpr79] {
        max-width: 800px;
        margin: 0 auto;
    }

    .detail-tabs[b-3fhi5zpr79] {
        max-width: 800px;
        margin: 0 auto;
    }

    .tab-content[b-3fhi5zpr79] {
        max-width: 800px;
        margin: 0 auto;
    }

    .contact-avatar[b-3fhi5zpr79] {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .profile-name[b-3fhi5zpr79] {
        font-size: 1.5rem;
    }
}

@keyframes fadeOutUp-b-3fhi5zpr79 {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
        margin-bottom: 1rem;
        padding: 1rem 1.25rem;
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
        margin-bottom: 0;
        padding: 0 1.25rem;
        overflow: hidden;
    }
}
@media (max-width: 567px){
    /* Reduce container padding on mobile for wider content */
    .container-fluid.py-4[b-3fhi5zpr79],
    .container-fluid.mt-4[b-3fhi5zpr79] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.5rem !important;
    }

    /* Hide avatar on mobile */
    .contact-avatar[b-3fhi5zpr79] {
        display: none;
    }

    /* Adjust profile section when avatar is hidden */
    .profile-section[b-3fhi5zpr79] {
        padding: 0 0 1.25rem;
    }

    .profile-name[b-3fhi5zpr79] {
        margin-top: 0;
    }

    /* More space before tabs on mobile */
    .quick-actions[b-3fhi5zpr79] {
        margin-bottom: 0.75rem;
    }

    .btn-sm.btn-md-normal[b-3fhi5zpr79] {
        padding: 0.375rem 0.5rem;
    }

    /* Cards styling - full width, no rounded corners */
    .card.border-0.shadow-sm[b-3fhi5zpr79],
    .card.shadow-sm[b-3fhi5zpr79] {
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .card-body[b-3fhi5zpr79] {
        padding: 1rem 0.5rem !important;
    }

    .card-header[b-3fhi5zpr79] {
        padding: 0.875rem 0.5rem !important;
        border-bottom: none !important;
    }

        /* Section header styling */
        .card-header h5[b-3fhi5zpr79],
        .card-header .h5[b-3fhi5zpr79] {
            font-size: 1rem;
        }

    /* Info items */
    .info-item[b-3fhi5zpr79] {
        gap: 0.75rem;
    }

    .info-icon[b-3fhi5zpr79] {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Task list styling */
    .tasks-list[b-3fhi5zpr79] {
        border: none;
        border-radius: 0;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .task-item[b-3fhi5zpr79] {
        padding: 0.875rem 0.5rem;
    }

    /* List group items */
    .list-group-item[b-3fhi5zpr79] {
        border: none !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        border-radius: 0 !important;
        padding: 0.875rem 0.5rem !important;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

        .list-group-item:last-child[b-3fhi5zpr79] {
            border-bottom: none !important;
        }

    /* Row margins */
    .mb-4[b-3fhi5zpr79] {
        margin-bottom: 0.5rem !important;
    }

    .col-lg-4.mb-4[b-3fhi5zpr79],
    .col-lg-8.mb-4[b-3fhi5zpr79] {
        margin-bottom: 0 !important;
    }
}

@media (min-width: 768px) {
    .btn-sm.btn-md-normal[b-3fhi5zpr79] {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
/*    .modal-dialog {
        max-width: 90vh;
    }
    .modal-body {
        position: relative;
        display: grid;
        grid-template-columns: auto auto;
        .contact-details{
            column-width: 2;
        }
    }*/
}

/* Activity Timeline */
.activity-timeline[b-3fhi5zpr79] {
    position: relative;
}

.activity-item[b-3fhi5zpr79] {
    position: relative;
    padding-left: 0.5rem;
}

    .activity-item[b-3fhi5zpr79]::before {
        content: '';
        position: absolute;
        left: 11px;
        top: 28px;
        bottom: -12px;
        width: 2px;
        background: var(--crm-border);
    }

    .activity-item:last-child[b-3fhi5zpr79]::before {
        display: none;
    }

.activity-icon[b-3fhi5zpr79] {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: var(--crm-bg-body);
    z-index: 1;
}

/* Fix for mobile: ensure activity title doesn't get squished when dropdown is open */
.activity-item .flex-grow-1[b-3fhi5zpr79] {
    min-width: 0; /* Allow flex item to shrink below content size */
    flex: 1 1 auto;
}

    /* Ensure activity title text wraps properly */
    .activity-item .flex-grow-1 .fw-semibold[b-3fhi5zpr79],
    .activity-item .flex-grow-1 .btn-link[b-3fhi5zpr79] {
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

/* Ensure dropdown container doesn't grow and is positioned relatively for absolute menu */
.activity-item .dropdown[b-3fhi5zpr79] {
    flex-shrink: 0;
    position: relative; /* Ensure dropdown menu is positioned relative to this */
}

    /* Force dropdown menu to be absolutely positioned and overlay on top */
    .activity-item .dropdown .dropdown-menu[b-3fhi5zpr79] {
        position: absolute !important;
        z-index: 1000;
        margin: 0;
        top: 100% !important; /* Position below the button */
        margin-top: 0.125rem !important; /* Small gap between button and menu */
    }

/* Ensure dropdown button doesn't affect layout when menu is open */
.activity-item .dropdown-toggle[b-3fhi5zpr79] {
    flex-shrink: 0;
}

/* Ensure timestamp doesn't shrink */
.activity-item .text-nowrap[b-3fhi5zpr79] {
    flex-shrink: 0;
}

/* On very small screens, reduce font size slightly for better fit */
@media (max-width: 576px) {
    .activity-item .fw-semibold[b-3fhi5zpr79],
    .activity-item .btn-link[b-3fhi5zpr79] {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .activity-item .text-nowrap[b-3fhi5zpr79] {
        font-size: 0.75rem;
    }
}

.badge-sm[b-3fhi5zpr79] {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Collapsible header */
.collapsible-header[b-3fhi5zpr79] {
    transition: background-color 0.15s ease;
}

    .collapsible-header:hover[b-3fhi5zpr79] {
        background-color: var(--crm-bg-light) !important;
    }

/* Autocomplete suggestions */
.autocomplete-suggestions[b-3fhi5zpr79] {
    z-index: 1100;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 0.25rem;
    border: 1px solid var(--crm-border);
    border-radius: 0.375rem;
    background: var(--crm-bg-body);
}

    .autocomplete-suggestions .autocomplete-suggestion-item[b-3fhi5zpr79] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.5rem 0.75rem !important;
        border: 0 !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        border-radius: 0 !important;
        background: var(--crm-bg-body) !important;
        color: var(--crm-text-primary);
        text-align: left;
    }

        .autocomplete-suggestions .autocomplete-suggestion-item:last-child[b-3fhi5zpr79] {
            border-bottom: 0 !important;
        }

        .autocomplete-suggestions .autocomplete-suggestion-item:hover[b-3fhi5zpr79],
        .autocomplete-suggestions .autocomplete-suggestion-item:focus[b-3fhi5zpr79] {
            background: var(--crm-bg-light) !important;
        }

/* Quick Action Buttons - HubSpot style */
.quick-actions[b-3fhi5zpr79] {
    border-top: 1px solid var(--crm-border);
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.quick-action-btn[b-3fhi5zpr79] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    cursor: pointer;
    transition: all var(--crm-transition-base);
    text-decoration: none;
    min-width: 56px;
}

    .quick-action-btn:hover[b-3fhi5zpr79] {
        color: var(--crm-primary);
    }

        .quick-action-btn:hover .quick-action-icon[b-3fhi5zpr79] {
            background: rgba(var(--crm-primary-rgb), 0.1);
            border-color: var(--crm-primary);
            color: var(--crm-primary);
        }

.quick-action-icon[b-3fhi5zpr79] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--crm-border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--crm-transition-base);
    background: var(--crm-bg-body);
    color: inherit;
    position: relative;
}

    /* Center icons precisely */
    .quick-action-icon i[b-3fhi5zpr79] {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1rem;
        line-height: 1;
        width: auto;
        height: auto;
    }

.quick-action-label[b-3fhi5zpr79] {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
}

/* User avatar for assigned users */
.user-avatar[b-3fhi5zpr79] {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crm-text-secondary);
    font-size: 1.5rem;
}

/* Small avatar for modals */
.contact-avatar-sm[b-3fhi5zpr79] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-bg-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-avatar-sm i[b-3fhi5zpr79] {
        font-size: 1.1rem;
        line-height: 1;
    }

/* Call Now button in modal - smaller size */
[b-3fhi5zpr79] .btn-lg.btn-success {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

/* Mobile responsive quick actions */
@media (max-width: 400px) {
    .quick-action-icon[b-3fhi5zpr79] {
        width: 36px;
        height: 36px;
    }

        .quick-action-icon i[b-3fhi5zpr79],
        .quick-action-icon i[b-3fhi5zpr79]::before {
            font-size: 0.9rem !important;
        }

    .quick-action-btn[b-3fhi5zpr79] {
        min-width: 48px;
    }

    .quick-action-label[b-3fhi5zpr79] {
        font-size: 0.65rem;
    }
}

/* Email body preview in activity log */
.email-body-preview[b-3fhi5zpr79] {
    border-left: 3px solid var(--crm-primary);
    background-color: var(--crm-bg-light);
}

    .email-body-preview .email-content[b-3fhi5zpr79] {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: var(--crm-gray-800);
        line-height: 1.5;
        white-space: normal;
    }

        .email-body-preview .email-content img[b-3fhi5zpr79] {
            max-width: 100%;
            height: auto;
        }

/* Activity preview styling with responsive max-width */
.activity-preview[b-3fhi5zpr79] {
    max-width: 550px;
}

@media (max-width: 576px) {
    .activity-preview[b-3fhi5zpr79] {
        max-width: 220px;
    }
}

/* Comment Attachments */
.comment-attachments[b-3fhi5zpr79] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attachment-thumbnail[b-3fhi5zpr79] {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--crm-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .attachment-thumbnail:hover[b-3fhi5zpr79] {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .attachment-thumbnail img[b-3fhi5zpr79] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Mention highlighting in comments */
[b-3fhi5zpr79] .mention-highlight {
    color: var(--bs-primary, #0d6efd);
    font-weight: 500;
    background-color: rgba(13, 110, 253, 0.1);
    padding: 0 3px;
    border-radius: 3px;
}

/* Comment content styling */
.comment-content[b-3fhi5zpr79] {
    word-break: break-word;
}
button.refresh-call-notes-button[b-3fhi5zpr79]{
    /* Need a plus icon in front and style like text */
    background: none;
    border: none;
    color: var(--crm-text-primary);
    padding: 0;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
/* /Components/Pages/Contacts.razor.rz.scp.css */
/* Contacts page specific styles */
/* Note: Uses shared .entity-avatar, .sortable-header, .clickable-row from default.css */

/* Contact Avatar - extends entity-avatar--lg */
.contact-avatar[b-83wocfl9sh] {
    min-width: 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.938rem;
    text-transform: uppercase;
    flex-shrink: 0;
    overflow: hidden;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Table Styles - contact-row extends clickable-row */
.contact-row[b-83wocfl9sh] {
    cursor: pointer;
    transition: background-color var(--crm-transition-base);
}

.contact-row:hover[b-83wocfl9sh] {
    background-color: var(--crm-bg-hover);
}

/* Mobile Styles */
.mobile-contact-list[b-83wocfl9sh] {
    display: none;
}

.mobile-contact-card[b-83wocfl9sh] {
    background: var(--crm-bg-body);
    border: none;
    border-bottom: 1px solid var(--crm-border-light);
    border-radius: 0;
    margin-bottom: 0;
    padding: 0.875rem 0.75rem 0.875rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .mobile-contact-card:hover[b-83wocfl9sh],
    .mobile-contact-card:active[b-83wocfl9sh] {
        background-color: var(--crm-bg-light);
    }

.mobile-contact-header[b-83wocfl9sh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.mobile-contact-main[b-83wocfl9sh] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mobile-contact-content[b-83wocfl9sh] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mobile-contact-name[b-83wocfl9sh] {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.mobile-contact-meta[b-83wocfl9sh] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-contact-meta-item[b-83wocfl9sh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--crm-text-secondary);
    min-width: 0;
}

    .mobile-contact-meta-item i[b-83wocfl9sh] {
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .mobile-contact-meta-item span[b-83wocfl9sh] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

.mobile-contact-actions-right[b-83wocfl9sh] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.chevron-icon[b-83wocfl9sh] {
    font-size: 1.25rem;
    color: var(--crm-text-secondary);
}

.mobile-contact-details[b-83wocfl9sh] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--crm-border-light);
}

.mobile-contact-details-row[b-83wocfl9sh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--crm-border-light);
}

    .mobile-contact-details-row:last-of-type[b-83wocfl9sh] {
        border-bottom: none;
    }

.mobile-contact-details-label[b-83wocfl9sh] {
    font-weight: 600;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
}

.mobile-contact-actions[b-83wocfl9sh] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--crm-border-light);
}

    .mobile-contact-actions .btn[b-83wocfl9sh] {
        flex: 1;
    }

/* Mobile selection checkbox */
.mobile-contact-select[b-83wocfl9sh] {
    display: flex;
    align-items: center;
}

    .mobile-contact-select .form-check-input[b-83wocfl9sh] {
        width: 1.25rem;
        height: 1.25rem;
        margin: 0;
        cursor: pointer;
    }

/* Mobile card selected state */
.mobile-contact-card.selected[b-83wocfl9sh] {
    border-color: var(--crm-primary);
    background-color: rgba(var(--crm-primary-rgb), 0.1);
}

/* Mobile bulk actions bar */
.mobile-bulk-actions[b-83wocfl9sh] {
    background-color: var(--crm-bg-light);
    border: 1px solid var(--crm-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 0 1rem 0;
    padding: 1rem !important;
    border-radius: var(--crm-radius-lg);
    color: var(--crm-text-primary);
}

/* Close button */
.btn-close-bulk[b-83wocfl9sh] {
    background: transparent;
    border: none;
    color: var(--crm-text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--crm-radius-sm);
    transition: all var(--crm-transition-fast);
}

.btn-close-bulk:hover[b-83wocfl9sh] {
    background-color: var(--crm-bg-hover);
    color: var(--crm-text-primary);
}

/* Bulk action buttons */
.btn-bulk-action[b-83wocfl9sh] {
    background-color: var(--crm-bg-muted);
    border: 1px solid var(--crm-border);
    color: var(--crm-text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--crm-radius-md);
    transition: all var(--crm-transition-fast);
}

.btn-bulk-action:hover[b-83wocfl9sh] {
    background-color: var(--crm-primary);
    border-color: var(--crm-primary);
    color: var(--crm-text-light);
}

.btn-bulk-action:disabled[b-83wocfl9sh] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Delete action - danger style */
.btn-bulk-action-danger[b-83wocfl9sh] {
    background-color: transparent;
    border: 1px solid var(--crm-danger);
    color: var(--crm-danger);
    padding: 0.5rem 0.75rem;
    border-radius: var(--crm-radius-md);
    transition: all var(--crm-transition-fast);
}

.btn-bulk-action-danger:hover[b-83wocfl9sh] {
    background-color: var(--crm-danger);
    border-color: var(--crm-danger);
    color: #ffffff;
}

/* Desktop - hide mobile list */
.mobile-contact-list[b-83wocfl9sh] {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .add-contact-btn .btn-text[b-83wocfl9sh] {
        display: none;
    }

    .desktop-table[b-83wocfl9sh] {
        display: none !important;
    }

    .mobile-contact-list[b-83wocfl9sh] {
        display: block !important;
        max-width: 100%;
        overflow: hidden;
    }

    .btn-group[b-83wocfl9sh] {
        width: 100%;
        margin-bottom: 1rem;
    }

        .btn-group .btn[b-83wocfl9sh] {
            font-size: 0.875rem;
            padding: 0.5rem;
        }

    .contact-avatar[b-83wocfl9sh] {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.813rem;
    }

    /* Ensure mobile content fits */
    .mobile-contact-card[b-83wocfl9sh] {
        max-width: 100%;
        overflow: hidden;
    }

    .mobile-contact-main[b-83wocfl9sh] {
        max-width: calc(100% - 2rem);
    }
}

/* Mobile Group Headers */
.mobile-group-header[b-83wocfl9sh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem;
    margin: 0;
    background-color: var(--crm-bg-muted);
    border-left: 3px solid var(--crm-primary);
}

.mobile-group-label[b-83wocfl9sh] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--crm-text-primary);
}

.mobile-group-sort-info[b-83wocfl9sh] {
    font-size: 0.688rem;
    color: var(--crm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Sort Value Display */
.mobile-contact-sort-value[b-83wocfl9sh] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.813rem;
    color: var(--crm-primary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.mobile-contact-sort-value i[b-83wocfl9sh] {
    font-size: 0.75rem;
}

/* Mobile Contact Email */
.mobile-contact-email[b-83wocfl9sh] {
    font-size: 0.813rem;
    color: var(--crm-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/CreateTeam.razor.rz.scp.css */
.card[b-4431ggmnrq] {
    border-radius: 12px;
    border: none;
}

.card-header[b-4431ggmnrq] {
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
    border: none;
}

.form-control:focus[b-4431ggmnrq] {
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--crm-primary-rgb), 0.25);
}

.btn-primary[b-4431ggmnrq] {
    background: var(--crm-primary);
    border: none;
}

    .btn-primary:hover:not(:disabled)[b-4431ggmnrq] {
        background: var(--crm-primary-dark);
    }

    .btn-primary:disabled[b-4431ggmnrq] {
        opacity: 0.65;
    }
/* /Components/Pages/Leads.razor.rz.scp.css */
/* Constrain header and search to prevent page overflow */
.page-header-container[b-2vedg1ck7p] {
    max-width: 80vw;
    overflow-x: hidden;
}

.container-fluid[b-2vedg1ck7p] {
    max-width: 100vw;
    overflow-x: hidden;
}

.search-container[b-2vedg1ck7p] {
    max-width: 80vw;
}

/* Leads Kanban Board Layout */
.leads-board[b-2vedg1ck7p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 100%;
    max-width: 80vw;
}

@media (min-width: 992px) {
    .leads-board[b-2vedg1ck7p] {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }
}

/* Custom scrollbar for the board */
.leads-board[b-2vedg1ck7p]::-webkit-scrollbar {
    height: 8px;
}

.leads-board[b-2vedg1ck7p]::-webkit-scrollbar-track {
    background: var(--crm-bg-body);
    border-radius: 4px;
}

.leads-board[b-2vedg1ck7p]::-webkit-scrollbar-thumb {
    background: var(--crm-border-dark);
    border-radius: 4px;
}

.leads-board[b-2vedg1ck7p]::-webkit-scrollbar-thumb:hover {
    background: var(--crm-text-muted);
}

.lead-column[b-2vedg1ck7p] {
    background-color: var(--crm-bg-card);
    border: 1px solid var(--crm-border);
    border-radius: 8px;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 220px);
}

.column-header[b-2vedg1ck7p] {
    padding: 0.75rem 1rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.column-header .badge[b-2vedg1ck7p] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Badge color adjustments for specific column header colors */
.column-header.bg-warning .badge[b-2vedg1ck7p],
.column-header.bg-light .badge[b-2vedg1ck7p],
.column-header.bg-white .badge[b-2vedg1ck7p] {
    background-color: rgba(0, 0, 0, 0.15) !important;
    color: #000000 !important;
}

.column-header.bg-primary .badge[b-2vedg1ck7p],
.column-header.bg-info .badge[b-2vedg1ck7p],
.column-header.bg-success .badge[b-2vedg1ck7p],
.column-header.bg-danger .badge[b-2vedg1ck7p],
.column-header.bg-secondary .badge[b-2vedg1ck7p],
.column-header.bg-dark .badge[b-2vedg1ck7p] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
}

/* Bootstrap color overrides for column headers */
.column-header.bg-primary[b-2vedg1ck7p] { 
    background-color: var(--bs-primary) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-info[b-2vedg1ck7p] { 
    background-color: var(--bs-info) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-warning[b-2vedg1ck7p] { 
    background-color: var(--bs-warning) !important;
    color: var(--crm-contrast-dark) !important;
}
.column-header.bg-success[b-2vedg1ck7p] { 
    background-color: var(--bs-success) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-danger[b-2vedg1ck7p] { 
    background-color: var(--bs-danger) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-secondary[b-2vedg1ck7p] { 
    background-color: var(--bs-secondary) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-light[b-2vedg1ck7p] { 
    background-color: var(--bs-light) !important;
    color: var(--crm-contrast-dark) !important;
}
.column-header.bg-dark[b-2vedg1ck7p] { 
    background-color: var(--bs-dark) !important;
    color: var(--crm-contrast-light) !important;
}
.column-header.bg-white[b-2vedg1ck7p] { 
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Ensure h6 inherits the color */
.column-header h6[b-2vedg1ck7p] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}

.column-body[b-2vedg1ck7p] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Lead Cards */
.lead-card[b-2vedg1ck7p] {
    background: var(--crm-bg-body);
    border: 1px solid var(--crm-border);
    border-radius: 6px;
    padding: 0.75rem;
    cursor: move;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lead-card:hover[b-2vedg1ck7p] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--crm-border-dark);
}

.lead-card:active[b-2vedg1ck7p] {
    cursor: grabbing;
    opacity: 0.8;
}

.lead-card h6[b-2vedg1ck7p] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--crm-text-primary);
    margin-bottom: 0.5rem;
}

.lead-card .small[b-2vedg1ck7p] {
    font-size: 0.8rem;
    color: var(--crm-text-secondary);
}

/* Drag and drop effects */
.lead-column[data-drag-over="true"][b-2vedg1ck7p] {
    background-color: var(--crm-bg-hover-dark);
    border: 2px dashed var(--bs-primary);
}

/* Scrollbar styling */
.column-body[b-2vedg1ck7p]::-webkit-scrollbar {
    width: 6px;
}

.column-body[b-2vedg1ck7p]::-webkit-scrollbar-track {
    background: transparent;
}

.column-body[b-2vedg1ck7p]::-webkit-scrollbar-thumb {
    background: var(--crm-border-dark);
    border-radius: 3px;
}

.column-body[b-2vedg1ck7p]::-webkit-scrollbar-thumb:hover {
    background: var(--crm-text-muted);
}

/* Small alert for closure reason */
.alert-sm[b-2vedg1ck7p] {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .leads-board[b-2vedg1ck7p] {
        grid-template-columns: 1fr;
        max-width:unset;
    }

    .lead-column[b-2vedg1ck7p] {
        max-width: 100%;
        height: auto;
        min-height: 350px;
    }

    .column-header[b-2vedg1ck7p] {
        padding: 0.65rem 0.85rem;
    }

    .lead-card[b-2vedg1ck7p] {
        padding: 0.65rem;
    }
}
/* /Components/Pages/MemberRoleManagement.razor.rz.scp.css */
/* Member Role Management Modal Styles */

/* Modal Overlay - Full screen popup */
[b-8q0nsbu60k] .modal-overlay,
.modal-overlay[b-8q0nsbu60k] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn-b-8q0nsbu60k 0.2s ease-out;
}

@keyframes fadeIn-b-8q0nsbu60k {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modal specific overrides */
[b-8q0nsbu60k] .modal-content,
.modal-content[b-8q0nsbu60k] {
    position: relative;
    background: var(--crm-bg-body, #fff);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.member-role-modal[b-8q0nsbu60k] {
    animation: slideUp-b-8q0nsbu60k 0.3s ease-out;
}

@keyframes slideUp-b-8q0nsbu60k {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.member-avatar-lg[b-8q0nsbu60k] {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--crm-role-primary, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Section titles */
.section-title[b-8q0nsbu60k] {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.section-title i[b-8q0nsbu60k] {
    color: var(--crm-role-primary, #000000);
}

/* Role Chips */
.role-chips[b-8q0nsbu60k] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.role-chip[b-8q0nsbu60k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.role-chip.system-role[b-8q0nsbu60k] {
    background: var(--crm-role-primary-light, rgba(139, 92, 246, 0.08));
    border-color: var(--crm-role-primary, rgba(139, 92, 246, 0.3));
}

.role-chip:hover[b-8q0nsbu60k] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    border-color: #cbd5e0;
}

.role-chip.system-role:hover[b-8q0nsbu60k] {
    border-color: var(--crm-role-primary, rgba(139, 92, 246, 0.5));
}

.role-chip-content[b-8q0nsbu60k] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 0;
}

.role-chip-icon[b-8q0nsbu60k] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    color: #4a5568;
}

.role-chip.system-role .role-chip-icon[b-8q0nsbu60k] {
    background: var(--crm-role-primary, #000000);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.role-chip-info[b-8q0nsbu60k] {
    flex: 1;
    min-width: 0;
}

.role-chip-info strong[b-8q0nsbu60k] {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #2d3748;
}

.role-chip-info small[b-8q0nsbu60k] {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.4;
}

.btn-chip-remove[b-8q0nsbu60k] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #fee;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-chip-remove:hover:not(:disabled)[b-8q0nsbu60k] {
    background: #dc3545;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-chip-remove:disabled[b-8q0nsbu60k] {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-chip-remove i[b-8q0nsbu60k] {
    font-size: 0.875rem;
}

/* Empty state styling */
.bg-light.rounded[b-8q0nsbu60k] {
    background: #f7fafc !important;
    border: 2px dashed #e2e8f0;
    padding: 2rem !important;
}

.bg-light.rounded i[b-8q0nsbu60k] {
    font-size: 2.5rem;
    color: #cbd5e0;
}

/* Modal enhancements */
.modal-lg[b-8q0nsbu60k] {
    max-width: 600px;
}

.modal-header[b-8q0nsbu60k] {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3[b-8q0nsbu60k] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
}

.btn-close[b-8q0nsbu60k] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #718096;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-close:hover[b-8q0nsbu60k] {
    background: #f7fafc;
    color: #2d3748;
}

.modal-body[b-8q0nsbu60k] {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body h5[b-8q0nsbu60k] {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0;
}

.modal-footer[b-8q0nsbu60k] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f7fafc;
}

/* Alert styling */
.alert[b-8q0nsbu60k] {
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.875rem;
}

.alert-danger[b-8q0nsbu60k] {
    background: #fee;
    border-color: #fcc;
    color: #c53030;
}

.alert-info[b-8q0nsbu60k] {
    background: #e6f7ff;
    border-color: #91d5ff;
    color: #1890ff;
}

.alert-warning[b-8q0nsbu60k] {
    background: #fffbe6;
    border-color: #ffe58f;
    color: #d48806;
}

.alert i[b-8q0nsbu60k] {
    vertical-align: middle;
}

/* Form styling */
.form-group[b-8q0nsbu60k] {
    margin-bottom: 1.25rem;
}

.form-label[b-8q0nsbu60k] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-select[b-8q0nsbu60k] {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.form-select:focus[b-8q0nsbu60k] {
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Button styling */
.btn-primary[b-8q0nsbu60k] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.btn-primary:hover:not(:disabled)[b-8q0nsbu60k] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled[b-8q0nsbu60k] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary[b-8q0nsbu60k] {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.2s;
}

.btn-secondary:hover:not(:disabled)[b-8q0nsbu60k] {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Badge styling */
.badge[b-8q0nsbu60k] {
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.bg-secondary[b-8q0nsbu60k] {
    background: #e2e8f0 !important;
    color: #4a5568;
}

/* Scrollbar styling */
.modal-body[b-8q0nsbu60k]::-webkit-scrollbar {
    width: 8px;
}

.modal-body[b-8q0nsbu60k]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body[b-8q0nsbu60k]::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

.modal-body[b-8q0nsbu60k]::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Dark mode support */
:is([data-theme="dark"], [data-bs-theme="dark"]) .member-role-modal[b-8q0nsbu60k] {
    background: var(--crm-bg-light);
    color: var(--crm-text-primary);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .modal-header[b-8q0nsbu60k] {
    border-bottom-color: var(--crm-border);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .modal-footer[b-8q0nsbu60k] {
    background: var(--crm-bg-muted);
    border-top-color: var(--crm-border);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .section-title[b-8q0nsbu60k] {
    color: var(--crm-text-primary);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .role-chip[b-8q0nsbu60k] {
    background: var(--crm-bg-muted);
    border-color: var(--crm-border);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .role-chip-info strong[b-8q0nsbu60k] {
    color: var(--crm-text-primary);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .role-chip-info small[b-8q0nsbu60k] {
    color: var(--crm-text-secondary);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .btn-close[b-8q0nsbu60k] {
    color: var(--crm-text-secondary);
}

:is([data-theme="dark"], [data-bs-theme="dark"]) .btn-close:hover[b-8q0nsbu60k] {
    background: var(--crm-bg-hover);
    color: var(--crm-text-primary);
}

/* Responsive */
@media (max-width: 576px) {
    .member-avatar-lg[b-8q0nsbu60k] {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .modal-lg[b-8q0nsbu60k] {
        max-width: 95%;
        margin: 0.5rem;
    }

    .modal-header[b-8q0nsbu60k],
    .modal-body[b-8q0nsbu60k],
    .modal-footer[b-8q0nsbu60k] {
        padding: 1rem;
    }

    .role-chip[b-8q0nsbu60k] {
        padding: 0.875rem;
    }

    .role-chip-content[b-8q0nsbu60k] {
        gap: 0.75rem;
    }

    .role-chip-icon[b-8q0nsbu60k] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .role-chip-info strong[b-8q0nsbu60k] {
        font-size: 0.9375rem;
    }

    .role-chip-info small[b-8q0nsbu60k] {
        font-size: 0.8125rem;
    }

    .btn-chip-remove[b-8q0nsbu60k] {
        width: 32px;
        height: 32px;
    }
}
/* /Components/Pages/Opportunities.razor.rz.scp.css */
/* Constrain header and search to prevent page overflow */
.page-header-container[b-hxyr30oon1] {
    max-width: 80vw;
    overflow-x: hidden;
}

.container-fluid[b-hxyr30oon1] {
    max-width: 100vw;
    overflow-x: hidden;
}

.search-container[b-hxyr30oon1] {
    max-width: 80vw;
}

/* Opportunities Kanban Board Layout */
.leads-board[b-hxyr30oon1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 100%;
    max-width:80vw;
}

@media (min-width: 992px) {
    .leads-board[b-hxyr30oon1] {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }
}

/* Custom scrollbar for the board */
.leads-board[b-hxyr30oon1]::-webkit-scrollbar {
    height: 8px;
}

.leads-board[b-hxyr30oon1]::-webkit-scrollbar-track {
    background: var(--crm-bg-body);
    border-radius: 4px;
}

.leads-board[b-hxyr30oon1]::-webkit-scrollbar-thumb {
    background: var(--crm-border-dark);
    border-radius: 4px;
}

.leads-board[b-hxyr30oon1]::-webkit-scrollbar-thumb:hover {
    background: var(--crm-text-muted);
}

.lead-column[b-hxyr30oon1] {
    background-color: var(--crm-bg-card);
    border: 1px solid var(--crm-border);
    border-radius: 8px;
    min-width: 280px;
    max-width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 220px);
}

.column-header[b-hxyr30oon1] {
    padding: 0.75rem 1rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.column-header .badge[b-hxyr30oon1] {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.column-header.bg-warning .badge[b-hxyr30oon1],
.column-header.bg-light .badge[b-hxyr30oon1],
.column-header.bg-white .badge[b-hxyr30oon1] {
    background-color: rgba(0, 0, 0, 0.15) !important;
    color: #000000 !important;
}

.column-header.bg-primary .badge[b-hxyr30oon1],
.column-header.bg-info .badge[b-hxyr30oon1],
.column-header.bg-success .badge[b-hxyr30oon1],
.column-header.bg-danger .badge[b-hxyr30oon1],
.column-header.bg-secondary .badge[b-hxyr30oon1],
.column-header.bg-dark .badge[b-hxyr30oon1] {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
}

.column-header.bg-primary[b-hxyr30oon1] {
    background-color: var(--bs-primary) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-info[b-hxyr30oon1] {
    background-color: var(--bs-info) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-warning[b-hxyr30oon1] {
    background-color: var(--bs-warning) !important;
    color: var(--crm-contrast-dark) !important;
}

.column-header.bg-success[b-hxyr30oon1] {
    background-color: var(--bs-success) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-danger[b-hxyr30oon1] {
    background-color: var(--bs-danger) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-secondary[b-hxyr30oon1] {
    background-color: var(--bs-secondary) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-light[b-hxyr30oon1] {
    background-color: var(--bs-light) !important;
    color: var(--crm-contrast-dark) !important;
}

.column-header.bg-dark[b-hxyr30oon1] {
    background-color: var(--bs-dark) !important;
    color: var(--crm-contrast-light) !important;
}

.column-header.bg-white[b-hxyr30oon1] {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.column-header h6[b-hxyr30oon1] {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}

.column-body[b-hxyr30oon1] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lead-card[b-hxyr30oon1] {
    background: var(--crm-bg-body);
    border: 1px solid var(--crm-border);
    border-radius: 6px;
    padding: 0.75rem;
    cursor: move;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lead-card:hover[b-hxyr30oon1] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--crm-border-dark);
}

.lead-card:active[b-hxyr30oon1] {
    cursor: grabbing;
    opacity: 0.8;
}

.lead-card h6[b-hxyr30oon1] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--crm-text-primary);
    margin-bottom: 0.5rem;
}

.lead-card .small[b-hxyr30oon1] {
    font-size: 0.8rem;
    color: var(--crm-text-secondary);
}

.lead-column[data-drag-over="true"][b-hxyr30oon1] {
    background-color: var(--crm-bg-hover-dark);
    border: 2px dashed var(--bs-primary);
}

.column-body[b-hxyr30oon1]::-webkit-scrollbar {
    width: 6px;
}

.column-body[b-hxyr30oon1]::-webkit-scrollbar-track {
    background: transparent;
}

.column-body[b-hxyr30oon1]::-webkit-scrollbar-thumb {
    background: var(--crm-border-dark);
    border-radius: 3px;
}

.column-body[b-hxyr30oon1]::-webkit-scrollbar-thumb:hover {
    background: var(--crm-text-muted);
}

.alert-sm[b-hxyr30oon1] {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .leads-board[b-hxyr30oon1] {
        grid-template-columns: 1fr;
        max-width:unset;
    }

    .lead-column[b-hxyr30oon1] {
        max-width: 100%;
        height: auto;
        min-height: 350px;
    }

    .column-header[b-hxyr30oon1] {
        padding: 0.65rem 0.85rem;
    }

    .lead-card[b-hxyr30oon1] {
        padding: 0.65rem;
    }
}
/* /Components/Pages/OpportunityDetails.razor.rz.scp.css */
/* HubSpot-style Detail Page Layout */
.detail-header[b-znuv44iab3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    margin-bottom: 0.25rem;
}

.btn-back[b-znuv44iab3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
    text-decoration: none;
}

.btn-back:hover[b-znuv44iab3] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

.header-actions[b-znuv44iab3] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-znuv44iab3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
}

.btn-icon:hover[b-znuv44iab3] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

/* Profile Section */
.profile-section[b-znuv44iab3] {
    text-align: center;
    padding: 0.5rem 0 1.5rem;
}

.contact-avatar[b-znuv44iab3] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.profile-name[b-znuv44iab3] {
    margin: 0.75rem 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-subtitle[b-znuv44iab3] {
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
}

/* Quick Action Buttons */
.quick-actions[b-znuv44iab3] {
    border-top: 1px solid var(--crm-border);
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.quick-action-btn[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    cursor: pointer;
    transition: all var(--crm-transition-base);
    text-decoration: none;
    min-width: 56px;
}

.quick-action-btn:hover[b-znuv44iab3] {
    color: var(--crm-primary);
}

.quick-action-btn:hover .quick-action-icon[b-znuv44iab3] {
    background: rgba(var(--crm-primary-rgb), 0.1);
    border-color: var(--crm-primary);
    color: var(--crm-primary);
}

.quick-action-icon[b-znuv44iab3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--crm-border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--crm-transition-base);
    background: var(--crm-bg-body);
    color: inherit;
    position: relative;
}

.quick-action-icon i[b-znuv44iab3] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    line-height: 1;
    width: auto;
    height: auto;
}

.quick-action-label[b-znuv44iab3] {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1;
}

/* Tab Navigation */
.detail-tabs[b-znuv44iab3] {
    display: flex;
    border-bottom: 1px solid var(--crm-border);
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    background: var(--crm-bg-body);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tab-btn[b-znuv44iab3] {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color var(--crm-transition-base);
}

.tab-btn:hover[b-znuv44iab3] {
    color: var(--crm-text-primary);
}

.tab-btn.active[b-znuv44iab3] {
    color: var(--crm-text-primary);
}

.tab-btn.active[b-znuv44iab3]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crm-text-primary);
}

/* Tab Content */
.tab-content[b-znuv44iab3] {
    padding: 1rem 0;
}

/* Info Grid - stacked label/value pairs */
.info-grid[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-item dt[b-znuv44iab3] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--crm-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.info-item dd[b-znuv44iab3] {
    font-size: 0.95rem;
    color: var(--crm-text-primary);
    margin: 0;
}

/* Assigned Users */
.assigned-users-list[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.assigned-user-item[b-znuv44iab3] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--crm-text-primary);
}

.assigned-user-item i[b-znuv44iab3] {
    font-size: 1.25rem;
    color: var(--crm-text-secondary);
}

/* Comments */
.comment-form[b-znuv44iab3] {
    background: var(--crm-bg-light);
    border-radius: 8px;
    padding: 1rem;
}

.comments-list[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.comment-item[b-znuv44iab3] {
    padding: 1rem 0;
    border-bottom: 1px solid var(--crm-border-light);
}

.comment-item:last-child[b-znuv44iab3] {
    border-bottom: none;
}

.comment-header[b-znuv44iab3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.comment-author[b-znuv44iab3] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--crm-text-primary);
}

.comment-time[b-znuv44iab3] {
    font-size: 0.75rem;
    color: var(--crm-text-secondary);
}

.comment-content[b-znuv44iab3] {
    font-size: 0.9rem;
    color: var(--crm-text-primary);
    word-break: break-word;
}

.comment-attachments[b-znuv44iab3] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attachment-thumbnail[b-znuv44iab3] {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--crm-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attachment-thumbnail:hover[b-znuv44iab3] {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.attachment-thumbnail img[b-znuv44iab3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tasks List */
.tasks-list[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--crm-border);
}

.task-item[b-znuv44iab3] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--crm-border);
    background: var(--crm-bg-body);
    cursor: pointer;
    transition: all var(--crm-transition-base);
}

.task-item:last-child[b-znuv44iab3] {
    border-bottom: none;
}

.task-item:nth-child(even)[b-znuv44iab3] {
    background: var(--crm-bg-light);
}

.task-item:hover[b-znuv44iab3] {
    background: rgba(var(--crm-primary-rgb), 0.08) !important;
    box-shadow: inset 0 0 0 1px var(--crm-primary);
}

.task-item.task-completed[b-znuv44iab3] {
    opacity: 0.65;
}

.task-content-wrapper[b-znuv44iab3] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.task-content[b-znuv44iab3] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.task-meta[b-znuv44iab3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.task-meta small[b-znuv44iab3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

/* Desktop */
@media (min-width: 992px) {
    .detail-header[b-znuv44iab3] {
        max-width: 800px;
        margin: 0 auto;
    }

    .profile-section[b-znuv44iab3] {
        max-width: 800px;
        margin: 0 auto;
    }

    .detail-tabs[b-znuv44iab3] {
        max-width: 800px;
        margin: 0 auto;
    }

    .tab-content[b-znuv44iab3] {
        max-width: 800px;
        margin: 0 auto;
    }

    .contact-avatar[b-znuv44iab3] {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .profile-name[b-znuv44iab3] {
        font-size: 1.5rem;
    }

    .task-content-wrapper[b-znuv44iab3] {
        flex-direction: row;
        align-items: center;
    }
}

/* Mobile */
@media (max-width: 567px) {
    .container-fluid.mt-4[b-znuv44iab3] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.5rem !important;
    }

    .contact-avatar[b-znuv44iab3] {
        display: none;
    }

    .profile-section[b-znuv44iab3] {
        padding: 0 0 1.25rem;
    }

    .profile-name[b-znuv44iab3] {
        margin-top: 0;
    }

    .quick-actions[b-znuv44iab3] {
        margin-bottom: 0.75rem;
    }

    .tasks-list[b-znuv44iab3] {
        border: none;
        border-radius: 0;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .task-item[b-znuv44iab3] {
        padding: 0.875rem 0.5rem;
    }
}

@media (max-width: 400px) {
    .quick-action-icon[b-znuv44iab3] {
        width: 36px;
        height: 36px;
    }

    .quick-action-icon i[b-znuv44iab3],
    .quick-action-icon i[b-znuv44iab3]::before {
        font-size: 0.9rem !important;
    }

    .quick-action-btn[b-znuv44iab3] {
        min-width: 48px;
    }

    .quick-action-label[b-znuv44iab3] {
        font-size: 0.65rem;
    }
}
/* /Components/Pages/Pricing.razor.rz.scp.css */
.pricing-card[b-kt7cag8zmd] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover[b-kt7cag8zmd] {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured[b-kt7cag8zmd] {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.price-tag[b-kt7cag8zmd] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 1rem 0;
}

.price-amount[b-kt7cag8zmd] {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bs-primary);
}

.price-period[b-kt7cag8zmd] {
    color: #6c757d;
    font-size: 0.9rem;
}

.features-list[b-kt7cag8zmd] {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.features-list li[b-kt7cag8zmd] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #495057;
}

.features-list i[b-kt7cag8zmd] {
    flex-shrink: 0;
}

.accordion-button:not(.collapsed)[b-kt7cag8zmd] {
    background-color: var(--bs-light);
    box-shadow: none;
}

@media (max-width: 768px) {
    .price-amount[b-kt7cag8zmd] {
        font-size: 2rem;
    }

    .pricing-card.featured[b-kt7cag8zmd] {
        margin-top: 2rem;
    }
}
/* /Components/Pages/PublicForm.razor.rz.scp.css */
/* Public Form Component Styles */
/* Main styles are in app.css for proper theme support */
/* This file contains only component-specific isolated styles */

/* Multipage progress indicator */
.multipage-progress[b-a3qz6gfa1a] {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--crm-border, #dee2e6);
}

.multipage-progress .progress[b-a3qz6gfa1a] {
    background-color: var(--crm-bg-subtle, #e9ecef);
    border-radius: 0.25rem;
}

.multipage-progress .progress-bar[b-a3qz6gfa1a] {
    transition: width 0.3s ease-in-out;
}
/* /Components/Pages/RequestDemo.razor.rz.scp.css */
/* Request Demo Page Styles */

.request-demo-page[b-tnsmakjyd3] {
    min-height: 100vh;
    background-color: var(--crm-bg-muted);
}

/* Hero Section */
.hero-section[b-tnsmakjyd3] {
    padding: 180px 0 2rem;
    text-align: center;
}

.hero-content[b-tnsmakjyd3] {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title[b-tnsmakjyd3] {
    max-width: 629px;
    font-size: 70px;
    font-weight: var(--crm-font-weight-medium);
    line-height: 106%;
    letter-spacing: -6%;
    margin: 0 auto 30px;
    background: linear-gradient(to right, var(--crm-text-primary) 22%, var(--crm-gray-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

    .hero-title .text-accent[b-tnsmakjyd3] {
        font-style: italic;
        font-weight: 400;
    }

.hero-description[b-tnsmakjyd3] {
    font-size: 20px;
    color: var(--crm-text-muted);
    line-height: normal;
    max-width: 583px;
    letter-spacing: -6%;
    margin: 0 auto;
}

/* Form Section */
.form-section[b-tnsmakjyd3] {
    padding: 2rem 0;
}

.form-wrapper[b-tnsmakjyd3] {
    max-width: 420px;
    margin: 0 auto 190px;
    text-align: center;
}

    .form-wrapper .card-title[b-tnsmakjyd3] {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .form-wrapper .form-control[b-tnsmakjyd3],
    .form-wrapper .form-select[b-tnsmakjyd3] {
        padding: 0.875rem 1rem;
        border-radius: 0.5rem;
        border: 1px solid var(--crm-border);
        font-size: 0.95rem;
    }

        .form-wrapper .form-control:focus[b-tnsmakjyd3],
        .form-wrapper .form-select:focus[b-tnsmakjyd3] {
            border-color: var(--crm-primary-light);
            box-shadow: none;
        }

    .form-wrapper .form-label[b-tnsmakjyd3] {
        text-align: left;
        display: block;
    }

    .form-wrapper .btn-dark[b-tnsmakjyd3] {
        background-color: var(--crm-btn-dark-bg);
        border-color: var(--crm-btn-dark-bg);
        padding: 0.875rem 2rem;
        border-radius: 2rem;
        font-weight: 500;
        width: 100%;
    }

        .form-wrapper .btn-dark:hover[b-tnsmakjyd3] {
            background-color: var(--crm-btn-dark-bg-hover);
            border-color: var(--crm-btn-dark-bg-hover);
        }

.form-label[b-tnsmakjyd3] {
    display: none;
}

/* Benefits Section */
.benefits-section[b-tnsmakjyd3] {
    padding: 0 0 4rem;
    text-align: center;
    margin-bottom: 36px;
}

.benefits-header[b-tnsmakjyd3] {
    margin-bottom: 2rem;
}

.benefits-title[b-tnsmakjyd3] {
    max-width: 530px;
    margin: 0 auto 90px;
    font-size: 48px;
    font-weight: var(--crm-font-weight-medium);
    font-family: var(--crm-font-heading);
    line-height: 106%;
    letter-spacing: -6%;
    background: linear-gradient(to right, var(--crm-text-primary) 22%, var(--crm-gray-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid[b-tnsmakjyd3] {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
}

.benefit-card[b-tnsmakjyd3] {
    background: var(--crm-bg-body);
    border: none;
    border-radius: 23px;
    padding: 59px 30px 45px;
    height:130px;
    width: 374px;
    flex: 1;
    position: relative;
}

.benefit-icon[b-tnsmakjyd3] {
    width: 3rem;
    height: 3rem;
    background-color: var(--crm-btn-dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .benefit-icon i[b-tnsmakjyd3] {
        font-size: 1.25rem;
        color: var(--crm-contrast-light);
    }

.benefit-text[b-tnsmakjyd3] {
    font-family: var(--crm-font-family);
    font-size: 20px;
    letter-spacing: -6%;
    color: var(--crm-text-secondary);
    margin: 0;
    font-weight: var(--crm-font-weight-medium);
}

/* Multipage progress */
.multipage-progress[b-tnsmakjyd3] {
    text-align: left;
}

/* Validation messages - plain text under inputs */
.form-wrapper .validation-message[b-tnsmakjyd3],
.form-wrapper .field-validation-error[b-tnsmakjyd3],
.form-wrapper .text-danger:not(span)[b-tnsmakjyd3] {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--crm-danger);
    text-align: left;
    padding-left: 16px;
}

/* Override alert styling for validation in form */
.form-wrapper .alert.alert-danger[b-tnsmakjyd3] {
    background: none;
    border: none;
    padding: 0;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--crm-danger);
    text-align: left;
}

.form-wrapper .alert.alert-danger i[b-tnsmakjyd3] {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section[b-tnsmakjyd3] {
        padding-top:110px;
    }

    .hero-title[b-tnsmakjyd3] {
        font-size: 32px;
        max-width: 331px;
    }

    .hero-description[b-tnsmakjyd3] {
        font-size: 14px;
        max-width:311px;
    }

    .form-wrapper[b-tnsmakjyd3] {
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 112px;
    }

    .benefits-section[b-tnsmakjyd3] {
        padding: 2rem 0 3rem;
    }
    .benefits-title[b-tnsmakjyd3]{
        font-size: 24px;
        max-width: 270px;
        margin-bottom:50px;
    }
    .benefits-grid[b-tnsmakjyd3] {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .benefit-card[b-tnsmakjyd3] {
        width: 300px;
        height: 127px;
    }
    .benefit-text[b-tnsmakjyd3]{
        font-size:16px;
    }
}

/* ===== Dark Mode ===== */
:global([data-theme="dark"]) .request-demo-page[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .request-demo-page[b-tnsmakjyd3] {
    background-color: var(--crm-bg-body);
}

:global([data-theme="dark"]) .hero-title[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .hero-title[b-tnsmakjyd3],
:global([data-theme="dark"]) .benefits-title[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .benefits-title[b-tnsmakjyd3] {
    background: linear-gradient(to right, var(--crm-text-primary) 22%, var(--crm-gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

:global([data-theme="dark"]) .hero-description[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .hero-description[b-tnsmakjyd3] {
    color: var(--crm-text-secondary);
}

:global([data-theme="dark"]) .form-wrapper .form-control[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .form-control[b-tnsmakjyd3],
:global([data-theme="dark"]) .form-wrapper .form-select[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .form-select[b-tnsmakjyd3] {
    background-color: var(--crm-bg-card);
    border-color: var(--crm-border);
    color: var(--crm-text-primary);
}

:global([data-theme="dark"]) .form-wrapper .form-control:focus[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .form-control:focus[b-tnsmakjyd3],
:global([data-theme="dark"]) .form-wrapper .form-select:focus[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .form-select:focus[b-tnsmakjyd3] {
    border-color: var(--crm-border-dark);
}

:global([data-theme="dark"]) .form-wrapper .form-control[b-tnsmakjyd3]::placeholder,
:global([data-bs-theme="dark"]) .form-wrapper .form-control[b-tnsmakjyd3]::placeholder {
    color: var(--crm-text-muted);
}

:global([data-theme="dark"]) .form-wrapper .btn-dark[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .btn-dark[b-tnsmakjyd3] {
    background-color: var(--crm-btn-dark-bg);
    border-color: var(--crm-btn-dark-bg);
    color: var(--crm-contrast-dark);
}

:global([data-theme="dark"]) .form-wrapper .btn-dark:hover[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .form-wrapper .btn-dark:hover[b-tnsmakjyd3] {
    background-color: var(--crm-btn-dark-bg-hover);
    border-color: var(--crm-btn-dark-bg-hover);
}

:global([data-theme="dark"]) .benefit-card[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .benefit-card[b-tnsmakjyd3] {
    background: var(--crm-bg-card);
}

:global([data-theme="dark"]) .benefit-icon[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .benefit-icon[b-tnsmakjyd3] {
    background-color: var(--crm-btn-dark-bg);
}

:global([data-theme="dark"]) .benefit-icon i[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .benefit-icon i[b-tnsmakjyd3] {
    color: var(--crm-contrast-dark);
}

:global([data-theme="dark"]) .benefit-text[b-tnsmakjyd3],
:global([data-bs-theme="dark"]) .benefit-text[b-tnsmakjyd3] {
    color: var(--crm-text-secondary);
}
/* /Components/Pages/RoleManagement.razor.rz.scp.css */
/* Role Management Layout */
.role-management[b-qyah3id4gf] {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Header */
.role-management-header[b-qyah3id4gf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--crm-border);
}

.role-management-header h3[b-qyah3id4gf] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--crm-text-primary);
}

.header-subtitle[b-qyah3id4gf] {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--crm-text-secondary);
    line-height: 1.5;
}

/* Loading and Error States */
.loading-spinner[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
}

.loading-spinner p[b-qyah3id4gf] {
    color: var(--crm-text-secondary);
    font-size: 1rem;
    margin: 0;
}

.spinner-border[b-qyah3id4gf] {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid var(--crm-role-primary-light);
    border-top-color: var(--crm-primary);
    border-radius: 50%;
    animation: spin-b-qyah3id4gf 0.8s linear infinite;
}

@keyframes spin-b-qyah3id4gf {
    to { transform: rotate(360deg); }
}

.empty-state[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1rem;
    color: var(--crm-text-muted);
}

/* Master-Detail Layout */
.role-master-detail[b-qyah3id4gf] {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 1.5rem;
    height: calc(100vh - 250px);
    min-height: 500px;
}

/* Left Panel: Roles List */
.roles-list[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    background: var(--crm-bg-card);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-lg);
    overflow: hidden;
    box-shadow: var(--crm-shadow-sm);
}

.roles-list-header[b-qyah3id4gf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--crm-primary);
    color: var(--crm-contrast-light);
}

.roles-list-header h5[b-qyah3id4gf] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.roles-list-header .badge[b-qyah3id4gf] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.roles-list-items[b-qyah3id4gf] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

/* Role List Item */
.role-list-item[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    margin-bottom: 0.375rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.role-list-item:hover[b-qyah3id4gf] {
    background: var(--crm-bg-hover-dark);
    border-color: var(--crm-border);
}

.role-list-item.active[b-qyah3id4gf] {
    background: var(--crm-role-primary-light);
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 3px var(--crm-role-primary-light);
}

.role-list-item.system-role .role-icon[b-qyah3id4gf] {
    background: var(--crm-role-system, #f59e0b);
}

.role-list-item-content[b-qyah3id4gf] {
    flex: 1;
    min-width: 0;
}

.role-list-item-header[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.role-icon[b-qyah3id4gf] {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--crm-primary);
    color: var(--crm-contrast-light);
    border-radius: var(--crm-radius-md);
    font-size: 1rem;
    flex-shrink: 0;
}

.role-list-item-info[b-qyah3id4gf] {
    flex: 1;
    min-width: 0;
}

.role-list-item-info strong[b-qyah3id4gf] {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--crm-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.badge-system[b-qyah3id4gf] {
    background: var(--crm-role-system, #f59e0b);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.role-description[b-qyah3id4gf] {
    font-size: 0.8125rem;
    color: var(--crm-text-muted);
    margin: 0.25rem 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.role-stats-inline[b-qyah3id4gf] {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--crm-text-secondary);
}

.role-stats-inline span[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.role-list-item-indicator[b-qyah3id4gf] {
    color: var(--crm-text-muted);
    font-size: 0.75rem;
    opacity: 0;
    transition: all 0.2s ease;
}

.role-list-item:hover .role-list-item-indicator[b-qyah3id4gf] {
    opacity: 1;
}

.role-list-item.active .role-list-item-indicator[b-qyah3id4gf] {
    opacity: 1;
    color: var(--crm-primary);
}

/* Right Panel: Role Details */
.role-details-panel[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    background: var(--crm-bg-card);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-lg);
    overflow: hidden;
    box-shadow: var(--crm-shadow-sm);
}

.no-selection[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
}

.no-selection-text[b-qyah3id4gf] {
    color: var(--crm-text-muted);
    font-size: 1rem;
    margin: 0;
}

.role-details-header[b-qyah3id4gf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--crm-primary);
    color: var(--crm-contrast-light);
}

.role-details-title[b-qyah3id4gf] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.role-icon-large[b-qyah3id4gf] {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--crm-radius-lg);
    font-size: 1.75rem;
    flex-shrink: 0;
}

.role-details-title h4[b-qyah3id4gf] {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: inherit;
}

.role-header-description[b-qyah3id4gf] {
    font-size: 0.9375rem;
    color: inherit;
    opacity: 0.9;
    margin: 0;
}

.role-details-title p[b-qyah3id4gf] {
    font-size: 0.9375rem;
    color: inherit;
    opacity: 0.9;
}

.role-details-actions[b-qyah3id4gf] {
    display: flex;
    gap: 0.5rem;
}

.role-details-actions .btn[b-qyah3id4gf] {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--crm-contrast-light) !important;
}

.role-details-actions .btn:hover[b-qyah3id4gf] {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.role-details-actions .btn-outline-danger[b-qyah3id4gf] {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--crm-contrast-light) !important;
}

.role-details-actions .btn-outline-danger:hover[b-qyah3id4gf] {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.role-details-body[b-qyah3id4gf] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Stats Cards */
.role-stats-cards[b-qyah3id4gf] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--crm-role-primary-lighter);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-lg);
}

.stat-icon[b-qyah3id4gf] {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--crm-primary);
    color: var(--crm-contrast-light);
    border-radius: var(--crm-radius-lg);
    font-size: 1.5rem;
}

.stat-value[b-qyah3id4gf] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--crm-text-primary);
    line-height: 1;
}

.stat-label[b-qyah3id4gf] {
    font-size: 0.875rem;
    color: var(--crm-text-muted);
    margin-top: 0.25rem;
}

/* Permissions Section */
.permissions-section[b-qyah3id4gf] {
    margin-top: 1rem;
}

.section-title[b-qyah3id4gf] {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--crm-text-primary);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
}

.permissions-by-category[b-qyah3id4gf] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.permission-category-group[b-qyah3id4gf] {
    background: var(--crm-bg-card);
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-lg);
    overflow: hidden;
}

.permission-category-header[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--crm-role-primary-light);
    border-bottom: 1px solid var(--crm-border);
    font-size: 0.9375rem;
    color: var(--crm-text-primary);
}

.permission-category-header .badge[b-qyah3id4gf] {
    margin-left: auto;
}

.no-permissions-text[b-qyah3id4gf] {
    color: var(--crm-text-muted);
    margin: 0;
    font-size: 0.9375rem;
}

.permission-badges[b-qyah3id4gf] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
}

.permission-badge[b-qyah3id4gf] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--crm-primary);
    color: var(--crm-contrast-light);
    border-radius: var(--crm-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: var(--crm-shadow-xs);
}

.permission-badge i[b-qyah3id4gf] {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .role-master-detail[b-qyah3id4gf] {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 768px) {
    .role-master-detail[b-qyah3id4gf] {
        grid-template-columns: 1fr;
        height: auto;
    }

    .roles-list[b-qyah3id4gf] {
        max-height: 400px;
    }

    .role-details-panel[b-qyah3id4gf] {
        min-height: 500px;
    }

    .role-stats-cards[b-qyah3id4gf] {
        grid-template-columns: 1fr;
    }

    .role-management-header[b-qyah3id4gf] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Modal Styles - Create/Edit Role Popup */
.modal-overlay[b-qyah3id4gf] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn-b-qyah3id4gf 0.2s ease-out;
}

@keyframes fadeIn-b-qyah3id4gf {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content[b-qyah3id4gf] {
    position: relative;
    background: var(--crm-bg-body);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--crm-shadow-lg);
    display: flex;
    flex-direction: column;
    animation: slideUp-b-qyah3id4gf 0.3s ease-out;
}

@keyframes slideUp-b-qyah3id4gf {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content.modal-sm[b-qyah3id4gf] {
    max-width: 450px;
}

.modal-header[b-qyah3id4gf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--crm-border);
    background: var(--crm-bg-body);
}

.modal-header h3[b-qyah3id4gf] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--crm-text-primary);
}

.btn-close[b-qyah3id4gf] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--crm-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--crm-radius-md);
    transition: all var(--crm-transition-base);
}

.btn-close:hover[b-qyah3id4gf] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

.modal-body[b-qyah3id4gf] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background: var(--crm-bg-body);
}

.modal-footer[b-qyah3id4gf] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--crm-border);
    background: var(--crm-bg-body);
}

/* Form Styles within Modal */
.form-group[b-qyah3id4gf] {
    margin-bottom: 1.25rem;
}

.form-group label[b-qyah3id4gf] {
    display: block;
    font-weight: 600;
    color: var(--crm-text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-control[b-qyah3id4gf] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-md);
    font-size: 0.9375rem;
    color: var(--crm-text-primary);
    background: var(--crm-bg-body);
    transition: all 0.2s ease;
}

.form-control:focus[b-qyah3id4gf] {
    outline: none;
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 3px var(--crm-role-primary-light);
}

.form-control:disabled[b-qyah3id4gf] {
    background: var(--crm-bg-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

textarea.form-control[b-qyah3id4gf] {
    resize: vertical;
    min-height: 80px;
}

/* Permissions Container in Modal */
.permissions-container[b-qyah3id4gf] {
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-md);
    max-height: 400px;
    overflow-y: auto;
    background: var(--crm-bg-body);
}

.permission-category[b-qyah3id4gf] {
    border-bottom: 1px solid var(--crm-border);
}

.permission-category:last-child[b-qyah3id4gf] {
    border-bottom: none;
}

.category-header[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--crm-bg-muted);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
    font-weight: 600;
    color: var(--crm-text-primary);
}

.category-header:hover[b-qyah3id4gf] {
    background: var(--crm-bg-hover-dark);
}

.toggle-icon[b-qyah3id4gf] {
    font-size: 0.875rem;
    color: var(--crm-text-muted);
    transition: transform 0.2s ease;
}

.category-count[b-qyah3id4gf] {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--crm-text-muted);
    font-weight: normal;
}

.category-permissions[b-qyah3id4gf] {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    background: var(--crm-bg-body);
}

.checkbox-label[b-qyah3id4gf] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    padding: 0.375rem 0;
    transition: color 0.2s ease;
}

.checkbox-label:hover[b-qyah3id4gf] {
    color: var(--crm-primary);
}

.checkbox-label input[type="checkbox"][b-qyah3id4gf] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--crm-primary);
}

.checkbox-label span[b-qyah3id4gf] {
    font-size: 0.9375rem;
    color: var(--crm-text-primary);
}

/* Alert Styles */
.alert[b-qyah3id4gf] {
    padding: 0.875rem 1rem;
    border-radius: var(--crm-radius-md);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
}

.alert-error[b-qyah3id4gf] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--crm-danger);
}

.alert-warning[b-qyah3id4gf] {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--crm-warning);
}

/* Spinner */
.spinner-sm[b-qyah3id4gf] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-qyah3id4gf 0.8s linear infinite;
}

@keyframes spin-b-qyah3id4gf {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content[b-qyah3id4gf] {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal-header[b-qyah3id4gf],
    .modal-body[b-qyah3id4gf],
    .modal-footer[b-qyah3id4gf] {
        padding: 1rem;
    }

    .permissions-container[b-qyah3id4gf] {
        max-height: 300px;
    }
}
/* /Components/Pages/SecurityLogout.razor.rz.scp.css */
.security-alert-page[b-ds1rdfxhj7] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--crm-primary);
}

.alert-container[b-ds1rdfxhj7] {
    background: var(--crm-bg-body);
    padding: 3rem;
    border-radius: 1rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.alert-icon[b-ds1rdfxhj7] {
    font-size: 4rem;
    color: var(--crm-danger);
    margin-bottom: 1.5rem;
}

.alert-container ul[b-ds1rdfxhj7] {
    text-align: left;
    max-width: 400px;
    margin: 1.5rem auto;
}
/* /Components/Pages/SubProcessors.razor.rz.scp.css */
/* Styling handled globally in wwwroot/css/default.css (.sub-processors-page a) */
/* /Components/Pages/TaskCreate.razor.rz.scp.css */
.form-card[b-ngabh8aw4r] {
    border: none;
    border-radius: var(--crm-radius-xl);
}

.form-icon[b-ngabh8aw4r] {
    width: 80px;
    height: 80px;
    background: var(--crm-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(var(--crm-primary-rgb), 0.3);
}

.form-icon i[b-ngabh8aw4r] {
    font-size: 2.5rem;
    color: var(--crm-text-light);
}

.form-floating > label[b-ngabh8aw4r] {
    color: var(--crm-text-secondary);
}

.form-control:focus[b-ngabh8aw4r],
.form-select:focus[b-ngabh8aw4r] {
    border-color: var(--crm-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--crm-primary-rgb), 0.25);
}

.btn-primary[b-ngabh8aw4r] {
    background: var(--crm-gradient);
    border: none;
    font-weight: 500;
    transition: transform var(--crm-transition-base);
}

.btn-primary:hover:not(:disabled)[b-ngabh8aw4r] {
    transform: translateY(-2px);
    box-shadow: var(--crm-shadow-primary);
}

.btn-primary:disabled[b-ngabh8aw4r] {
    background: var(--crm-gradient);
    opacity: 0.6;
}

.form-check-input:checked[b-ngabh8aw4r] {
    background-color: var(--crm-primary);
    border-color: var(--crm-primary);
}

.form-check-label[b-ngabh8aw4r] {
    cursor: pointer;
}
/* /Components/Pages/TaskDetail.razor.rz.scp.css */
/* HubSpot-style Detail Page Layout */
.detail-header[b-oqamwu6suh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.btn-back[b-oqamwu6suh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
    text-decoration: none;
}

.btn-back:hover[b-oqamwu6suh] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

.header-actions[b-oqamwu6suh] {
    display: flex;
    gap: 0.5rem;
}

.btn-icon[b-oqamwu6suh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
}

.btn-icon:hover[b-oqamwu6suh] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

/* Profile Section */
.profile-section[b-oqamwu6suh] {
    text-align: center;
    padding: 1rem 0 1.5rem;
}

.profile-name[b-oqamwu6suh] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Tab Navigation - HubSpot Style */
.detail-tabs[b-oqamwu6suh] {
    display: flex;
    border-bottom: 1px solid var(--crm-border);
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    background: var(--crm-bg-body);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tab-btn[b-oqamwu6suh] {
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color var(--crm-transition-base);
}

.tab-btn:hover[b-oqamwu6suh] {
    color: var(--crm-text-primary);
}

.tab-btn.active[b-oqamwu6suh] {
    color: var(--crm-text-primary);
}

.tab-btn.active[b-oqamwu6suh]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crm-text-primary);
}

/* Tab Content */
.tab-content[b-oqamwu6suh] {
    padding: 1rem 0;
}

.avatar-circle[b-oqamwu6suh] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.detail-item[b-oqamwu6suh] {
    padding: 0.5rem 0;
}

.card[b-oqamwu6suh] {
    border: 1px solid var(--crm-border);
    box-shadow: var(--crm-shadow-sm);
    background-color: var(--crm-bg-body);
}

.card-header[b-oqamwu6suh] {
    border-bottom: 1px solid var(--crm-border);
    padding: 1rem 1.25rem;
    background-color: var(--crm-bg-light);
}

.list-group-item[b-oqamwu6suh] {
    border: none;
    padding: 0.75rem 0;
    background-color: transparent;
    color: var(--crm-text-primary);
}

.list-group-item:not(:last-child)[b-oqamwu6suh] {
    border-bottom: 1px solid var(--crm-border-light);
}

.modal-backdrop[b-oqamwu6suh] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

.modal[b-oqamwu6suh] {
    z-index: 1050;
}

/* Error Alert Animation (keeps inline behavior) */
.alert-danger[b-oqamwu6suh] {
    animation: slideInDown-b-oqamwu6suh 0.3s ease-out;
}

@keyframes slideInDown-b-oqamwu6suh {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop layout */
@media (min-width: 992px) {
    .detail-header[b-oqamwu6suh] {
        max-width: 800px;
        margin: 0 auto;
    }

    .profile-section[b-oqamwu6suh] {
        max-width: 800px;
        margin: 0 auto;
    }

    .detail-tabs[b-oqamwu6suh] {
        max-width: 800px;
        margin: 0 auto;
    }

    .tab-content[b-oqamwu6suh] {
        max-width: 800px;
        margin: 0 auto;
    }

    .profile-name[b-oqamwu6suh] {
        font-size: 1.5rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Reduce container padding on mobile for wider content */

    .container-fluid.py-4[b-oqamwu6suh],
    .container-fluid.mt-4[b-oqamwu6suh] {
        padding-top: 0.5rem !important;
    }

    /* Stack action buttons vertically on very small screens */
    .btn-group[b-oqamwu6suh] {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }

    .btn-group .btn[b-oqamwu6suh] {
        flex: 1;
        min-width: auto;
    }

    /* Cards styling - full width, no rounded corners */
    .card[b-oqamwu6suh] {
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .card-body[b-oqamwu6suh] {
        padding: 1rem 8px !important;
    }

    .card-header[b-oqamwu6suh] {
        padding: 0.875rem 0.5rem !important;
        border-bottom: none !important;
    }

    /* Fix assigned users list on mobile */
    .list-group-item[b-oqamwu6suh] {
        border: none !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        border-radius: 0 !important;
        padding: 0.875rem 0.5rem !important;
    }

    .list-group-item:last-child[b-oqamwu6suh] {
        border-bottom: none !important;
    }

    .list-group-item .d-flex[b-oqamwu6suh] {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .list-group-item .avatar-circle[b-oqamwu6suh] {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    /* Allow user info to wrap properly */
    .list-group-item .d-flex > div:not(.avatar-circle)[b-oqamwu6suh] {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
    }

    .list-group-item small[b-oqamwu6suh] {
        display: block;
        margin-top: 0.25rem;
        word-break: break-all;
    }

    .list-group-item .ms-3[b-oqamwu6suh] {
        margin-left: 0 !important;
        display: block;
    }

    /* Make remove button smaller on mobile */
    .list-group-item .btn-outline-danger[b-oqamwu6suh] {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    /* Make title editable input full width on mobile */
    .d-flex.align-items-center.gap-2 input.form-control-lg[b-oqamwu6suh] {
        max-width: 100% !important;
    }

    /* Stack columns on mobile */
    .col-lg-8[b-oqamwu6suh], .col-lg-4[b-oqamwu6suh] {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    /* Very small screens */
    .btn-group[b-oqamwu6suh] {
        width: 100%;
    }

    /* Make back button more compact */
    .btn-link .bi-arrow-left[b-oqamwu6suh] {
        margin-right: 0.5rem !important;
    }
}

/* Mention highlighting in comments */
[b-oqamwu6suh] .mention-highlight {
    color: var(--bs-primary, #0d6efd);
    font-weight: 500;
    background-color: rgba(13, 110, 253, 0.1);
    padding: 0 3px;
    border-radius: 3px;
}

/* Comment content styling */
.comment-content[b-oqamwu6suh] {
    word-break: break-word;
}

/* Quick Actions Section */
.quick-actions-section[b-oqamwu6suh] {
    border-top: 1px solid var(--crm-border);
    padding-top: 1rem;
}

/* Quick Action Buttons - HubSpot style */
.quick-actions[b-oqamwu6suh] {
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.quick-action-btn[b-oqamwu6suh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    cursor: pointer;
    transition: all var(--crm-transition-base);
    text-decoration: none;
    min-width: 56px;
}

.quick-action-btn:hover[b-oqamwu6suh] {
    color: var(--crm-primary);
}

.quick-action-btn:hover .quick-action-icon[b-oqamwu6suh] {
    background: rgba(var(--crm-primary-rgb), 0.1);
    border-color: var(--crm-primary);
    color: var(--crm-primary);
}

.quick-action-icon[b-oqamwu6suh] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--crm-border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--crm-transition-base);
    background: var(--crm-bg-body);
    color: inherit;
    position: relative;
}

.quick-action-icon i[b-oqamwu6suh] {
    font-size: 1rem;
}

.quick-action-label[b-oqamwu6suh] {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Contact avatar in log call modal */
.contact-avatar-sm[b-oqamwu6suh] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--crm-primary);
    color: var(--crm-bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Activity Timeline Styles */
.activity-timeline[b-oqamwu6suh] {
    position: relative;
}

.activity-item[b-oqamwu6suh] {
    position: relative;
    padding-left: 0;
}

.activity-item[b-oqamwu6suh]::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 35px;
    bottom: -15px;
    width: 2px;
    background: var(--crm-border-light);
}

.activity-item:last-child[b-oqamwu6suh]::before {
    display: none;
}

.activity-icon[b-oqamwu6suh] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--crm-bg-card);
    border: 2px solid var(--crm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    z-index: 1;
    position: relative;
}

.activity-preview[b-oqamwu6suh] {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Comment Attachments */
.comment-attachments[b-oqamwu6suh] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attachment-thumbnail[b-oqamwu6suh] {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--crm-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attachment-thumbnail:hover[b-oqamwu6suh] {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.attachment-thumbnail img[b-oqamwu6suh] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* /Components/Pages/Tasks.razor.rz.scp.css */
/* Tasks page specific styles */
/* Note: Uses shared .sortable-header from default.css */

/* Desktop Table Styling */
.desktop-table .table thead th[b-vl6ffezkg8] {
    padding: 0.625rem 0.5rem;
    font-size: 0.8rem;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    vertical-align: bottom;
    overflow: visible;
}

/* The sort icon must stay on same line as the last word — wrap the whole label+icon together */
.sortable-header-content[b-vl6ffezkg8] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    white-space: nowrap;
}

.sortable-header-content .sortable-header-text[b-vl6ffezkg8] {
    white-space: nowrap;
}

.sortable-header-content .sort-icon[b-vl6ffezkg8] {
    flex-shrink: 0;
}

.desktop-table .table[b-vl6ffezkg8] {
    table-layout: fixed;
    width: 100%;
    font-size: 0.85rem;
}

.desktop-table .table td[b-vl6ffezkg8] {
    overflow: hidden;
    padding: 0.625rem 0.5rem;
}

.desktop-table .table th[b-vl6ffezkg8] {
    overflow: visible;
}

.desktop-table .table td.actions-column[b-vl6ffezkg8],
.desktop-table .table th.actions-column[b-vl6ffezkg8] {
    overflow: visible;
}

.desktop-table .table .task-title-column[b-vl6ffezkg8],
.desktop-table .table .task-title-cell[b-vl6ffezkg8] {
    width: 30%;
}

.task-meta-text[b-vl6ffezkg8] {
    max-width: 100%;
}

.desktop-table .table .col-duedate[b-vl6ffezkg8] {
    width: 14%;
}

.desktop-table .table .col-createdat[b-vl6ffezkg8] {
    width: 10%;
}

.desktop-table .table .col-completedat[b-vl6ffezkg8] {
    width: 10%;
}

.desktop-table .table .col-status[b-vl6ffezkg8] {
    width: 10%;
}

.desktop-table .table .col-priority[b-vl6ffezkg8] {
    width: 9%;
}

.desktop-table .table .actions-column[b-vl6ffezkg8] {
    width: 40px;
    white-space: nowrap;
}

.task-actions-btn[b-vl6ffezkg8] {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.task-actions-btn:hover[b-vl6ffezkg8],
.task-actions-btn:focus[b-vl6ffezkg8] {
    text-decoration: none;
}

.task-title-text[b-vl6ffezkg8] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.task-contact-badge[b-vl6ffezkg8] {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.task-contact-text[b-vl6ffezkg8] {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ensure card doesn't clip dropdowns */
.desktop-table[b-vl6ffezkg8] {
    overflow: visible !important;
}

.desktop-table .table-responsive[b-vl6ffezkg8] {
    overflow: visible !important;
}

/* Alternative: Open dropdown upward for last rows to prevent bottom clipping */
.desktop-table tbody tr:nth-last-child(-n+3) .dropdown-menu[b-vl6ffezkg8] {
    top: auto;
    bottom: 100%;
    margin: 0 0 0.125rem;
}

/* Task Row Styles */
.task-row[b-vl6ffezkg8] {
    cursor: pointer;
    transition: background-color var(--crm-transition-base);
}

.task-row:hover[b-vl6ffezkg8] {
    background-color: var(--crm-bg-hover);
}

.task-row.task-completed[b-vl6ffezkg8] {
    background-color: var(--crm-gray-50);
}

.task-row.task-completed:hover[b-vl6ffezkg8] {
    background-color: var(--crm-gray-100);
}

/* Apply grayscale filter only to content cells, NOT the actions column to avoid stacking context issues */
.task-row.task-completed td:not(:last-child)[b-vl6ffezkg8] {
    filter: grayscale(40%);
}

.task-row.task-completed:hover td:not(:last-child)[b-vl6ffezkg8] {
    filter: grayscale(20%);
}

/* Ensure dropdown menu appears above all content with very high z-index */
.desktop-table .dropdown-menu[b-vl6ffezkg8] {
    z-index: 10000 !important;
    position: absolute !important;
}

/* Task Checkbox */
.task-checkbox button[b-vl6ffezkg8] {
    border: none;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.task-checkbox button.btn-success[b-vl6ffezkg8] {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--crm-success);
}

.task-checkbox button.btn-success:hover[b-vl6ffezkg8] {
    color: var(--crm-success-dark);
}

/* Dropdown Styles */
.dropdown-custom[b-vl6ffezkg8] {
    position: relative;
    display: inline-block;
}

.dropdown-menu-custom[b-vl6ffezkg8] {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 180px;
    padding: var(--crm-space-sm) 0;
    margin: 0.125rem 0 0;
    background-color: var(--crm-bg-body);
    border: 1px solid var(--crm-border);
    border-radius: 0.375rem;
    box-shadow: var(--crm-shadow-md);
    z-index: 1050;
}

.dropdown-menu-custom.show[b-vl6ffezkg8] {
    display: block;
}

.dropdown-item-custom[b-vl6ffezkg8] {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--crm-text-primary);
    text-align: left;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.dropdown-item-custom:hover[b-vl6ffezkg8] {
    background-color: var(--crm-bg-hover-dark);
}

.dropdown-item-custom.text-danger:hover[b-vl6ffezkg8] {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-divider-custom[b-vl6ffezkg8] {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--crm-border);
}

/* Modal Styles */
.modal-backdrop[b-vl6ffezkg8] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

.modal[b-vl6ffezkg8] {
    z-index: 1050;
}

/* Priority Styles */
.priority-high[b-vl6ffezkg8] {
    border-left: 4px solid #dc3545;
}

.priority-medium[b-vl6ffezkg8] {
    border-left: 4px solid #ffc107;
}

.priority-low[b-vl6ffezkg8] {
    border-left: 4px solid #0dcaf0;
}

/* Mobile Styles - Matching Contacts page */
.mobile-task-list[b-vl6ffezkg8] {
    display: none;
}

.mobile-task-card[b-vl6ffezkg8] {
    background: var(--crm-bg-body);
    border: none;
    border-bottom: 1px solid var(--crm-border-light);
    border-radius: 0;
    margin-bottom: 0;
    padding: 0.875rem 0.75rem 0.875rem 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-task-card:hover[b-vl6ffezkg8],
.mobile-task-card:active[b-vl6ffezkg8] {
    background-color: var(--crm-bg-light);
}

.mobile-task-card.task-completed[b-vl6ffezkg8] {
    filter: grayscale(40%);
    background-color: var(--crm-bg-muted);
}

.mobile-task-header[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.mobile-task-main[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mobile-task-content[b-vl6ffezkg8] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.mobile-task-title[b-vl6ffezkg8] {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.mobile-task-title.completed[b-vl6ffezkg8] {
    text-decoration: line-through;
    color: var(--crm-text-muted);
}

.mobile-task-meta[b-vl6ffezkg8] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-task-meta-item[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.813rem;
    color: var(--crm-text-secondary);
    min-width: 0;
}

.mobile-task-meta-item i[b-vl6ffezkg8] {
    font-size: 0.75rem;
    flex-shrink: 0;
}

.mobile-task-meta-item span[b-vl6ffezkg8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.mobile-task-actions-right[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.chevron-icon[b-vl6ffezkg8] {
    font-size: 1.25rem;
    color: var(--crm-text-secondary);
}

.mobile-task-details[b-vl6ffezkg8] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--crm-border-light);
}

.mobile-task-details-row[b-vl6ffezkg8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--crm-border-light);
}

.mobile-task-details-row:last-of-type[b-vl6ffezkg8] {
    border-bottom: none;
}

.mobile-task-details-label[b-vl6ffezkg8] {
    font-weight: 600;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
}

.mobile-task-actions[b-vl6ffezkg8] {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--crm-border-light);
}

.mobile-task-actions .btn[b-vl6ffezkg8] {
    flex: 1;
}

/* Mobile selection checkbox */
.mobile-task-select[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
}

.mobile-task-select .form-check-input[b-vl6ffezkg8] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    cursor: pointer;
}

/* Mobile card selected state */
.mobile-task-card.selected[b-vl6ffezkg8] {
    border-color: var(--crm-primary);
    background-color: rgba(var(--crm-primary-rgb), 0.1);
}

/* Mobile bulk actions bar */
.mobile-bulk-actions[b-vl6ffezkg8] {
    background-color: var(--crm-bg-light);
    border: 1px solid var(--crm-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 0 1rem 0;
    padding: 1rem !important;
    border-radius: var(--crm-radius-lg);
    color: var(--crm-text-primary);
}

/* Mobile Group Headers */
.mobile-group-header[b-vl6ffezkg8] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem;
    margin: 0;
    background-color: var(--crm-bg-muted);
    border-left: 3px solid var(--crm-primary);
}

.mobile-group-label[b-vl6ffezkg8] {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--crm-text-primary);
}

.mobile-group-sort-info[b-vl6ffezkg8] {
    font-size: 0.688rem;
    color: var(--crm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Task Due Date Display */
.mobile-task-due-date[b-vl6ffezkg8],
.mobile-task-sort-value[b-vl6ffezkg8] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.813rem;
    color: var(--crm-primary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.mobile-task-due-date i[b-vl6ffezkg8],
.mobile-task-sort-value i[b-vl6ffezkg8] {
    font-size: 0.75rem;
}

.mobile-task-due-date.overdue[b-vl6ffezkg8],
.mobile-task-sort-value.overdue[b-vl6ffezkg8] {
    color: #dc3545;
}

.mobile-task-due-date.warning[b-vl6ffezkg8],
.mobile-task-sort-value.warning[b-vl6ffezkg8] {
    color: #ffc107;
}

/* Mobile Task Contact */
.mobile-task-contact[b-vl6ffezkg8] {
    font-size: 0.813rem;
    color: var(--crm-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Desktop - hide mobile list */
.mobile-task-list[b-vl6ffezkg8] {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .add-task-btn .btn-text[b-vl6ffezkg8] {
        display: none;
    }

    .desktop-table[b-vl6ffezkg8] {
        display: none !important;
    }

    .alert.alert-primary[b-vl6ffezkg8] {
        display: none !important;
    }

    .mobile-task-list[b-vl6ffezkg8] {
        display: block !important;
        max-width: 100%;
        overflow: hidden;
    }

    /* Allow filter dropdowns to overflow and float above content */
    .task-filter-bar[b-vl6ffezkg8] {
        overflow: visible !important;
        position: relative;
        z-index: 100;
    }

    .task-filter-bar .dropdown-menu[b-vl6ffezkg8] {
        position: absolute !important;
        z-index: 1055 !important;
    }

    .btn-group[b-vl6ffezkg8] {
        width: 100%;
        margin-bottom: 1rem;
    }

    .btn-group .btn[b-vl6ffezkg8] {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    /* Results info styling for mobile */
    .results-count[b-vl6ffezkg8] {
        padding: 0 0.25rem;
    }

    /* Hide desktop pagination on mobile */
    nav.d-flex[b-vl6ffezkg8] {
        display: none !important;
    }

    /* Ensure mobile content fits */
    .mobile-task-card[b-vl6ffezkg8] {
        max-width: 100%;
        overflow: hidden;
    }

    .mobile-task-main[b-vl6ffezkg8] {
        max-width: calc(100% - 2rem);
    }
}

/* Row selection style for desktop */
.task-row.selected[b-vl6ffezkg8] {
    background-color: rgba(var(--crm-primary-rgb), 0.1) !important;
}

/* Scope Tabs - Primary navigation for task ownership */
.scope-tabs[b-vl6ffezkg8] {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--crm-border);
    flex-wrap: wrap;
}

.scope-tab[b-vl6ffezkg8] {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--crm-text-secondary);
    background: transparent;
    border: 1px solid var(--crm-border);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.scope-tab:hover[b-vl6ffezkg8] {
    background-color: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
    border-color: var(--crm-border-dark);
}

/* Active state - using primary color with contrasting text */
.scope-tab.active[b-vl6ffezkg8] {
    background-color: var(--crm-primary) !important;
    color: var(--crm-text-light) !important;
    border-color: var(--crm-primary) !important;
}

.scope-tab.active:hover[b-vl6ffezkg8] {
    background-color: var(--crm-primary-dark) !important;
    border-color: var(--crm-primary-dark) !important;
}

.scope-tab i[b-vl6ffezkg8] {
    font-size: 0.75rem;
}

.scope-tab .text-muted[b-vl6ffezkg8] {
    opacity: 0.7;
    font-size: 0.813rem;
    margin-left: 0.25rem;
}

/* Force contrasting text on all child elements when active */
.scope-tab.active[b-vl6ffezkg8],
.scope-tab.active span[b-vl6ffezkg8],
.scope-tab.active i[b-vl6ffezkg8] {
    color: var(--crm-text-light) !important;
}

/* Mobile adjustments for scope tabs */
@media (max-width: 768px) {
    .scope-tabs[b-vl6ffezkg8] {
        padding: 0.375rem 0;
        gap: 0.375rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .scope-tabs[b-vl6ffezkg8]::-webkit-scrollbar {
        display: none;
    }

    .scope-tab[b-vl6ffezkg8] {
        padding: 0.375rem 0.75rem;
        font-size: 0.813rem;
        flex-shrink: 0;
    }

    .scope-tab i[b-vl6ffezkg8] {
        display: none;
    }
}
/* /Components/Pages/TeamDetail.razor.rz.scp.css */
/* HubSpot-style Detail Page Layout */
.detail-header[b-bqzi4ien0f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.btn-back[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
    text-decoration: none;
}

.btn-back:hover[b-bqzi4ien0f] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

.header-actions[b-bqzi4ien0f] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-icon[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all var(--crm-transition-base);
}

.btn-icon:hover[b-bqzi4ien0f] {
    background: var(--crm-bg-hover-dark);
    color: var(--crm-text-primary);
}

/* Profile Section */
.profile-section[b-bqzi4ien0f] {
    text-align: center;
    padding: 0.5rem 0 0.75rem;
}

.team-avatar[b-bqzi4ien0f] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.profile-name[b-bqzi4ien0f] {
    margin: 0.5rem 0 0.125rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-subtitle[b-bqzi4ien0f] {
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    margin: 0 0 0.5rem;
}

/* Team detail layout */
.team-detail-layout[b-bqzi4ien0f] {
    display: block;
}

.detail-tabs[b-bqzi4ien0f] {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid var(--crm-border);
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    background: var(--crm-bg-body);
}

.side-tabs[b-bqzi4ien0f] {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.tab-btn[b-bqzi4ien0f] {
    padding: 0.75rem 0.75rem;
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color var(--crm-transition-base), background var(--crm-transition-base);
    border-radius: 0.5rem 0.5rem 0 0;
}

.side-tab-btn[b-bqzi4ien0f] {
    flex: 0 0 auto;
}

.tab-btn:hover[b-bqzi4ien0f] {
    color: var(--crm-text-primary);
    background: var(--crm-bg-hover);
}

.tab-btn.active[b-bqzi4ien0f] {
    color: var(--crm-text-primary);
    background: var(--crm-bg-hover);
}

.tab-btn.active[b-bqzi4ien0f]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crm-text-primary);
}

.group-tabs[b-bqzi4ien0f] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--crm-border);
    margin: 0;
    padding: 0;
    background: var(--crm-bg-body);
}

.group-tab-btn[b-bqzi4ien0f] {
    border: none;
    background: transparent;
    color: var(--crm-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 0.875rem;
    cursor: pointer;
    border-radius: 0.5rem 0.5rem 0 0;
    position: relative;
}

.group-tab-btn:hover[b-bqzi4ien0f] {
    color: var(--crm-text-primary);
    background: var(--crm-bg-hover);
}

.group-tab-btn.active[b-bqzi4ien0f] {
    color: var(--crm-text-primary);
    background: var(--crm-bg-hover);
}

.group-tab-btn.active[b-bqzi4ien0f]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--crm-text-primary);
}

.team-detail-main[b-bqzi4ien0f] {
    min-width: 0;
}

/* Tab Content */
.tab-content[b-bqzi4ien0f] {
    padding: 0.5rem 0;
}

/* Content Cards - minimalistic style */
.content-card[b-bqzi4ien0f] {
    background: var(--crm-bg-body);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--crm-border-light);
}

.content-card .card-header[b-bqzi4ien0f] {
    padding: 0.875rem 0.5rem;
    border-bottom: none;
    background: transparent;
}

.content-card .card-header h6[b-bqzi4ien0f] {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--crm-text-primary);
    margin: 0;
}

/* Integration items */
.integrations-group-separator[b-bqzi4ien0f] {
    border-top: 1px solid var(--crm-border-light);
}

.integration-item[b-bqzi4ien0f] {
    padding: 1rem;
    border: 1px solid var(--crm-border);
    border-radius: var(--crm-radius-lg);
}

.integration-content[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.integration-actions[b-bqzi4ien0f] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.min-w-0[b-bqzi4ien0f] {
    min-width: 0;
}

/* Members list */
.members-list[b-bqzi4ien0f] {
    border-top: 1px solid var(--crm-border-light);
}

.member-item[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid var(--crm-border-light);
    transition: all 0.2s ease;
}

.member-item-clickable[b-bqzi4ien0f] {
    cursor: pointer;
}

.member-item-clickable:hover[b-bqzi4ien0f] {
    background-color: var(--crm-bg-hover);
}

.member-item:last-child[b-bqzi4ien0f] {
    border-bottom: none;
}

.member-info[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1;
}

.member-avatar[b-bqzi4ien0f] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.member-details[b-bqzi4ien0f] {
    min-width: 0;
    flex: 1;
}

/* Desktop layout */
@media (min-width: 992px) {
    .detail-header[b-bqzi4ien0f] {
        max-width: 1360px;
        margin: 0 auto;
    }

    .profile-section[b-bqzi4ien0f] {
        max-width: 1360px;
        margin: 0 auto;
    }

    .team-detail-layout[b-bqzi4ien0f] {
        max-width: 1360px;
        margin: 0 auto;
        display: block;
    }

    .side-tabs[b-bqzi4ien0f] {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.25rem;
        border-bottom: 1px solid var(--crm-border);
        margin: 0;
        padding: 0;
        overflow: visible;
        white-space: normal;
    }

    .side-tab-btn[b-bqzi4ien0f] {
        flex: initial;
        text-align: center;
        border-radius: 0.5rem 0.5rem 0 0;
        padding: 0.625rem 0.75rem;
    }

    .side-tab-btn.active[b-bqzi4ien0f]::after {
        display: block;
    }

    .tab-content[b-bqzi4ien0f] {
        margin: 0;
        max-width: none;
    }

    .team-avatar[b-bqzi4ien0f] {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .profile-name[b-bqzi4ien0f] {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .side-tabs[b-bqzi4ien0f] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Reduce container padding on mobile for wider content */
    .container-fluid.py-4[b-bqzi4ien0f],
    .container-fluid.mt-4[b-bqzi4ien0f] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        padding-top: 0.5rem !important;
    }

    /* Hide team avatar on mobile */
    .team-avatar[b-bqzi4ien0f] {
        display: none;
    }

    /* Adjust profile section when avatar is hidden */
    .profile-section[b-bqzi4ien0f] {
        padding: 0.5rem 0 1rem;
    }

    .profile-name[b-bqzi4ien0f] {
        margin-top: 0;
    }

    .integration-item[b-bqzi4ien0f] {
        padding: 0.75rem;
    }

    .integration-content[b-bqzi4ien0f] {
        flex-direction: column;
        align-items: stretch;
    }

    .integration-actions[b-bqzi4ien0f] {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

        .integration-actions .btn[b-bqzi4ien0f] {
            flex: 1;
            min-width: 80px;
        }

    /* Info items */
    .info-item[b-bqzi4ien0f] {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .info-icon[b-bqzi4ien0f] {
        width: 36px;
        height: 36px;
    }

    /* Member items */
    .member-item[b-bqzi4ien0f] {
        padding: 0.875rem 0.5rem;
    }

    .member-avatar[b-bqzi4ien0f] {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    /* List group items */
    .list-group-item[b-bqzi4ien0f] {
        border: none !important;
        border-bottom: 1px solid var(--crm-border-light) !important;
        border-radius: 0 !important;
        padding: 0.875rem 0.5rem !important;
    }

    .list-group-item:last-child[b-bqzi4ien0f] {
        border-bottom: none !important;
    }

    /* Row margins */
    .mb-4[b-bqzi4ien0f] {
        margin-bottom: 0.5rem !important;
    }

    .col-lg-4.mb-4[b-bqzi4ien0f],
    .col-lg-8.mb-4[b-bqzi4ien0f] {
        margin-bottom: 0 !important;
    }

    /* Integration icons */
    .integration-icon[b-bqzi4ien0f] {
        width: 48px;
        height: 48px;
    }
}
.member-details[b-bqzi4ien0f] {
    line-height: 1.2;
}

.member-details strong[b-bqzi4ien0f] {
    display: block;
    margin-bottom: 0.125rem;
}

.member-details small[b-bqzi4ien0f] {
    display: block;
    line-height: 1.3;
}

.member-avatar[b-bqzi4ien0f] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.member-item[b-bqzi4ien0f] {
    padding: 1rem;
    border-bottom: 1px solid var(--crm-border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .member-item:last-child[b-bqzi4ien0f] {
        border-bottom: none;
    }

.member-info[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.members-list[b-bqzi4ien0f] {
    max-height: 500px;
    overflow-y: auto;
}

.search-results[b-bqzi4ien0f] {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item[b-bqzi4ien0f] {
    padding: 0.75rem;
    border: 1px solid var(--crm-border);
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.info-item[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--crm-bg-light);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.info-icon[b-bqzi4ien0f] {
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.integration-item[b-bqzi4ien0f] {
    transition: all 0.2s ease;
}

.integration-item:hover:not(.opacity-50)[b-bqzi4ien0f] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.integration-icon[b-bqzi4ien0f] {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-item[b-bqzi4ien0f] {
    padding: 1rem;
    border-bottom: 1px solid var(--crm-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.member-item:last-child[b-bqzi4ien0f] {
    border-bottom: none;
}

.member-info[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar[b-bqzi4ien0f] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--crm-gradient);
    color: var(--crm-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.member-details[b-bqzi4ien0f] {
    display: flex;
    flex-direction: column;
}

.member-details strong[b-bqzi4ien0f] {
    font-size: 0.95rem;
    color: var(--crm-text-primary);
}

.member-details small[b-bqzi4ien0f] {
    font-size: 0.85rem;
    color: var(--crm-text-secondary);
}

.info-item[b-bqzi4ien0f] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon[b-bqzi4ien0f] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--crm-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--crm-text-secondary);
}

.search-results[b-bqzi4ien0f] {
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item[b-bqzi4ien0f] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid var(--crm-border);
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    background-color: var(--crm-bg-body);
}

.search-result-item:last-child[b-bqzi4ien0f] {
    margin-bottom: 0;
}

/* Activity Timeline Styles */
.activity-timeline[b-bqzi4ien0f] {
    position: relative;
}

.activity-item[b-bqzi4ien0f] {
    position: relative;
    padding-left: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--crm-border-light);
}

.activity-item:last-child[b-bqzi4ien0f] {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-item.activity-failed[b-bqzi4ien0f] {
    background: rgba(220, 53, 69, 0.05);
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.activity-icon[b-bqzi4ien0f] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.activity-icon-success[b-bqzi4ien0f] {
    background: rgba(25, 135, 84, 0.1);
    color: var(--bs-success);
}

.activity-icon-warning[b-bqzi4ien0f] {
    background: rgba(255, 193, 7, 0.15);
    color: var(--bs-warning);
}

.activity-icon-error[b-bqzi4ien0f] {
    background: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger);
}

.activity-icon-info[b-bqzi4ien0f] {
    background: var(--crm-bg-light);
    color: var(--crm-text-secondary);
}

.activity-metadata[b-bqzi4ien0f] {
    background: var(--crm-bg-light);
    border-radius: 0.25rem;
    padding: 0.375rem 0.5rem;
    margin-top: 0.375rem;
}

/* Spin animation for refresh button */
@keyframes spin-b-bqzi4ien0f {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin[b-bqzi4ien0f] {
    animation: spin-b-bqzi4ien0f 1s linear infinite;
}

/* /Components/Pages/Teams.razor.rz.scp.css */
.team-search-bar[b-ak421ezb8d] {
    max-width: 520px;
}

.team-list-table[b-ak421ezb8d] {
    border: 1px solid var(--crm-border);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--crm-bg-body);
}

.team-list-table thead th[b-ak421ezb8d] {
    background-color: var(--crm-bg-light);
    color: var(--crm-text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--crm-border);
}

.team-row[b-ak421ezb8d] {
    cursor: pointer;
}

.team-row:hover[b-ak421ezb8d] {
    background-color: rgba(var(--crm-primary-rgb), 0.06);
}

.team-row:focus[b-ak421ezb8d] {
    outline: 2px solid var(--crm-primary);
    outline-offset: -2px;
}

.team-row.active-team-row[b-ak421ezb8d] {
    background-color: rgba(var(--bs-success-rgb), 0.08);
}

.team-row.restricted-team-row td[b-ak421ezb8d] {
    color: var(--crm-text-secondary);
}

@media (max-width: 767.98px) {
    .team-list-table thead th[b-ak421ezb8d] {
        white-space: nowrap;
    }
}
/* /Components/Pages/UserDashboard.razor.rz.scp.css */
/* UserDashboard specific styles */
/* Note: Uses shared .entity-avatar and .stats-icon from default.css */

.stats-card .card-body[b-pmi7rk8rqd] {
    min-height: 100px;
}

.stats-card[b-pmi7rk8rqd] {
    transition: transform 0.2s ease;
}

.stats-card:hover[b-pmi7rk8rqd] {
    transform: translateY(-2px);
}

.card-header[b-pmi7rk8rqd] {
    border-bottom: 1px solid var(--crm-border);
    padding: var(--crm-space-md);
}

.card-header:hover[b-pmi7rk8rqd] {
    background-color: var(--crm-bg-light);
}

.task-checkbox-static[b-pmi7rk8rqd] {
    font-size: 1.25rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .stats-card .card-body[b-pmi7rk8rqd] {
        padding: 0.75rem;
        min-height: 90px;
    }

    .stats-card h3[b-pmi7rk8rqd] {
        font-size: 1.5rem;
    }
}

.cursor-pointer[b-pmi7rk8rqd] {
    cursor: pointer;
    transition: background-color var(--crm-transition-fast);
}

.list-group-item-action:hover[b-pmi7rk8rqd] {
    background-color: var(--crm-bg-light);
}

.card[b-pmi7rk8rqd] {
    transition: box-shadow var(--crm-transition-base);
}

.card:hover[b-pmi7rk8rqd] {
    box-shadow: var(--crm-shadow-md) !important;
}

/* Collapsible section transitions */
.card-header[b-pmi7rk8rqd] {
    transition: background-color var(--crm-transition-base);
}

.card-header:active[b-pmi7rk8rqd] {
    background-color: var(--crm-bg-light) !important;
}

/* Smooth collapse animation */
.card-body[b-pmi7rk8rqd] {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
    /* Reduce container padding on mobile for wider content - matching Tasks/Contacts pages */
    .container-fluid.mt-4[b-pmi7rk8rqd] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        margin-top: 1rem !important;
    }

    .stats-card[b-pmi7rk8rqd] {
        margin-bottom: 0;
    }

    .stats-card .card-body[b-pmi7rk8rqd] {
        padding: 0.75rem;
    }

    .stats-icon[b-pmi7rk8rqd] {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    h3[b-pmi7rk8rqd] {
        font-size: 1.5rem;
    }

    .small[b-pmi7rk8rqd] {
        font-size: 0.875rem;
    }

    /* Make stats cards smaller on mobile */
    .text-muted.small[b-pmi7rk8rqd] {
        font-size: 0.75rem;
    }

    /* Sections card styling for mobile */
    .card.border-0.shadow-sm[b-pmi7rk8rqd] {
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .card-header.bg-white[b-pmi7rk8rqd] {
        padding: 0.875rem 0.5rem;
        border-bottom: none;
    }

    .card-header h5[b-pmi7rk8rqd] {
        font-size: 1rem;
    }

    /* List items styling - more like mobile cards */
    .list-group-item[b-pmi7rk8rqd] {
        border: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 !important;
        padding: 0.875rem 0.5rem !important;
    }

    .list-group-item:last-child[b-pmi7rk8rqd] {
        border-bottom: none !important;
    }

    .contact-avatar[b-pmi7rk8rqd] {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Task items */
    .task-checkbox-static[b-pmi7rk8rqd] {
        font-size: 1.125rem;
    }

    /* Row gaps */
    .row.mb-4[b-pmi7rk8rqd] {
        margin-bottom: 0.5rem !important;
    }

    .col-lg-6.mb-4[b-pmi7rk8rqd] {
        margin-bottom: 0 !important;
    }

    /* View All link styling */
    .btn-outline-primary.btn-sm[b-pmi7rk8rqd] {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Quick Action Button Cards */
.quick-action-btn-card[b-pmi7rk8rqd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 0.5rem;
    border: 1px solid var(--crm-border);
    background: var(--crm-bg-body);
    color: var(--crm-text-primary);
    border-radius: var(--crm-radius-md);
    cursor: pointer;
    transition: all var(--crm-transition-base);
}

.quick-action-btn-card:hover[b-pmi7rk8rqd] {
    border-color: var(--crm-primary);
    background: rgba(var(--crm-primary-rgb), 0.05);
    color: var(--crm-primary);
}

.quick-action-btn-card i[b-pmi7rk8rqd] {
    font-size: 1.25rem;
}

.quick-action-btn-card span[b-pmi7rk8rqd] {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}
/* /Components/Shared/AudioRecorder.razor.rz.scp.css */
/* #region ATTACHMENT DROPZONE*/

.audio-recorder-description[b-l2nt208a8m] {
    font-size: 0.9rem;
    color: #6c757d;
}
/* Base Pill Button */
.rec-btn[b-l2nt208a8m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #e10032; /* Crimson red matching the UI design */
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    border: none;
    border-radius: 50px; /* Fully rounded pill shape */
    padding: 10px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    outline: none;
}

    .rec-btn:hover[b-l2nt208a8m] {
        background-color: #c8002b;
    }

    .rec-btn:active[b-l2nt208a8m] {
        transform: scale(0.98);
    }

/* Common Icon Base */
.rec-icon[b-l2nt208a8m] {
    display: inline-block;
    flex-shrink: 0;
}

    /* Idle State: Circle outline with inner dot */
    .rec-icon.record-icon[b-l2nt208a8m] {
        width: 14px;
        height: 14px;
        border: 2px solid #ffffff;
        border-radius: 50%;
        position: relative;
    }

        .rec-icon.record-icon[b-l2nt208a8m]::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 6px;
            height: 6px;
            background-color: #ffffff;
            border-radius: 50%;
        }

    /* Active State: Filled square for stop */
    .rec-icon.stop-icon[b-l2nt208a8m] {
        width: 11px;
        height: 11px;
        background-color: #ffffff;
        border-radius: 2px;
    }
.dropzone[b-l2nt208a8m] {
    border: 2px dashed steelblue;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
    color: #444;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    border-radius: 8px;
}

    .dropzone:hover[b-l2nt208a8m] {
        background-color: #f1f3f5;
        color: #222;
    }

.dropzone-drag[b-l2nt208a8m] {
    background-color: #d4edda;
    border-color: #28a745;
}

/* 
   Overlay the input transparently over the dropzone.
   font-size: 0 and color: transparent completely strip native text rendering.
*/
.dropzone input[type=file][b-l2nt208a8m] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
    color: transparent;
    z-index: 10; 
}

/* Content layout */
.dropzone-content[b-l2nt208a8m] {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    background: #fff;
}

    .upload-placeholder[b-l2nt208a8m] {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        max-width:80%;
        text-align:center;
    }

.audio-icon-placeholder[b-l2nt208a8m] {
    width: 24px;
    height: 24px;
    fill: #666;
}

.file-info[b-l2nt208a8m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 90%;
    overflow: hidden;
}

.audio-icon[b-l2nt208a8m] {
    width: 24px;
    height: 24px;
    fill: steelblue;
    flex-shrink: 0;
}
.refresh-call-notes-button[b-l2nt208a8m] {
    margin-left: 1rem;

}
/* Flexbox setup for preserving file extension while truncating filename */
.file-name-container[b-l2nt208a8m] {
    display: flex;
    min-width: 0; /* Allows text truncation inside flexbox */
    font-size: 0.95rem;
    font-weight: 600;
}

.file-stem[b-l2nt208a8m] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 20px;
}

.file-ext[b-l2nt208a8m] {
    white-space: nowrap;
    flex-shrink: 0;
}
.controls-row[b-l2nt208a8m] {
    margin-bottom: 1rem;
}

.audio-preview-card[b-l2nt208a8m] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

    .audio-preview-card audio[b-l2nt208a8m] {
        height: 40px;
        outline: none;
    }
/* #endregion */
/* #region TOGGLES */

.toggles-section[b-l2nt208a8m] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #f8f8f8;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #ededed;
}

.toggles-label[b-l2nt208a8m] {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
}

.toggles-grid[b-l2nt208a8m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.toggle-item[b-l2nt208a8m] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.switch[b-l2nt208a8m] {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

    .switch input[b-l2nt208a8m] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider[b-l2nt208a8m] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    border: 1px solid #cbd5e1;
    transition: .2s ease-in-out;
    border-radius: 24px;
}

    .slider[b-l2nt208a8m]:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 3px;
        bottom: 3px;
        background-color: #ffffff;
        transition: .2s ease-in-out;
        border-radius: 50%;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

input:checked + .slider[b-l2nt208a8m] {
    background-color: #000000;
    border-color: #000000;
}

    input:checked + .slider[b-l2nt208a8m]:before {
        transform: translateX(18px);
    }
.footnote-text[b-l2nt208a8m] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 8px;
}
/* #endregion */
/* /Components/Shared/CommentInput.razor.rz.scp.css */
.comment-input-container[b-upd4ygm3jw] {
    background-color: var(--bs-body-bg);
}

.comment-textarea-wrapper textarea[b-upd4ygm3jw] {
    resize: none;
    transition: all 0.2s ease;
}

.comment-textarea-wrapper textarea:focus[b-upd4ygm3jw],
.comment-textarea-wrapper textarea.focused[b-upd4ygm3jw] {
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.image-upload-section[b-upd4ygm3jw] {
    animation: fadeIn-b-upd4ygm3jw 0.2s ease;
}

@keyframes fadeIn-b-upd4ygm3jw {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* /Components/Shared/FieldMappingPanel.razor.rz.scp.css */
/* Field Mapping Panel Styles */

/* Panel header - always black bg with white text regardless of theme */
.field-mapping-panel .panel-header[b-6sn3z2qyhk] {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Dark mode: invert to white bg with black text */
[data-theme="dark"] .field-mapping-panel .panel-header[b-6sn3z2qyhk],
[data-bs-theme="dark"] .field-mapping-panel .panel-header[b-6sn3z2qyhk] {
    background-color: #ffffff !important;
    color: #171717 !important;
}

.field-mapping-panel .panel-header .btn-outline-light[b-6sn3z2qyhk] {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.field-mapping-panel .panel-header .btn-outline-light:hover[b-6sn3z2qyhk] {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

[data-theme="dark"] .field-mapping-panel .panel-header .btn-outline-light[b-6sn3z2qyhk],
[data-bs-theme="dark"] .field-mapping-panel .panel-header .btn-outline-light[b-6sn3z2qyhk] {
    border-color: rgba(0, 0, 0, 0.5);
    color: #171717;
}

[data-theme="dark"] .field-mapping-panel .panel-header .btn-outline-light:hover[b-6sn3z2qyhk],
[data-bs-theme="dark"] .field-mapping-panel .panel-header .btn-outline-light:hover[b-6sn3z2qyhk] {
    background-color: rgba(0, 0, 0, 0.1);
    border-color: #171717;
    color: #171717;
}

.field-mapping-panel .field-item[b-6sn3z2qyhk] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.375rem;
    background: var(--crm-bg-light, #f8f9fa);
    border: 1px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-md, 0.375rem);
    transition: all 0.2s ease;
}

.field-mapping-panel .field-item.clickable[b-6sn3z2qyhk] {
    cursor: pointer;
}

.field-mapping-panel .field-item.clickable:hover[b-6sn3z2qyhk] {
    background: var(--crm-bg-hover-dark, rgba(0, 0, 0, 0.05));
    border-color: var(--crm-border-dark, #ced4da);
    transform: translateX(3px);
}

.field-mapping-panel .field-item.source-field[b-6sn3z2qyhk] {
    border-left: 3px solid var(--crm-primary);
}

.field-mapping-panel .field-item.crm-field[b-6sn3z2qyhk] {
    border-left: 3px solid var(--crm-primary);
}

.field-mapping-panel .field-item.crm-field.mapped[b-6sn3z2qyhk] {
    border-left: 3px solid var(--crm-success, #198754);
}

.field-mapping-panel .field-item .field-info[b-6sn3z2qyhk] {
    flex: 1;
    min-width: 0;
}

.field-mapping-panel .field-item .field-info strong[b-6sn3z2qyhk] {
    display: block;
    word-break: break-word;
}

/* Drop zone states */
.field-mapping-panel .field-item.drop-zone-ready[b-6sn3z2qyhk] {
    border-style: dashed;
    background: rgba(var(--crm-primary-rgb), 0.05);
}

.field-mapping-panel .field-item.drop-zone-active[b-6sn3z2qyhk] {
    border-style: dashed;
    border-color: var(--crm-primary);
    background: rgba(var(--crm-primary-rgb), 0.1);
    transform: scale(1.02);
}

/* Source/CRM field lists */
.field-mapping-panel .source-fields-list[b-6sn3z2qyhk],
.field-mapping-panel .crm-fields-list[b-6sn3z2qyhk] {
    max-height: 400px;
    overflow-y: auto;
}

/* Modal Overlay */
.field-mapping-panel ~ .modal-overlay[b-6sn3z2qyhk],
.modal-overlay[b-6sn3z2qyhk] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.field-mapping-panel ~ .modal-content[b-6sn3z2qyhk],
.modal-overlay .modal-content[b-6sn3z2qyhk] {
    background: var(--crm-bg-body, #fff);
    border-radius: var(--crm-radius-lg, 0.5rem);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--crm-shadow-lg, 0 1rem 3rem rgba(0, 0, 0, 0.175));
}

.modal-overlay .modal-content.modal-lg[b-6sn3z2qyhk] {
    max-width: 700px;
}

.modal-overlay .modal-header[b-6sn3z2qyhk] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--crm-border, #dee2e6);
}

.modal-overlay .modal-header h5[b-6sn3z2qyhk] {
    margin: 0;
}

.modal-overlay .modal-body[b-6sn3z2qyhk] {
    padding: 1rem;
}

.modal-overlay .modal-footer[b-6sn3z2qyhk] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--crm-border, #dee2e6);
}

/* Scrollbar styling */
.field-mapping-panel .source-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar,
.field-mapping-panel .crm-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar {
    width: 6px;
}

.field-mapping-panel .source-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-track,
.field-mapping-panel .crm-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-track {
    background: var(--crm-gray-100, #f1f3f5);
    border-radius: 3px;
}

.field-mapping-panel .source-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-thumb,
.field-mapping-panel .crm-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-thumb {
    background: var(--crm-gray-400, #ced4da);
    border-radius: 3px;
}

.field-mapping-panel .source-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-thumb:hover,
.field-mapping-panel .crm-fields-list[b-6sn3z2qyhk]::-webkit-scrollbar-thumb:hover {
    background: var(--crm-gray-500, #adb5bd);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .field-mapping-panel .source-fields-list[b-6sn3z2qyhk],
    .field-mapping-panel .crm-fields-list[b-6sn3z2qyhk] {
        max-height: none;
    }

    .field-mapping-panel .field-item[b-6sn3z2qyhk] {
        padding: 1rem;
    }
}

/* Mapped CRM field row */
.field-mapping-panel .field-item.crm-field.mapped[b-6sn3z2qyhk] {
    border-left: 3px solid var(--crm-success, #198754);
    background: rgba(25, 135, 84, 0.05);
}

[data-theme="dark"] .field-mapping-panel .field-item.crm-field.mapped[b-6sn3z2qyhk],
[data-bs-theme="dark"] .field-mapping-panel .field-item.crm-field.mapped[b-6sn3z2qyhk] {
    background: rgba(25, 135, 84, 0.08);
}

/* Mobile: mapping progress bar */
.mobile-mapping-progress .progress[b-6sn3z2qyhk] {
    border-radius: 4px;
}

/* Mobile: source fields accordion */
.mobile-source-accordion > button[b-6sn3z2qyhk] {
    font-size: 0.9rem;
    border-radius: var(--crm-radius-md, 0.375rem);
}

.mobile-source-list[b-6sn3z2qyhk] {
    border: 1px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-md, 0.375rem);
    padding: 0.5rem;
    background: var(--crm-bg-light, #f8f9fa);
}

/* Mobile: larger tap targets for source field items inside accordion */
.mobile-source-field-item[b-6sn3z2qyhk] {
    padding: 0.875rem 0.75rem;
    min-height: 56px;
}

/* Mobile: modal list scrollable */
.mobile-modal-list[b-6sn3z2qyhk] {
    max-height: 55vh;
    overflow-y: auto;
}

/* Mobile: list items in modal — generous touch targets */
@media (max-width: 767.98px) {
    .mobile-modal-list .list-group-item[b-6sn3z2qyhk] {
        padding: 0.875rem 1rem;
        min-height: 56px;
    }
}
/* /Components/Shared/FormRenderer.razor.rz.scp.css */
/* ── Card-style radio buttons for FormRenderer ─────────────────────────── *
 * Uses Bootstrap CSS variables so the cards automatically match both
 * light (data-bs-theme="light") and dark (data-bs-theme="dark") themes
 * without any media queries or hard-coded colours.
 * ──────────────────────────────────────────────────────────────────────── */

[b-jzqah6vckx] .radio-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Card wrapper — transparent bg so it inherits whatever the form bg is */
[b-jzqah6vckx] .radio-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border: 1.5px solid var(--bs-border-color, #dee2e6);
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    color: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.15s, background 0.15s;
    user-select: none;
}

[b-jzqah6vckx] .radio-card:hover {
    border-color: var(--bs-primary, #0d6efd);
}

/* Custom indicator — transparent bg, inherits border colour */
[b-jzqah6vckx] .radio-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.1em;
    height: 1.1em;
    border: 1.5px solid var(--bs-border-color, #dee2e6);
    border-radius: 3px;
    flex-shrink: 0;
    background: var(--bs-secondary-bg, #e9ecef);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
    vertical-align: middle;
}

/* Selected indicator — solid primary fill */
[b-jzqah6vckx] .radio-card input[type="radio"]:checked {
    border-color: var(--bs-primary, #0d6efd);
    background: var(--bs-primary, #0d6efd);
}

/* Checkmark drawn with a border-based tick — colour inverts with the theme */
[b-jzqah6vckx] .radio-card input[type="radio"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 43%;
    width: 0.28em;
    height: 0.5em;
    border: 2px solid var(--bs-body-bg, #ffffff);
    border-top: none;
    border-left: none;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Selected card gets a subtle primary tint — works on any bg */
[b-jzqah6vckx] .radio-card:has(input[type="radio"]:checked) {
    border-color: var(--bs-primary, #0d6efd);
    background: color-mix(in srgb, var(--bs-primary, #0d6efd) 12%, transparent);
}
/* /Components/Shared/ImageLightbox.razor.rz.scp.css */
.image-lightbox[b-sxhcl351ad] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-lightbox.active[b-sxhcl351ad] {
    opacity: 1;
    visibility: visible;
}

.lightbox-content[b-sxhcl351ad] {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container[b-sxhcl351ad] {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img[b-sxhcl351ad] {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close[b-sxhcl351ad] {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover[b-sxhcl351ad] {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav[b-sxhcl351ad] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.lightbox-nav:hover[b-sxhcl351ad] {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev[b-sxhcl351ad] {
    left: 20px;
}

.lightbox-next[b-sxhcl351ad] {
    right: 20px;
}

.lightbox-counter[b-sxhcl351ad] {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.9rem;
    z-index: 10;
}

/* Hide navigation buttons when only one image */
.lightbox-nav:only-of-type[b-sxhcl351ad] {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-close[b-sxhcl351ad] {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav[b-sxhcl351ad] {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev[b-sxhcl351ad] {
        left: 10px;
    }

    .lightbox-next[b-sxhcl351ad] {
        right: 10px;
    }
}
/* /Components/Shared/ImageUploadZone.razor.rz.scp.css */
.image-upload-zone[b-8ppuig7wkz] {
    border: 2px dashed var(--bs-border-color, #dee2e6);
    border-radius: 8px;
    padding: 1rem;
    background-color: var(--bs-body-bg);
    transition: all 0.2s ease;
}

.image-upload-zone:hover:not(.disabled)[b-8ppuig7wkz] {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.image-upload-zone.drag-over[b-8ppuig7wkz] {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    transform: scale(1.01);
}

.image-upload-zone.disabled[b-8ppuig7wkz] {
    opacity: 0.6;
    cursor: not-allowed;
}

.upload-content[b-8ppuig7wkz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: pointer;
    color: var(--bs-secondary);
}

.image-upload-zone.disabled .upload-content[b-8ppuig7wkz] {
    cursor: not-allowed;
}

.upload-icon[b-8ppuig7wkz] {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.upload-text[b-8ppuig7wkz] {
    font-size: 0.9rem;
    font-weight: 500;
}

.upload-hint[b-8ppuig7wkz] {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.uploaded-images[b-8ppuig7wkz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.uploaded-image-item[b-8ppuig7wkz] {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.uploaded-image-item img[b-8ppuig7wkz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.uploaded-image-item img:hover[b-8ppuig7wkz] {
    transform: scale(1.05);
}

.remove-image-btn[b-8ppuig7wkz] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.uploaded-image-item:hover .remove-image-btn[b-8ppuig7wkz] {
    opacity: 1;
}

.remove-image-btn:hover[b-8ppuig7wkz] {
    background-color: rgba(220, 53, 69, 1);
}

.upload-progress[b-8ppuig7wkz] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.upload-error[b-8ppuig7wkz] {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--bs-danger);
    font-size: 0.85rem;
}
/* /Components/Shared/LeadsOpportunitiesConfigPanel.razor.rz.scp.css */
.leads-opportunities-config-panel .config-section[b-eqtkshqidy] {
    border-left: 3px solid var(--bs-primary);
    padding-left: 1rem;
}

.leads-opportunities-config-panel .section-title[b-eqtkshqidy] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
}

.leads-opportunities-config-panel .form-switch .form-check-input[b-eqtkshqidy] {
    cursor: pointer;
}

.leads-opportunities-config-panel .form-select[multiple][b-eqtkshqidy] {
    min-height: 120px;
}
/* /Components/Shared/MappingSetupWizard.razor.rz.scp.css */
/* ─────────────────────────────────────────────
   Mapping Setup Wizard
───────────────────────────────────────────── */

/* Stepper */
.mapping-wizard .wizard-stepper[b-85ae45s9pj] {
    display: flex;
    align-items: center;
    gap: 0;
}

.mapping-wizard .wizard-step[b-85ae45s9pj] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
    white-space: nowrap;
    /* reset <button> defaults */
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: left;
}

.mapping-wizard .wizard-step.done[b-85ae45s9pj] {
    cursor: pointer;
}

.mapping-wizard .wizard-step-circle[b-85ae45s9pj] {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid var(--crm-border, #dee2e6);
    background: var(--crm-bg-body, #fff);
    color: var(--crm-text-muted, #6c757d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.mapping-wizard .wizard-step.active .wizard-step-circle[b-85ae45s9pj] {
    background: var(--crm-primary, #0d6efd);
    border-color: var(--crm-primary, #0d6efd);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.mapping-wizard .wizard-step.done .wizard-step-circle[b-85ae45s9pj] {
    background: var(--crm-success, #198754);
    border-color: var(--crm-success, #198754);
    color: #fff;
}

.mapping-wizard .wizard-step-label[b-85ae45s9pj] {
    font-size: 0.8rem;
    color: var(--crm-text-muted, #6c757d);
    font-weight: 500;
}

.mapping-wizard .wizard-step.active .wizard-step-label[b-85ae45s9pj] {
    color: var(--crm-primary, #0d6efd);
    font-weight: 600;
}

.mapping-wizard .wizard-step.done .wizard-step-label[b-85ae45s9pj] {
    color: var(--crm-success, #198754);
}

.mapping-wizard .wizard-step-connector[b-85ae45s9pj] {
    flex: 1;
    height: 2px;
    background: var(--crm-border, #dee2e6);
    margin: 0 0.5rem;
    transition: background 0.2s ease;
}

.mapping-wizard .wizard-step-connector.done[b-85ae45s9pj] {
    background: var(--crm-success, #198754);
}

/* Panel */
.mapping-wizard .wizard-panel[b-85ae45s9pj] {
    border: 1px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-lg, 0.5rem);
    overflow: hidden;
    box-shadow: var(--crm-shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
}

.mapping-wizard .wizard-panel-header[b-85ae45s9pj] {
    background: #000;
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="dark"] .mapping-wizard .wizard-panel-header[b-85ae45s9pj],
[data-bs-theme="dark"] .mapping-wizard .wizard-panel-header[b-85ae45s9pj] {
    background: #fff;
    color: #171717;
}

.mapping-wizard .wizard-panel-body[b-85ae45s9pj] {
    padding: 1.25rem;
    background: var(--crm-bg-body, #fff);
}

/* Source field card */
.mapping-wizard .source-field-card[b-85ae45s9pj] {
    background: var(--crm-bg-light, #f8f9fa);
    border: 1px solid var(--crm-border, #dee2e6);
    border-left: 4px solid var(--crm-primary, #0d6efd);
    border-radius: var(--crm-radius-md, 0.375rem);
    padding: 1rem 1.25rem;
}

.mapping-wizard .source-field-card-header[b-85ae45s9pj] {
    /* intentional */
}

/* Action cards grid */
.mapping-wizard .wizard-action-grid[b-85ae45s9pj] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.mapping-wizard .wizard-action-card[b-85ae45s9pj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 0.75rem;
    border: 2px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-md, 0.375rem);
    background: var(--crm-bg-body, #fff);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    gap: 0.25rem;
    min-height: 110px;
}

.mapping-wizard .wizard-action-card strong[b-85ae45s9pj] {
    font-size: 0.95rem;
    display: block;
}

.mapping-wizard .wizard-action-card small[b-85ae45s9pj] {
    font-size: 0.75rem;
    color: var(--crm-text-muted, #6c757d);
    display: block;
}

.mapping-wizard .wizard-action-card:hover[b-85ae45s9pj],
.mapping-wizard .wizard-action-card:focus[b-85ae45s9pj] {
    border-color: var(--crm-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13,110,253,0.12);
}

.mapping-wizard .wizard-action-card.action-map:hover[b-85ae45s9pj] { border-color: var(--crm-primary, #0d6efd); }
.mapping-wizard .wizard-action-card.action-constant:hover[b-85ae45s9pj] { border-color: var(--crm-warning, #ffc107); }
.mapping-wizard .wizard-action-card.action-skip:hover[b-85ae45s9pj] { border-color: var(--crm-secondary, #6c757d); }

/* CRM field picker list */
.mapping-wizard .crm-field-picker[b-85ae45s9pj] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 2px;
}

.mapping-wizard .crm-field-option[b-85ae45s9pj] {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    text-align: left;
    background: var(--crm-bg-light, #f8f9fa);
    border: 1px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-sm, 0.25rem);
    cursor: pointer;
    transition: all 0.12s ease;
}

.mapping-wizard .crm-field-option:hover[b-85ae45s9pj] {
    background: rgba(13, 110, 253, 0.06);
    border-color: var(--crm-primary, #0d6efd);
}

.mapping-wizard .crm-field-option.selected[b-85ae45s9pj] {
    background: rgba(13, 110, 253, 0.1);
    border-color: var(--crm-primary, #0d6efd);
    border-width: 2px;
}

/* Yes/No cards for Task step */
.mapping-wizard .wizard-yesno-row[b-85ae45s9pj] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 480px;
}

.mapping-wizard .wizard-yesno-card[b-85ae45s9pj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 2px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-md, 0.375rem);
    background: var(--crm-bg-body, #fff);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    gap: 0.25rem;
    min-height: 120px;
}

.mapping-wizard .wizard-yesno-card strong[b-85ae45s9pj] { font-size: 1rem; display: block; }
.mapping-wizard .wizard-yesno-card small[b-85ae45s9pj] { font-size: 0.75rem; color: var(--crm-text-muted, #6c757d); display: block; }

.mapping-wizard .wizard-yesno-card:hover[b-85ae45s9pj] {
    border-color: var(--crm-primary, #0d6efd);
    background: rgba(13,110,253,0.04);
}

.mapping-wizard .wizard-yesno-card.selected[b-85ae45s9pj] {
    border-color: var(--crm-primary, #0d6efd);
    background: rgba(13, 110, 253, 0.08);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

/* Review sections */
.mapping-wizard .review-section[b-85ae45s9pj] {
    border: 1px solid var(--crm-border, #dee2e6);
    border-radius: var(--crm-radius-md, 0.375rem);
    overflow: hidden;
}

.mapping-wizard .review-section-header[b-85ae45s9pj] {
    background: var(--crm-bg-light, #f8f9fa);
    padding: 0.625rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--crm-border, #dee2e6);
}

.mapping-wizard .review-section-body[b-85ae45s9pj] {
    padding: 0.875rem 1rem;
}

.mapping-wizard .review-item[b-85ae45s9pj] {
    display: flex;
    align-items: center;
    padding: 0.3rem 0;
    font-size: 0.875rem;
    border-bottom: 1px dashed var(--crm-border, #dee2e6);
}

.mapping-wizard .review-item:last-child[b-85ae45s9pj] {
    border-bottom: none;
}

.mapping-wizard .review-source[b-85ae45s9pj] {
    font-weight: 600;
    width: 40%;
    min-width: 0;
    flex: 0 0 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mapping-wizard .review-target[b-85ae45s9pj] {
    color: var(--crm-primary, #0d6efd);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    /* Stepper: tighten connector and circles */
    .mapping-wizard .wizard-stepper[b-85ae45s9pj] {
        margin-bottom: 0.75rem !important;
    }

    .mapping-wizard .wizard-step-circle[b-85ae45s9pj] {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }

    .mapping-wizard .wizard-step-connector[b-85ae45s9pj] {
        margin: 0 0.25rem;
    }

    .mapping-wizard .wizard-step-label[b-85ae45s9pj] {
        display: none !important;
    }

    /* Panel: remove rounded corners edge-to-edge, reduce header/body padding */
    .mapping-wizard .wizard-panel[b-85ae45s9pj] {
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }

    .mapping-wizard .wizard-panel-header[b-85ae45s9pj] {
        padding: 0.625rem 0.875rem;
    }

    .mapping-wizard .wizard-panel-header h5[b-85ae45s9pj] {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .mapping-wizard .wizard-panel-body[b-85ae45s9pj] {
        padding: 0.75rem 0.875rem;
    }

    /* Source field card: tighter */
    .mapping-wizard .source-field-card[b-85ae45s9pj] {
        padding: 0.625rem 0.875rem;
        margin-bottom: 0.75rem !important;
    }

    .mapping-wizard .source-field-card h4[b-85ae45s9pj] {
        font-size: 1.15rem;
    }

    /* Action cards: horizontal layout, no hint text */
    .mapping-wizard .wizard-action-grid[b-85ae45s9pj] {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mapping-wizard .wizard-action-card[b-85ae45s9pj] {
        flex-direction: row;
        justify-content: flex-start;
        min-height: unset;
        padding: 0.75rem 0.875rem;
        gap: 0.75rem;
        text-align: left;
    }

    .mapping-wizard .wizard-action-card i.bi[b-85ae45s9pj] {
        font-size: 1.4rem !important;
        margin: 0 !important;
        flex-shrink: 0;
    }

    .mapping-wizard .wizard-action-card small[b-85ae45s9pj] {
        display: none;
    }

    /* CRM field picker: tighter items, more visible height */
    .mapping-wizard .crm-field-picker[b-85ae45s9pj] {
        max-height: 220px;
        gap: 0.25rem;
    }

    .mapping-wizard .crm-field-option[b-85ae45s9pj] {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Yes/No task cards: side-by-side, shorter */
    .mapping-wizard .wizard-yesno-row[b-85ae45s9pj] {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        gap: 0.5rem;
    }

    .mapping-wizard .wizard-yesno-card[b-85ae45s9pj] {
        padding: 0.875rem 0.5rem;
        min-height: unset;
        gap: 0.2rem;
    }

    .mapping-wizard .wizard-yesno-card i.bi[b-85ae45s9pj] {
        font-size: 1.4rem !important;
    }

    /* Review: edge-to-edge sections, smaller text, tighter items */
    .mapping-wizard .review-section[b-85ae45s9pj] {
        border-left: none;
        border-right: none;
        border-radius: 0;
        margin-left: -0.875rem;
        margin-right: -0.875rem;
    }

    .mapping-wizard .review-section-header[b-85ae45s9pj] {
        padding: 0.5rem 0.875rem;
        font-size: 0.85rem;
    }

    .mapping-wizard .review-section-body[b-85ae45s9pj] {
        padding: 0.625rem 0.875rem;
    }

    .mapping-wizard .review-item[b-85ae45s9pj] {
        font-size: 0.8rem;
        padding: 0.25rem 0;
        flex-wrap: nowrap;
        gap: 0.15rem;
        align-items: center;
    }

    .mapping-wizard .review-source[b-85ae45s9pj] {
        white-space: nowrap;
        word-break: normal;
        flex: 0 0 40%;
        width: 40%;
    }

    .mapping-wizard .review-target[b-85ae45s9pj] {
        white-space: nowrap;
        word-break: normal;
    }

    /* Bottom action bar: smaller buttons */
    .mapping-wizard .wizard-panel-body .d-flex.gap-2.mt-4[b-85ae45s9pj] {
        margin-top: 0.75rem !important;
        padding-top: 0.625rem !important;
    }

    .mapping-wizard .wizard-panel-body .btn[b-85ae45s9pj] {
        padding: 0.375rem 0.625rem;
        font-size: 0.875rem;
    }
}

/* ─────────────────────────────────────────────
   Edit Modal Styling
───────────────────────────────────────────── */

/* Override the field mapping panel header when in modal */
.modal .field-mapping-panel .panel-header[b-85ae45s9pj] {
    background-color: var(--crm-bg-light, #f8f9fa) !important;
    color: var(--crm-text, #212529) !important;
    border-bottom: 2px solid var(--crm-border, #dee2e6);
}

[data-theme="dark"] .modal .field-mapping-panel .panel-header[b-85ae45s9pj],
[data-bs-theme="dark"] .modal .field-mapping-panel .panel-header[b-85ae45s9pj] {
    background-color: var(--crm-bg-dark, #2b3035) !important;
    color: var(--crm-text, #e9ecef) !important;
    border-bottom: 2px solid var(--crm-border-dark, #495057);
}

/* Toggle switch styling */
.form-switch .form-check-input[b-85ae45s9pj] {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.form-switch .form-check-input:checked[b-85ae45s9pj] {
    background-color: var(--crm-success, #198754);
    border-color: var(--crm-success, #198754);
}

.form-switch .form-check-input:focus[b-85ae45s9pj] {
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* Dark mode support for the toggle container */
[data-theme="dark"] .bg-light[b-85ae45s9pj],
[data-bs-theme="dark"] .bg-light[b-85ae45s9pj] {
    background-color: var(--crm-bg-dark, #2b3035) !important;
    color: var(--crm-text, #e9ecef);
}
/* /Components/Shared/TaskForm.razor.rz.scp.css */
.task-form[b-gw9zawy01y] {
    padding: 0;
}

.modal-backdrop[b-gw9zawy01y] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

.modal[b-gw9zawy01y] {
    z-index: 1050;
}

.assignee-list[b-gw9zawy01y] {
    max-height: 200px;
    overflow-y: auto;
    padding-left:25px !important;
}

    .assignee-list .form-check[b-gw9zawy01y] {
        padding: 0.375rem 0.5rem;
    }

        .assignee-list .form-check:hover[b-gw9zawy01y] {
            background-color: var(--crm-bg-light);
            border-radius: var(--crm-radius-sm);
        }
/* /Components/Shared/TeamValueFieldAttributeInput.razor.rz.scp.css */
.autocomplete-suggestions[b-u5u00647bv] {
    z-index: 1100;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 0.25rem;
    border: 1px solid var(--crm-border);
    border-radius: 0.375rem;
    background: var(--crm-bg-body);
}

.autocomplete-suggestions .autocomplete-suggestion-item[b-u5u00647bv] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.5rem 0.75rem !important;
    border: 0 !important;
    border-bottom: 1px solid var(--crm-border-light) !important;
    border-radius: 0 !important;
    background: var(--crm-bg-body) !important;
    color: var(--crm-text-primary);
    text-align: left;
}

.autocomplete-suggestions .autocomplete-suggestion-item:last-child[b-u5u00647bv] {
    border-bottom: 0 !important;
}

.autocomplete-suggestions .autocomplete-suggestion-item:hover[b-u5u00647bv],
.autocomplete-suggestions .autocomplete-suggestion-item:focus[b-u5u00647bv] {
    background: var(--crm-bg-light) !important;
}
