/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-0tltoc0hq2] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-0tltoc0hq2] {
    flex: 1;
}

.sidebar[b-0tltoc0hq2] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-0tltoc0hq2] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-0tltoc0hq2]  a, .top-row[b-0tltoc0hq2]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-0tltoc0hq2]  a:hover, .top-row[b-0tltoc0hq2]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-0tltoc0hq2]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-0tltoc0hq2] {
        justify-content: space-between;
    }

    .top-row[b-0tltoc0hq2]  a, .top-row[b-0tltoc0hq2]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-0tltoc0hq2] {
        flex-direction: row;
    }

    .sidebar[b-0tltoc0hq2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-0tltoc0hq2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-0tltoc0hq2]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-0tltoc0hq2], article[b-0tltoc0hq2] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-9getidgbr5] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-9getidgbr5] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-9getidgbr5] {
    font-size: 1.1rem;
}

.bi[b-9getidgbr5] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-9getidgbr5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-9getidgbr5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-9getidgbr5] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-9getidgbr5] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-9getidgbr5] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-9getidgbr5] {
        padding-bottom: 1rem;
    }

    .nav-item[b-9getidgbr5]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-9getidgbr5]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-9getidgbr5]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-9getidgbr5] {
        display: none;
    }

    .collapse[b-9getidgbr5] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-9getidgbr5] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/AdminUsers.razor.rz.scp.css */
/* Admin Users Page Styles - DuoApp CRM */

.admin-users-container[b-hstzxivn8w] {
    margin-top: 1.5rem;
}

/* Success/Error Messages */
.alert[b-hstzxivn8w] {
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    font-weight: 500;
}

/* Card Styling */
.card[b-hstzxivn8w] {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    background-color: white;
}

.card-header[b-hstzxivn8w] {
    background: linear-gradient(135deg, var(--duoapp-gray-50) 0%, white 100%);
    border-bottom: 1px solid var(--duoapp-gray-200);
    padding: 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0 !important;
}

.card-header h5[b-hstzxivn8w] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--duoapp-gray-900);
}

.card-body[b-hstzxivn8w] {
    padding: 1.5rem;
}

/* Form Styling */
.form-label[b-hstzxivn8w] {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--duoapp-gray-700);
    font-size: 0.875rem;
}

.form-control[b-hstzxivn8w],
.form-select[b-hstzxivn8w] {
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-300);
    padding: 0.625rem 1rem;
}

