@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");


body {
    font-family: "Quicksand";
    color:#1f507e;
}

.active>.page-link, .page-link.active {
    background-color: #ffc107;
    border-color:#ffc107;
}

.btn-n {
    color:#1f507e;
    background-color: #f8f9fb !important;
    border: 1.2px solid #e1e1e1;
    transition: all 0.2s ease;
}

.btn-n:hover {
    background-color: #ffffff !important;
    border: 1.2px solid #7cc2b4 !important;
    color:#1f507e !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-n:active {
    background-color: #dfe1e4 !important;
    border: 1.2px solid #c0c3c6 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Better hover effects for outline buttons */
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Filter checkbox container styles */
.filter-checkbox-container {
    background-color: #f8f9fb;
}

.filter-checkbox-container .form-check {
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.filter-checkbox-container .form-check:hover {
    background-color: #e8eaed;
}

.filter-checkbox-container .form-check-input {
    cursor: pointer;
}

.filter-checkbox-container .filter-count {
    font-size: 11px;
    min-width: 30px;
    text-align: center;
}


.n-table {
    border-collapse: separate !important;
    border: 1.2px solid #e1e1e1;
    border-radius:4px;
    background: #f8f9fb;
    border-spacing:0;
}


.n-link {
    color:#7cc2b4 !important;
}

.n-toggle:checked {
    background-color:#7cc2b4 !important;
    border-color:#7cc2b4 !important;

}

.text-n, .text-n a {

    color: #8d8d8d !important;
    font-weight: 200;

}

.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.n-table th {
    background-color: #f8f9fb !important;
    font-weight: 500;
    color:#1f507e;
}

.n-table td, .n-table th {
    text-align:left;
}

.n-table th a {
  
    color:#1f507e;
    text-decoration: none !important;
}

.n-table thead {
    background-color: #f8f9fb !important;
}

.n-table thead tr th:first-child {
    border-top-left-radius: 4px;
}

.n-table thead tr th:last-child {
    border-top-right-radius: 4px;
}

.navbar-toggler {
    display:block !important
}
.collapse:not(.show) {
    display: none !important;
}

.collapse.show {
    display:block !important;
}

.navbar-expand-lg .navbar-collapse {
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    display: block ;
}
.navbar-expand-lg {
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}
.navbar-expand-lg .navbar-nav {
    flex-direction: column !important;
}
.n-table td {
    color:#1f507e;
}

/* Additional styles for the sales project */
.card {
    border: 1.2px solid #e1e1e1;
    border-radius: 4px;
    background: #f8f9fb;
}

.card-header {
    background-color: #f8f9fb !important;
    border-bottom: 1.2px solid #e1e1e1;
    font-weight: 500;
    color: #1f507e;
}

.form-control {
    border: 1.2px solid #e1e1e1;
    border-radius: 4px;
}

.form-control:focus {
    border-color: #7cc2b4;
    box-shadow: 0 0 0 0.2rem rgba(124, 194, 180, 0.25);
}

.btn-primary {
    background-color: #7cc2b4;
    border-color: #7cc2b4;
    color: white;
}

.btn-primary:hover {
    background-color: #6bb5a8;
    border-color: #6bb5a8;
}

.badge {
    font-size: 0.8em;
}

.text-primary {
    color: #1f507e !important;
}

.text-success {
    color: #7cc2b4 !important;
}

.text-info {
    color: #17a2b8 !important;
}

/* Mobile responsive fixes */


@media (max-width: 575.98px) {
    .card-header select,
    .card-header input {
        min-width: 70px !important;
        max-width: 85px !important;
        font-size: 11px !important;
    }
    
    .card-header .btn-sm {
        font-size: 10px !important;
        padding: 0.2rem 0.4rem !important;
    }
    
    #pageTitle {
        font-size: 1rem !important;
    }
}


body {
    font-family: "Quicksand", sans-serif !important;
    color: #1f507e !important;
    background: #eeeeee;
}

/* Force desktop view on mobile - scale down instead of responsive */
@media (max-width: 768px) {
    html {
        width: 1300px !important;
        min-width: 1300px !important;
        overflow-x: auto;
    }
    
    body {
        width: 1300px !important;
        min-width: 1300px !important;
        zoom: 0.7;
        -webkit-transform: scale(0.7);
        -moz-transform: scale(0.7);
        -ms-transform: scale(0.7);
        transform: scale(0.7);
        transform-origin: top left;
        -webkit-transform-origin: top left;
        -moz-transform-origin: top left;
        -ms-transform-origin: top left;
    }
    
    .table-responsive {
        overflow-x: visible !important;
        width: 1300px !important;
    }
    
    .n-table {
        min-width: 100% !important;
        table-layout: fixed !important;
        width: 1300px !important;
    }
    
    /* Override Bootstrap\'s responsive behavior */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .col-12, .col-md-5, .col-md-7 {
        width: auto !important;
        flex: none !important;
    }
}

.status-badge { 
    font-size: 11px;
    font-family: "Quicksand", sans-serif !important;
}

.confidence-score {
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: inline-block;
    min-width: 40px;
    font-family: "Quicksand", sans-serif !important;
}
.confidence-high { background: #d4edda; color: #155724; }
.confidence-medium { background: #fff3cd; color: #856404; }
.confidence-low { background: #f8d7da; color: #721c24; }

.n-table {
    border-collapse: separate !important;
    border: 1.2px solid #e1e1e1;
    border-radius: 4px;
    background: #f8f9fb;
    border-spacing: 0;
    margin-bottom: unset;
    white-space: nowrap;
}

.n-table th {
    background-color: #f8f9fb !important;
    font-weight: 500;
    color: #1f507e;
    text-align: left;
    font-family: "Quicksand", sans-serif !important;
    padding: 12px 8px;
    font-size: 15px;
}

.n-table td {
    color: #1f507e;
    text-align: left;
    font-family: "Quicksand", sans-serif !important;
    padding: 8px;
    vertical-align: middle;
    font-size: 15px;
}

.n-table thead {
    background-color: #f8f9fb !important;
}

.n-table thead tr th:first-child {
    border-top-left-radius: 4px;
}

.n-table thead tr th:last-child {
    border-top-right-radius: 4px;
}

.n-table th a {
    color: #1f507e;
    text-decoration: none !important;
}

.n-link {
    color: #7cc2b4 !important;
}

.btn-n {
    color: #1f507e;
    background-color: #f8f9fb !important;
    border: 1.2px solid #e1e1e1;
    font-family: "Quicksand", sans-serif !important;
}

.company-name {
    font-family: "Quicksand", sans-serif !important;
    color: #1f507e;
    /* Use default font-size and font-weight like original */
}

.owner-name {
    font-family: "Quicksand", sans-serif !important;
    color: #1f507e;
    /* Use default font-size and font-weight like original */
}

.owner-title {
    font-family: "Quicksand", sans-serif !important;
    color: #8d8d8d !important;
    font-weight: 200;
    font-size: 12px;
}

.phone-number {
    font-family: "Quicksand", sans-serif !important;
    color: #7cc2b4 !important;
    text-decoration: none;
}

.phone-number:hover {
    color: #7cc2b4 !important;
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.phone-type {
    font-family: "Quicksand", sans-serif !important;
    font-size: 11px;
    background: #e2e8f0;
    color: #8d8d8d;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    font-weight: 200;
}

.location-text {
    font-family: "Quicksand", sans-serif !important;
    color: #1f507e;
    /* Use default font-size like original */
}

.website-link {
    font-family: "Quicksand", sans-serif !important;
    color: #7cc2b4 !important;
    text-decoration: none;
    font-size: 12px;
}

.website-link:hover {
    color: #7cc2b4 !important;
    text-decoration: underline;
}

.text-n, .text-n a {
    color: #8d8d8d !important;
    font-weight: 200;
}

.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.sortable:hover {
    background-color: rgba(241, 241, 241, 0.3);
}

.sortable.asc .fa-sort:before {
    content: "\f0de";
}

.sortable.desc .fa-sort:before {
    content: "\f0dd";
}

.sortable .fa-sort {
    margin-left: 5px;
    opacity: 0.6;
    color: #1f507e;
}

.completion-icon {
    font-size: 16px;
    margin-right: 8px;
}

.completion-successful {
    color: #28a745;
}

.completion-lost {
    color: #dc3545;
}

.followup-divider {
    background: linear-gradient(135deg, #f8f9fb 0%, #e8f4f8 100%) !important;
    border-top: 2px solid #7cc2b4 !important;
    border-bottom: 1px solid #e1e8ed !important;
}

.followup-divider td {
    background: transparent !important;
    border: none !important;
    text-align: left !important;
    padding: 12px 8px !important;
}

/* Filter dropdown checkbox alignment */
.filter-option {
    padding: 4px 0;
}

.filter-option.hidden {
    display: none !important;
}

.filter-option .form-check {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
}

.filter-option .form-check-input {
    margin: 0 8px 0 0 !important;
    float: none !important;
    position: static !important;
}

.filter-option .form-check-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}