/* EDM InfoFinder Custom Styles */
@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/Barlow-Bold.ttf') format('truetype');
    font-weight: bold;
}

body {
    font-family: 'Barlow', 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    margin-bottom: 1rem;
}

.search-panel .card-header {
    background-color: #2c3e50;
    color: white;
}

.result-panel .card-header {
    background-color: #2c3e50;
    color: white;
}

.detail-panel .card-header {
    background-color: #2c3e50;
    color: white;
}

.lead-green { color: #27ae60; font-weight: bold; }
.lead-orange { color: #f39c12; font-weight: bold; }
.lead-red { color: #e74c3c; font-weight: bold; }

.table th {
    background-color: #f8f9fa;
}

.btn-edm {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2c3e50;
    --bs-btn-border-color: #2c3e50;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #34495e;
    --bs-btn-hover-border-color: #34495e;
    --bs-btn-focus-shadow-rgb: 44, 62, 80;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #233140;
    --bs-btn-active-border-color: #233140;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #2c3e50;
    --bs-btn-disabled-border-color: #2c3e50;
}

/* Hidden on screen; revealed only in the print stylesheet below. */
.print-only {
    display: none;
}

@media print {
    .no-print, .navbar, footer {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    /* On the search page, print only the person details — hide the search
       panel and result list. Using display:none (not visibility:hidden) so the
       hidden content takes up no space and produces no trailing blank pages. */
    .search-page > .col-lg-4 {
        display: none !important;
    }

    .search-page > .col-lg-8 > *:not(.detail-panel) {
        display: none !important;
    }

    .detail-panel {
        margin-top: 0 !important;
    }
}

/* Small colored sphere used to indicate the telephone number score quality. */
.score-dot {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