.form-control:focus[b-hstzxivn8w],
.form-select:focus[b-hstzxivn8w] {
    border-color: var(--duoapp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Table Styling */
.table[b-hstzxivn8w] {
    margin-bottom: 0;
}

.table thead[b-hstzxivn8w] {
    background-color: var(--duoapp-gray-50);
}

.table th[b-hstzxivn8w] {
    font-weight: 600;
    border-bottom: 2px solid var(--duoapp-gray-200);
    padding: 1rem;
    color: var(--duoapp-gray-700);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td[b-hstzxivn8w] {
    padding: 1rem;
    vertical-align: middle;
    color: var(--duoapp-gray-900);
}

.table-hover tbody tr:hover[b-hstzxivn8w] {
    background-color: var(--duoapp-gray-50);
}

.table-primary[b-hstzxivn8w] {
    background-color: rgba(37, 99, 235, 0.1) !important;
}

/* Badge Styling */
.badge[b-hstzxivn8w] {
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 0.375rem;
}

.badge.bg-danger[b-hstzxivn8w] {
    background-color: var(--duoapp-danger) !important;
}

.badge.bg-secondary[b-hstzxivn8w] {
    background-color: var(--duoapp-gray-500) !important;
}

/* Pagination Info */
.pagination-info[b-hstzxivn8w] {
    font-size: 0.875rem;
    color: var(--duoapp-gray-600);
    font-weight: 500;
}

/* Loading State */
.spinner-border[b-hstzxivn8w] {
    width: 3rem;
    height: 3rem;
    color: var(--duoapp-primary);
}

.spinner-border-sm[b-hstzxivn8w] {
    width: 1rem;
    height: 1rem;
}

/* Buttons */
.btn[b-hstzxivn8w] {
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
}

.btn-primary[b-hstzxivn8w] {
    background-color: var(--duoapp-primary);
    border-color: var(--duoapp-primary);
}

.btn-primary:hover[b-hstzxivn8w] {
    background-color: var(--duoapp-primary-dark);
    border-color: var(--duoapp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.btn-warning[b-hstzxivn8w] {
    background-color: var(--duoapp-accent);
    border-color: var(--duoapp-accent);
    color: white;
}

.btn-warning:hover[b-hstzxivn8w] {
    background-color: #d97706;
    border-color: #d97706;
}

.btn-secondary[b-hstzxivn8w] {
    background-color: var(--duoapp-gray-500);
    border-color: var(--duoapp-gray-500);
}

.btn-outline-warning[b-hstzxivn8w] {
    border-color: var(--duoapp-accent);
    color: var(--duoapp-accent);
}

.btn-outline-warning:hover[b-hstzxivn8w] {
    background-color: var(--duoapp-accent);
    border-color: var(--duoapp-accent);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-body[b-hstzxivn8w] {
        padding: 1rem;
    }

    .table-responsive[b-hstzxivn8w] {
        font-size: 0.875rem;
    }

    .table th[b-hstzxivn8w],
    .table td[b-hstzxivn8w] {
        padding: 0.75rem;
    }

    .pagination-info[b-hstzxivn8w] {
        font-size: 0.75rem;
    }
}


.admin-users-container h3[b-hstzxivn8w] {
    margin-bottom: 1.5rem;
    color: #212529;
}

/* Success/Error Messages */
.alert[b-hstzxivn8w] {
    margin-bottom: 1.5rem;
}

/* Card Styling */
.card[b-hstzxivn8w] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header[b-hstzxivn8w] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.card-header h5[b-hstzxivn8w] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body[b-hstzxivn8w] {
    padding: 1.5rem;
}

/* Form Styling */
.form-label[b-hstzxivn8w] {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control[b-hstzxivn8w],
.form-select[b-hstzxivn8w] {
    border-radius: 0.375rem;
}

/* Table Styling */
.table[b-hstzxivn8w] {
    margin-bottom: 0;
}

.table thead[b-hstzxivn8w] {
    background-color: #f8f9fa;
}

.table th[b-hstzxivn8w] {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem;
}

.table td[b-hstzxivn8w] {
    padding: 0.75rem;
    vertical-align: middle;
}

.table-hover tbody tr:hover[b-hstzxivn8w] {
    background-color: #f8f9fa;
}

.table-primary[b-hstzxivn8w] {
    background-color: #cfe2ff !important;
}

/* Badge Styling */
.badge[b-hstzxivn8w] {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Pagination Info */
.pagination-info[b-hstzxivn8w] {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Loading State */
.spinner-border[b-hstzxivn8w] {
    width: 3rem;
    height: 3rem;
}

.spinner-border-sm[b-hstzxivn8w] {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-users-container[b-hstzxivn8w] {
        padding: 1rem;
    }

    .card-body[b-hstzxivn8w] {
        padding: 1rem;
    }

    .table-responsive[b-hstzxivn8w] {
        font-size: 0.875rem;
    }

    .pagination-info[b-hstzxivn8w] {
        font-size: 0.75rem;
    }
}


/* /Pages/Batch.razor.rz.scp.css */
/* Batch Jobs Page Styles */

.batch-container[b-17iyi1ycbf] {
    max-width: 900px;
}

/* Section Headers */
.section-header[b-17iyi1ycbf] {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section-header h2[b-17iyi1ycbf] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    margin: 0;
}

/* Status Card */
.status-card[b-17iyi1ycbf] {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e4e4e7;
}

.status-card.running[b-17iyi1ycbf] {
    border-left: 4px solid #3b82f6;
}

.status-card.completed[b-17iyi1ycbf] {
    border-left: 4px solid #22c55e;
}

.status-header[b-17iyi1ycbf] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.status-header h3[b-17iyi1ycbf] {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    flex: 1;
}

.status-indicator[b-17iyi1ycbf] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b82f6;
    animation: pulse-b-17iyi1ycbf 2s ease-in-out infinite;
}

@keyframes pulse-b-17iyi1ycbf {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.status-badge[b-17iyi1ycbf] {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.running[b-17iyi1ycbf] {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-badge.completed[b-17iyi1ycbf] {
    background: #dcfce7;
    color: #16a34a;
}

/* Progress Section */
.progress-section[b-17iyi1ycbf] {
    margin-bottom: 1.5rem;
}

.progress-bar[b-17iyi1ycbf] {
    height: 8px;
    background: #e4e4e7;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill[b-17iyi1ycbf] {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-stats[b-17iyi1ycbf] {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: #71717a;
}

/* Stats Grid */
.stats-grid[b-17iyi1ycbf] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stat-item[b-17iyi1ycbf] {
    text-align: center;
    padding: 1rem;
    background: #fafafa;
    border-radius: 0.5rem;
}

.stat-value[b-17iyi1ycbf] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #18181b;
}

.stat-label[b-17iyi1ycbf] {
    font-size: 0.75rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Error Message */
.error-message[b-17iyi1ycbf] {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Action Buttons */
.action-buttons[b-17iyi1ycbf] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

/* Jobs Section */
.jobs-section[b-17iyi1ycbf] {
    margin-top: 2rem;
}

.jobs-section h2[b-17iyi1ycbf] {
    font-size: 1.125rem;
    font-weight: 600;
    color: #18181b;
    margin-bottom: 1rem;
}

.job-card[b-17iyi1ycbf] {
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.job-info[b-17iyi1ycbf] {
    flex: 1;
}

.job-info h3[b-17iyi1ycbf] {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #18181b;
}

.job-info p[b-17iyi1ycbf] {
    margin: 0;
    font-size: 0.875rem;
    color: #71717a;
    line-height: 1.5;
}

.job-actions[b-17iyi1ycbf] {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid[b-17iyi1ycbf] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .job-card[b-17iyi1ycbf] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .job-actions[b-17iyi1ycbf] {
        margin-top: 1rem;
    }
}

/* /Pages/Companies.razor.rz.scp.css */
/* Companies Page Styles - DuoApp CRM */

.companies-container[b-ui37y6laof] {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Left Pane - Company List */
.companies-list-pane[b-ui37y6laof] {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    overflow: hidden;
    height: calc(100vh - 200px);
}

.list-header[b-ui37y6laof] {
    padding: 1.5rem;
    border-bottom: 1px solid var(--duoapp-gray-200);
    background: linear-gradient(135deg, var(--duoapp-gray-50) 0%, white 100%);
}

.list-header h3[b-ui37y6laof] {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--duoapp-gray-900);
}

.search-box[b-ui37y6laof] {
    margin-bottom: 1rem;
}

.search-box input[b-ui37y6laof] {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-300);
    padding: 0.625rem 1rem;
    transition: all 0.2s ease;
}

.search-box input:focus[b-ui37y6laof] {
    outline: none;
    border-color: var(--duoapp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pagination-info[b-ui37y6laof] {
    font-size: 0.875rem;
    color: var(--duoapp-gray-600);
    text-align: center;
    font-weight: 500;
}

.list-content[b-ui37y6laof] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.company-items[b-ui37y6laof] {
    flex: 1;
}

.company-item[b-ui37y6laof] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--duoapp-gray-100);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.company-item:hover[b-ui37y6laof] {
    background-color: var(--duoapp-gray-50);
}

.company-item.selected[b-ui37y6laof] {
    background-color: var(--duoapp-primary);
    color: white;
}

.company-item.selected:hover[b-ui37y6laof] {
    background-color: var(--duoapp-primary-dark);
}

.company-item.selected[b-ui37y6laof]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: white;
}

.company-name[b-ui37y6laof] {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.company-id[b-ui37y6laof] {
    font-size: 0.8125rem;
    opacity: 0.7;
}

.page-navigation[b-ui37y6laof] {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--duoapp-gray-200);
    background-color: var(--duoapp-gray-50);
}

.page-navigation button[b-ui37y6laof] {
    flex: 1;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Right Pane - Company Details */
.companies-detail-pane[b-ui37y6laof] {
    flex: 1;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    overflow-y: auto;
    padding: 2rem;
    height: calc(100vh - 200px);
}

.detail-header[b-ui37y6laof] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--duoapp-gray-200);
}

.detail-header h4[b-ui37y6laof] {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--duoapp-gray-900);
}

.navigation-buttons[b-ui37y6laof] {
    display: flex;
    gap: 0.5rem;
}

.navigation-buttons button[b-ui37y6laof] {
    border-radius: 0.5rem;
    font-weight: 500;
}

.detail-fields[b-ui37y6laof] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-field label[b-ui37y6laof] {
    display: block;
    font-weight: 600;
    color: var(--duoapp-gray-600);
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-value[b-ui37y6laof] {
    font-size: 1rem;
    color: var(--duoapp-gray-900);
    line-height: 1.6;
    padding: 0.75rem 1rem;
    background-color: var(--duoapp-gray-50);
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-200);
}

.sic-codes[b-ui37y6laof] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sic-codes .badge[b-ui37y6laof] {
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    font-size: 0.8125rem;
}

.detail-actions[b-ui37y6laof] {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--duoapp-gray-200);
}

.detail-actions button[b-ui37y6laof] {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Loading and Error States */
.loading-state[b-ui37y6laof],
.error-state[b-ui37y6laof],
.no-selection[b-ui37y6laof],
.empty-state[b-ui37y6laof] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.loading-state p[b-ui37y6laof],
.error-state p[b-ui37y6laof],
.no-selection p[b-ui37y6laof],
.empty-state p[b-ui37y6laof] {
    margin-top: 1rem;
    color: var(--duoapp-gray-600);
    font-size: 1rem;
}

.error-state p[b-ui37y6laof] {
    color: var(--duoapp-danger);
    font-weight: 600;
}

.spinner-border[b-ui37y6laof] {
    width: 3rem;
    height: 3rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .companies-container[b-ui37y6laof] {
        flex-direction: column;
    }

    .companies-list-pane[b-ui37y6laof] {
        flex: 0 0 auto;
        max-height: 50vh;
    }

    .companies-detail-pane[b-ui37y6laof] {
        flex: 1;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .companies-container[b-ui37y6laof] {
        margin-top: 1rem;
        gap: 1rem;
    }

    .list-header[b-ui37y6laof],
    .companies-detail-pane[b-ui37y6laof] {
        padding: 1rem;
    }

    .detail-header[b-ui37y6laof] {
        flex-direction: column;
        gap: 1rem;
    }

    .navigation-buttons[b-ui37y6laof] {
        width: 100%;
    }

    .navigation-buttons button[b-ui37y6laof] {
        flex: 1;
    }
}


/* Left Pane - Company List */
.companies-list-pane[b-ui37y6laof] {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    overflow: hidden;
}

.list-header[b-ui37y6laof] {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.list-header h3[b-ui37y6laof] {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.search-box[b-ui37y6laof] {
    margin-bottom: 0.75rem;
}

.search-box input[b-ui37y6laof] {
    width: 100%;
}

.pagination-info[b-ui37y6laof] {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

.list-content[b-ui37y6laof] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.company-items[b-ui37y6laof] {
    flex: 1;
}

.company-item[b-ui37y6laof] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.company-item:hover[b-ui37y6laof] {
    background-color: #f8f9fa;
}

.company-item.selected[b-ui37y6laof] {
    background-color: #0d6efd;
    color: white;
}

.company-item.selected:hover[b-ui37y6laof] {
    background-color: #0b5ed7;
}

.company-name[b-ui37y6laof] {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.company-id[b-ui37y6laof] {
    font-size: 0.875rem;
    opacity: 0.7;
}

.page-navigation[b-ui37y6laof] {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

.page-navigation button[b-ui37y6laof] {
    flex: 1;
}

/* Right Pane - Company Details */
.companies-detail-pane[b-ui37y6laof] {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    overflow-y: auto;
    padding: 1.5rem;
}

.detail-header[b-ui37y6laof] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #dee2e6;
}

.detail-header h4[b-ui37y6laof] {
    margin: 0;
    font-size: 1.75rem;
    color: #212529;
}

.navigation-buttons[b-ui37y6laof] {
    display: flex;
    gap: 0.5rem;
}

.detail-fields[b-ui37y6laof] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.detail-field label[b-ui37y6laof] {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.field-value[b-ui37y6laof] {
    font-size: 1rem;
    color: #212529;
    line-height: 1.6;
}

.sic-codes[b-ui37y6laof] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-actions[b-ui37y6laof] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Loading and Error States */
.loading-state[b-ui37y6laof],
.error-state[b-ui37y6laof],
.no-selection[b-ui37y6laof],
.empty-state[b-ui37y6laof] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.loading-state p[b-ui37y6laof],
.error-state p[b-ui37y6laof],
.no-selection p[b-ui37y6laof],
.empty-state p[b-ui37y6laof] {
    margin-top: 1rem;
    color: #6c757d;
}

.error-state p[b-ui37y6laof] {
    color: #dc3545;
    font-weight: 500;
}

.spinner-border[b-ui37y6laof] {
    width: 3rem;
    height: 3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .companies-container[b-ui37y6laof] {
        flex-direction: column;
        height: auto;
    }

    .companies-list-pane[b-ui37y6laof] {
        flex: 0 0 auto;
        max-height: 400px;
    }

    .companies-detail-pane[b-ui37y6laof] {
        flex: 1;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .companies-container[b-ui37y6laof] {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .detail-header[b-ui37y6laof] {
        flex-direction: column;
        gap: 1rem;
    }

    .navigation-buttons[b-ui37y6laof] {
        width: 100%;
    }

    .navigation-buttons button[b-ui37y6laof] {
        flex: 1;
    }
}

/* /Pages/Login.razor.rz.scp.css */
/* Login Page Styles - DuoApp CRM */

.login-container[b-d1wqvwjech] {
    padding: 2rem;
}

.login-card[b-d1wqvwjech] {
    background: white;
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    max-width: 420px;
    width: 100%;
}

.login-logo[b-d1wqvwjech] {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.login-logo svg[b-d1wqvwjech] {
    width: 60px;
    height: 60px;
}

.login-logo .logo-image[b-d1wqvwjech] {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.login-title[b-d1wqvwjech] {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin-bottom: 0.5rem;
}

.login-subtitle[b-d1wqvwjech] {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
}

.form-group[b-d1wqvwjech] {
    margin-bottom: 1.5rem;
}

.form-group label[b-d1wqvwjech] {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control[b-d1wqvwjech] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-control:focus[b-d1wqvwjech] {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control[b-d1wqvwjech]::placeholder {
    color: #9ca3af;
}

.alert[b-d1wqvwjech] {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-danger[b-d1wqvwjech] {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.btn-block[b-d1wqvwjech] {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary[b-d1wqvwjech] {
    background-color: #2563eb;
    border: none;
    color: white;
}

.btn-primary:hover:not(:disabled)[b-d1wqvwjech] {
    background-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

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

.login-footer[b-d1wqvwjech] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.login-footer p[b-d1wqvwjech] {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.validation-message[b-d1wqvwjech] {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .login-card[b-d1wqvwjech] {
        padding: 2rem 1.5rem;
    }

    .login-title[b-d1wqvwjech] {
        font-size: 1.75rem;
    }
}

/* /Shared/CompanyBoard.razor.rz.scp.css */
/* Companies Page Styles - DuoApp CRM */

.companies-container[b-adqfbi3oje] {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Left Pane - Company List */
.companies-list-pane[b-adqfbi3oje] {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    overflow: hidden;
    height: calc(100vh - 180px);
}

.list-header[b-adqfbi3oje] {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--duoapp-gray-200);
    background: linear-gradient(135deg, var(--duoapp-gray-50) 0%, white 100%);
}

.search-box[b-adqfbi3oje] {
    margin-bottom: 0.75rem;
}

.search-box input[b-adqfbi3oje] {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-300);
    padding: 0.5rem 0.875rem;
    transition: all 0.2s ease;
}

.search-box input:focus[b-adqfbi3oje] {
    outline: none;
    border-color: var(--duoapp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Filter Row */
.filter-row[b-adqfbi3oje] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--duoapp-gray-200);
    flex-wrap: wrap;
}

.filter-label[b-adqfbi3oje] {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--duoapp-gray-600);
    white-space: nowrap;
}

.filter-row .form-select[b-adqfbi3oje] {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid var(--duoapp-gray-300);
}

.filter-row .form-select:focus[b-adqfbi3oje] {
    outline: none;
    border-color: var(--duoapp-primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Postcode filter row */
.postcode-filter-row[b-adqfbi3oje] {
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.postcode-input[b-adqfbi3oje] {
    flex: 1 1 100px;
    min-width: 80px;
}

.radius-select[b-adqfbi3oje] {
    flex: 0 0 auto;
}

.postcode-error[b-adqfbi3oje] {
    width: 100%;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.postcode-active-badge[b-adqfbi3oje] {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.pagination-info[b-adqfbi3oje] {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--duoapp-gray-600);
    text-align: center;
    font-weight: 500;
    border-bottom: 1px solid var(--duoapp-gray-100);
}

.list-content[b-adqfbi3oje] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.company-items[b-adqfbi3oje] {
    flex: 1;
}

.company-item[b-adqfbi3oje] {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--duoapp-gray-100);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.company-item:hover[b-adqfbi3oje] {
    background-color: var(--duoapp-gray-50);
}

.company-item.selected[b-adqfbi3oje] {
    background-color: var(--duoapp-primary);
    color: white;
}

.company-item.selected:hover[b-adqfbi3oje] {
    background-color: var(--duoapp-primary-dark);
}

.company-item.selected[b-adqfbi3oje]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: white;
}

.company-name[b-adqfbi3oje] {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.company-id[b-adqfbi3oje] {
    font-size: 0.8rem;
    opacity: 0.7;
}

.page-navigation[b-adqfbi3oje] {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-top: 1px solid var(--duoapp-gray-200);
    background-color: var(--duoapp-gray-50);
}

.page-navigation button[b-adqfbi3oje] {
    flex: 1;
    border-radius: 0.5rem;
    font-weight: 500;
}

/* Right Pane - Company Details */
.companies-detail-pane[b-adqfbi3oje] {
    flex: 1;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    overflow-y: auto;
    padding: 1.5rem;
    height: calc(100vh - 180px);
}

.detail-header[b-adqfbi3oje] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--duoapp-gray-200);
    gap: 0.75rem;
}

.detail-header h4[b-adqfbi3oje] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--duoapp-gray-900);
    word-break: break-word;
}

.navigation-buttons[b-adqfbi3oje] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.navigation-buttons button[b-adqfbi3oje] {
    border-radius: 0.5rem;
    font-weight: 500;
}

.detail-fields[b-adqfbi3oje] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Editable inputs in detail pane — match the field-value appearance */
.detail-field input.form-control[b-adqfbi3oje],
.detail-field .input-group input.form-control[b-adqfbi3oje] {
    background-color: var(--duoapp-gray-50);
    border: 1px solid var(--duoapp-gray-200);
    border-radius: 0.5rem;
    color: var(--duoapp-gray-900);
    font-size: 0.9375rem;
    padding: 0.625rem 0.875rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.detail-field input.form-control:focus[b-adqfbi3oje],
.detail-field .input-group input.form-control:focus[b-adqfbi3oje] {
    background-color: white;
    border-color: var(--duoapp-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.detail-field .input-group .btn[b-adqfbi3oje] {
    border-color: var(--duoapp-gray-200);
    background-color: var(--duoapp-gray-50);
    color: var(--duoapp-gray-600);
}

.detail-field label[b-adqfbi3oje] {
    display: block;
    font-weight: 600;
    color: var(--duoapp-gray-600);
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-value[b-adqfbi3oje] {
    font-size: 0.9375rem;
    color: var(--duoapp-gray-900);
    line-height: 1.6;
    padding: 0.625rem 0.875rem;
    background-color: var(--duoapp-gray-50);
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-200);
}

.sic-codes[b-adqfbi3oje] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sic-codes .badge[b-adqfbi3oje] {
    padding: 0.375rem 0.75rem;
    font-weight: 600;
    font-size: 0.8125rem;
}

/* Checkbox Field */
.checkbox-field[b-adqfbi3oje] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background-color: var(--duoapp-gray-50);
    border-radius: 0.5rem;
    border: 1px solid var(--duoapp-gray-200);
}

.checkbox-field input[type="checkbox"][b-adqfbi3oje] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: default;
}

.checkbox-label[b-adqfbi3oje] {
    font-size: 0.875rem;
    color: var(--duoapp-gray-600);
}

.detail-actions[b-adqfbi3oje] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--duoapp-gray-200);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.detail-actions button[b-adqfbi3oje] {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
}

/* Loading and Error States */
.loading-state[b-adqfbi3oje],
.error-state[b-adqfbi3oje],
.no-selection[b-adqfbi3oje],
.empty-state[b-adqfbi3oje] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.loading-state p[b-adqfbi3oje],
.error-state p[b-adqfbi3oje],
.no-selection p[b-adqfbi3oje],
.empty-state p[b-adqfbi3oje] {
    margin-top: 1rem;
    color: var(--duoapp-gray-600);
    font-size: 1rem;
}

.error-state p[b-adqfbi3oje] {
    color: var(--duoapp-danger);
    font-weight: 600;
}

.spinner-border[b-adqfbi3oje] {
    width: 2.5rem;
    height: 2.5rem;
}

/* ── Map Modal ───────────────────────────────────────────────────── */
.map-modal-backdrop[b-adqfbi3oje] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.map-modal[b-adqfbi3oje] {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgb(0 0 0 / 0.3);
    width: 100%;
    max-width: 1100px;
    height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-modal-header[b-adqfbi3oje] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--duoapp-gray-200);
    background: var(--duoapp-gray-50);
    flex-shrink: 0;
    gap: 0.75rem;
}

.map-modal-title[b-adqfbi3oje] {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--duoapp-gray-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.map-modal-controls[b-adqfbi3oje] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.map-zoom-btn[b-adqfbi3oje] {
    background: white;
    border: 1px solid var(--duoapp-gray-300);
    border-radius: 0.375rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    color: var(--duoapp-gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.map-zoom-btn:hover:not(:disabled)[b-adqfbi3oje] {
    background: var(--duoapp-gray-100);
    border-color: var(--duoapp-primary);
    color: var(--duoapp-primary);
}

.map-zoom-btn:disabled[b-adqfbi3oje] {
    opacity: 0.35;
    cursor: default;
}

.map-modal-close[b-adqfbi3oje] {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--duoapp-gray-500);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    line-height: 1;
}

.map-modal-close:hover[b-adqfbi3oje] {
    background: var(--duoapp-gray-200);
    color: var(--duoapp-gray-900);
}

.map-modal-body[b-adqfbi3oje] {
    flex: 1;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .map-modal[b-adqfbi3oje] {
        max-width: 92vw;
        height: 75vh;
    }
}

@media (max-width: 768px) {
    .map-modal[b-adqfbi3oje] {
        max-width: 100%;
        height: 70vh;
    }
}

/* ── Discovered Emails Section ───────────────────────────────────── */
.discovered-emails[b-adqfbi3oje] {
    margin-top: 0.5rem;
    border: 1px solid var(--duoapp-gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: white;
}

.discovered-emails-header[b-adqfbi3oje] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: var(--duoapp-gray-50);
    border-bottom: 1px solid var(--duoapp-gray-200);
}

.discovered-emails-title[b-adqfbi3oje] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--duoapp-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.discovered-emails-count[b-adqfbi3oje] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--duoapp-primary);
    background-color: rgba(37, 99, 235, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
}

.discovered-email-list[b-adqfbi3oje] {
    display: flex;
    flex-direction: column;
}

.discovered-email-item[b-adqfbi3oje] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid var(--duoapp-gray-100);
    transition: background-color 0.15s ease;
}

.discovered-email-item:last-child[b-adqfbi3oje] {
    border-bottom: none;
}

.discovered-email-item:hover[b-adqfbi3oje] {
    background-color: var(--duoapp-gray-50);
}

.discovered-email-info[b-adqfbi3oje] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    flex: 1;
}

.discovered-email-address[b-adqfbi3oje] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--duoapp-gray-900);
    word-break: break-all;
}

.discovered-email-source[b-adqfbi3oje] {
    font-size: 0.75rem;
    color: var(--duoapp-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.discovered-email-use[b-adqfbi3oje] {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

/* ── Tablet: stack panes vertically ─────────────────────────────── */
@media (max-width: 1100px) {
    .companies-container[b-adqfbi3oje] {
        flex-direction: column;
        gap: 1rem;
    }

    .companies-list-pane[b-adqfbi3oje] {
        flex: none;
        height: auto;
        max-height: 45vh;
    }

    .companies-detail-pane[b-adqfbi3oje] {
        flex: none;
        height: auto;
        min-height: 50vh;
    }
}

/* ── Mobile: ≤768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .companies-container[b-adqfbi3oje] {
        margin-top: 0.75rem;
        gap: 0.75rem;
    }

    .companies-list-pane[b-adqfbi3oje] {
        max-height: 40vh;
    }

    .companies-detail-pane[b-adqfbi3oje] {
        padding: 1rem;
        min-height: 55vh;
    }

    .list-header[b-adqfbi3oje] {
        padding: 0.75rem 1rem;
    }

    .detail-header[b-adqfbi3oje] {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-header h4[b-adqfbi3oje] {
        font-size: 1.25rem;
    }

    .navigation-buttons[b-adqfbi3oje] {
        width: 100%;
    }

    .navigation-buttons button[b-adqfbi3oje] {
        flex: 1;
    }

    .detail-actions[b-adqfbi3oje] {
        flex-direction: column;
    }

    .detail-actions button[b-adqfbi3oje] {
        width: 100%;
    }

    .postcode-filter-row[b-adqfbi3oje] {
        row-gap: 0.4rem;
    }

    .postcode-input[b-adqfbi3oje] {
        flex: 1 1 80px;
    }
}

/* ── Small phones: ≤480px ────────────────────────────────────────── */
@media (max-width: 480px) {
    .companies-list-pane[b-adqfbi3oje] {
        max-height: 35vh;
    }

    .company-item[b-adqfbi3oje] {
        padding: 0.75rem 1rem;
    }

    .detail-fields[b-adqfbi3oje] {
        gap: 0.75rem;
    }
}
/* /Shared/CRMLayout.razor.rz.scp.css */
/* DuoApp CRM Layout */

.crm-layout[b-x7f5up65el] {
    display: flex;
    min-height: 100vh;
    background-color: var(--duoapp-gray-50);
}

/* Sidebar Styles */
.crm-sidebar[b-x7f5up65el] {
    width: var(--sidebar-width);
    background: var(--duoapp-primary);
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header[b-x7f5up65el] {
    padding: 1rem var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container[b-x7f5up65el] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon[b-x7f5up65el] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.logo-image[b-x7f5up65el] {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text[b-x7f5up65el] {
    display: flex;
    flex-direction: column;
}

.company-name[b-x7f5up65el] {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.app-subtitle[b-x7f5up65el] {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Navigation */
.sidebar-nav[b-x7f5up65el] {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
}

/* Navigation Sections */
.nav-section[b-x7f5up65el] {
    margin-bottom: 1.25rem;
    padding: 0 0.5rem;
}

.nav-section-title[b-x7f5up65el] {
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}


/* Admin Dropdown */
.nav-dropdown[b-x7f5up65el] {
    margin: 0.125rem 0.5rem;
}

.nav-dropdown-toggle[b-x7f5up65el] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 150ms ease;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    user-select: none;
}

.nav-dropdown-toggle:hover[b-x7f5up65el] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-dropdown.open .nav-dropdown-toggle[b-x7f5up65el] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-arrow[b-x7f5up65el] {
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 150ms ease;
}

.nav-dropdown.open .dropdown-arrow[b-x7f5up65el] {
    transform: rotate(180deg);
}

.nav-dropdown-menu[b-x7f5up65el] {
    padding-top: 0.25rem;
}

.nav-sub-item[b-x7f5up65el] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 150ms ease;
    font-size: 0.8125rem;
    font-weight: 400;
    border-radius: 0.5rem;
    margin: 0.125rem 0;
}

.nav-sub-item:hover[b-x7f5up65el] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-sub-item.active[b-x7f5up65el] {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 500;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    padding-left: 2.375rem;
}

/* Sidebar Footer */
.sidebar-footer[b-x7f5up65el] {
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile[b-x7f5up65el] {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.user-avatar[b-x7f5up65el] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--duoapp-accent), var(--duoapp-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-info[b-x7f5up65el] {
    flex: 1;
    min-width: 0;
}

.user-name[b-x7f5up65el] {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-x7f5up65el] {
    margin-top: 2px;
}

.user-role .badge[b-x7f5up65el] {
    font-size: 0.65rem;
    padding: 2px 6px;
}

.btn-logout[b-x7f5up65el] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    margin-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-logout:hover[b-x7f5up65el] {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Red/Danger button variant */
.btn-logout.btn-danger[b-x7f5up65el] {
    background-color: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.btn-logout.btn-danger:hover[b-x7f5up65el] {
    background-color: rgba(239, 68, 68, 0.5);
    border-color: rgba(239, 68, 68, 0.7);
}

.btn-logout svg[b-x7f5up65el] {
    width: 18px;
    height: 18px;
}

/* Main Content Area */
.crm-main[b-x7f5up65el] {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
}

.crm-content[b-x7f5up65el] {
    flex: 1;
    padding: var(--spacing-xl);
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* Mobile top bar (hidden on desktop) */
.mobile-topbar[b-x7f5up65el] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: var(--duoapp-primary);
    color: white;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    z-index: 1100;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.2);
}

.mobile-logo[b-x7f5up65el] {
    font-weight: 700;
    font-size: 1rem;
}

.hamburger-btn[b-x7f5up65el] {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.hamburger-btn span[b-x7f5up65el] {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
}

/* Overlay backdrop */
.sidebar-backdrop[b-x7f5up65el] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .crm-sidebar[b-x7f5up65el] {
        width: 200px;
    }

    .crm-main[b-x7f5up65el] {
        margin-left: 200px;
    }

    :root[b-x7f5up65el] {
        --sidebar-width: 200px;
    }

    .logo-text[b-x7f5up65el] {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-topbar[b-x7f5up65el] {
        display: flex;
    }

    .sidebar-backdrop[b-x7f5up65el] {
        display: block;
    }

    .crm-sidebar[b-x7f5up65el] {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .crm-sidebar.mobile-open[b-x7f5up65el] {
        transform: translateX(0);
    }

    .crm-main[b-x7f5up65el] {
        margin-left: 0;
        padding-top: 52px;
    }

    .crm-content[b-x7f5up65el] {
        padding: 0.75rem;
    }
}

