:root {
    --sidebar-bg: #222;
    --sidebar-hover: #333;
    --primary-color: #00b9e1;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --background-color: #fff;
    --footer-bg: #f8f9fa;
    --footer-text: #6c757d;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar {
    background-color: var(--sidebar-bg);
    color: white;
    height: 100vh;
    width: 220px;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 66.5px;
    z-index: 100;
}

.sidebar a {
    padding: 12px 15px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: var(--primary-color);
}

.sidebar a.active {
    background-color: var(--primary-color);
}

.sidebar a i {
    width: 24px;
    margin-right: 10px;
}

.sidebar-brand {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

.sidebar-dropdown {
        position: relative;
    }
    
    .sidebar-dropdown .menu-item {
        display: block;
        padding: 10px 20px 10px 15px; /* Added right padding to make space for the arrow */
        text-decoration: none;
        color: #fff;
        transition: all 0.3s;
        position: relative;
    }
    
    .sidebar-dropdown a:hover {
        background-color: #00b9e1;
    }
    
    .sidebar-dropdown a.active {
        background-color: #00b9e1;
    }
	
	.sidebar-dropdown > .menu-item.active,
    .sidebar-dropdown > .menu-item.active:hover {
        background-color: #00b9e1 !important;
    }
    
    /* Toggle icon */
    .toggle-icon {
        margin-top: 4px;
        font-size: 14px;
        position: absolute;
        right: 0px; /* Reduced from 15px to bring it closer to the edge */
    }
    
    .sidebar-dropdown.open .toggle-icon {
        transform: rotate(-90deg);
        transition: none; /* Instant rotation without animation */
    }

.main-content {
    margin-left: 220px;
    padding: 15px;
    padding-top: 70px;
    padding-bottom: 80px; /* Add space for footer */
    flex: 1;
}

.header {
    background-color: #222;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 220px;
    right: 0;
    z-index: 99;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h4 {
color: #fff;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--sidebar-bg);
    width: 220px;
    padding: 15px;
    z-index: 101;
}

.logo span {
    color: white;
}

.logo span.plus {
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
}

.user-info a {
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 15px 0;
    margin-top: auto;
    border-top: 1px solid #dee2e6;
    margin-left: 220px;
}

.footer p {
    margin-bottom: 0;
}

.footer-link {
    color: var(--footer-text);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #009bcc;
    border-color: #009bcc;
}

.section {
    margin-bottom: 30px;
}

.card {
    border-radius: 4px;
    margin-bottom: 20px;
   /* box-shadow: 0 1px 3px rgba(0,0,0,0.1); */
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: #fff;
    font-weight: 600;
}

.card-header.bg-primary {
    background-color: #00B9E1 !important;
}

.card-body {
    padding: 20px;
}

.search-result {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-result:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.search-result h5 {
    margin-top: 0;
    color: var(--primary-color);
}

.search-result-info {
    margin-bottom: 10px;
}

.search-result-info span {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
}

.search-result-info i {
    margin-right: 5px;
    color: #666;
}

.badge {
    font-size: 80%;
    font-weight: normal;
    padding: 5px 8px;
    border-radius: 3px;
}

.badge-active {
    background-color: #2ecc71;
}

.badge-dissolved {
    background-color: #e74c3c;
}

.badge-liquidation {
    background-color: #f39c12;
}

.badge-unknown {
    background-color: #9aa0a5; /* Gray for unknown */
    color: white;
}

#recentSearches {
    list-style: none;
    padding: 0;
}

#recentSearches li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#recentSearches li:last-child {
    border-bottom: none;
}

#recentSearches a {
    color: var(--primary-color);
    text-decoration: none;
}

#recentSearches a:hover {
    text-decoration: underline;
}

.financial-risk-indicator {
    height: 8px;
    border-radius: 4px;
    background-color: #eee;
    margin-top: 5px;
    overflow: hidden;
}

.financial-risk-indicator .risk-level {
    height: 100%;
}

.risk-low {
    background-color: #2ecc71;
}

.risk-medium {
    background-color: #f39c12;
}

.risk-high {
    background-color: #e74c3c;
}

.trend-up { 
    color: #2ecc71; 
}

.trend-down { 
    color: #e74c3c; 
}

.metric-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.tab-content {
    padding-top: 0px;
}

.table th, .table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* Star rating styles for payment notes */
.star-rating {
    display: inline-flex;
    font-size: 24px;
    color: #e0e0e0;
}

.star-rating .fas.fa-star,
.star-rating .fas.fa-star-half-alt {
    color: #00b9e1;
}

.star-rating-input {
    cursor: pointer;
}

.star-rating-input i {
    padding: 0 2px;
    transition: transform 0.1s, color 0.2s;
}

.star-rating-input i:hover {
    transform: scale(1.2);
    color: #00b9e1;
}

.star-rating-input i.selected,
.star-rating-input i.hovered {
    color: #00b9e1;
}

/* Payment note card */
.payment-note-card {
    border-left: 4px solid #ddd;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.payment-note-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.payment-note-card.rating-5 {
    border-left-color: #00b9e1;
}

.payment-note-card.rating-4 {
    border-left-color: #4caf50;
}

.payment-note-card.rating-3 {
    border-left-color: #ff9800;
}

.payment-note-card.rating-2,
.payment-note-card.rating-1 {
    border-left-color: #f44336;
}

/* Payment summary box */
.payment-summary-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.large-rating {
    font-size: 48px;
    font-weight: bold;
}

.rating-breakdown {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rating-bar {
    flex-grow: 1;
    background-color: #e0e0e0;
    height: 8px;
    margin: 0 10px;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: #00b9e1;
}

/* Social Media Icons Colors */
.social-icon.linkedin { color: #0077B5; }
.social-icon.facebook { color: #1877F2; }
.social-icon.twitter { color: #1DA1F2; }
.social-icon.instagram { color: #E4405F; }
.social-icon.youtube { color: #FF0000; }

/* Activity Score */
.activity-score {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.activity-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
}

/* Onboarding steps */
.onboarding-steps {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 30px;
    width: 120px;
    text-align: center;
}

.step svg {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.step p {
    width: 100%;
    text-align: center;
    margin: 0;
}

.step-line {
    height: 2px;
    background-color: #ddd;
    width: 100px;
    margin-top: 40px;
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 24px;
    margin-bottom: 20px;
}

.info-box h5 {
    margin-top: 0;
    margin-bottom: 16px;
}

.info-box ul {
    margin-bottom: 0;
}

.info-section {
    display: flex;
    margin-top: 15px;
}

.info-section div {
    flex: 1;
    padding: 15px 10px;
}

.info-section h6 {
    margin-top: 0;
    margin-bottom: 10px;
}

.info-section p {
    margin: 0;
}

/* Suggestions container */
.suggestions-container {
    position: absolute;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

/* Individual suggestion items */
.suggestion-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

/* Suggestion item title */
.suggestion-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Suggestion metadata */
.suggestion-info {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.suggestion-number, .suggestion-status, .suggestion-address {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.suggestion-address {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Status indicators */
.status-active {
    color: #28a745;
}

.status-dissolved {
    color: #dc3545;
}

.status-liquidation {
    color: #fd7e14;
}

.status-unknown {
    color: #6c757d;
}

/* Empty and error states */
.suggestion-empty, .suggestion-error, .suggestion-loading {
    padding: 15px;
    color: #6c757d;
    text-align: center;
    font-size: 0.9rem;
}

.suggestion-error {
    color: #dc3545;
}

.suggestion-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar a span {
        display: none;
    }
    
    .logo {
        width: 60px;
    }
    
    .logo span {
        display: none;
    }
    
    .main-content {
        margin-left: 0px;
    }
    
    .header {
        left: 0px;
    }
    
    .footer {
        margin-left: 0px;
    }
    
    .sidebar-brand {
        display: none;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .suggestion-info {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .user-info a span {
        display: none;
    }
    
    .footer .text-end {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .footer-link {
        display: inline-block;
        margin-left: 0;
        margin-right: 15px;
        margin-bottom: 5px;
    }
}

.sb-sidenav-toggled .sidebar {
    transform: translateX(-220px);
}

.sb-sidenav-toggled .main-content,
.sb-sidenav-toggled .header,
.sb-sidenav-toggled .footer {
    margin-left: 0;
    left: 0;
}

.card-header-tabs {
    border-bottom: none;
}

/* Give the nav-tabs container a subtle full-width bottom border if needed */
.nav-tabs {
    border-bottom: 1px solid transparent; /* Use transparent if you want only the active tab to show an underline */
}

/* Remove default borders and ensure positioning for each tab button */
.nav-tabs .nav-link {
    
    background: transparent;
    margin-right: 10px;
    position: relative;
    padding-bottom: 10px; /* Increase bottom padding if needed for spacing */
}

/* Add an underline for the active tab using a pseudo-element */
.nav-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid var(--primary-color);
}

.nav-a {
    color:#595C5F
}

.border-left-primary {
    border-left: 4px solid #4e73df !important;
}
.border-left-success {
    border-left: 4px solid #1cc88a !important;
}
.border-left-info {
    border-left: 4px solid #36b9cc !important;
}
.border-left-warning {
    border-left: 4px solid #f6c23e !important;
}
.text-gray-300 {
    color: #dddfeb !important;
}
.nav-tabs .nav-link {
    border-top: 3px solid transparent;
}
.nav-tabs .nav-link.active {
    border-top: 3px solid #4e73df;
    font-weight: bold;
}
.btn-group .btn-outline-primary {
    border-color: #4e73df;
    color: #4e73df;
}
.btn-group .btn-outline-primary:hover {
    background-color: #4e73df;
    color: white;
}
/* CSS for enhanced financial data navigation */
.border-left-primary {
    border-left: 4px solid #4e73df !important;
}
.border-left-success {
    border-left: 4px solid #1cc88a !important;
}
.border-left-info {
    border-left: 4px solid #36b9cc !important;
}
.border-left-warning {
    border-left: 4px solid #f6c23e !important;
}
.text-gray-300 {
    color: #dddfeb !important;
}

/* Enhanced tab navigation */
.nav-tabs .nav-link {
    border-top: 3px solid transparent;
    transition: all 0.2s ease;
}
.nav-tabs .nav-link.active {
    border-top: 3px solid #4e73df;
    font-weight: bold;
}
.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f8f9fc;
    border-top: 3px solid #eaecf4;
}

/* Button group styling */
.btn-group .btn-outline-primary {
    border-color: #4e73df;
    color: #4e73df;
}
.btn-group .btn-outline-primary:hover,
.btn-group .btn-outline-primary.active {
    background-color: #4e73df;
    color: white;
}

/* Secondary navigation styling */
.bg-light {
    background-color: #f8f9fc !important;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Card enhancements */
.card {
  /*  border: none;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);  
    transition: box-shadow 0.3s ease, transform 0.2s ease; 
}
.card:hover {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.25); 
}

/* Section highlighting for navigation */
.card.highlight-section {
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.5);
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Make table headers sticky for long tables */
.table-responsive {
    max-height: 600px;
    overflow-y: auto;
}
.table-responsive thead th {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

/* Year filter active button */
.btn-group[aria-label="Year Selection"] .btn.active {
    background-color: #4e73df;
    color: white;
    border-color: #4e73df;
}

/* Export options styling */
.btn-group[aria-label="Export Options"] .btn {
    transition: all 0.15s ease;
}
.btn-group[aria-label="Export Options"] .btn:hover {
    background-color: #eaecf4;
}

/* Print-specific styles */
@media print {
    .nav-tabs, 
    .btn-group,
    .card-header {
        display: none !important;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        margin-bottom: 1.5rem !important;
    }
    
    .container-fluid {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}
.highlight-section {
    animation: highlight-pulse 2s;
}

@keyframes highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(66, 133, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}
@keyframes highlight-fade {
  0% { background-color: rgba(0, 123, 255, 0.2); }
  100% { background-color: transparent; }
}

.btn-group .btn.active {
    background-color: #4285f4;
    color: white;
}

/* Custom borders for the cards */
.border-left-success {
    border-left: 4px solid #28a745;
}
.border-left-primary {
    border-left: 4px solid #007bff;
}
.border-left-warning {
    border-left: 4px solid #ffc107;
}
.border-left-info {
    border-left: 4px solid #17a2b8;
}

/* Background gradient for headers */
.bg-gradient-primary {
    background: linear-gradient(45deg, #4e73df 0%, #224abe 100%);
}

/* Add some extra padding in the cards */
.card-body {
    padding: 1.25rem;
}

/* Make headings bold */
.font-weight-bold {
    font-weight: 600;
}

/* Add shadow to cards on hover */
.card {
    transition: all 0.3s ease;
}
.card:hover {
   /* box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);  */
}
.border-left-danger {
    border-left: 4px solid #dc3545;
}
.bg-gradient-primary {
    background: linear-gradient(45deg, #00B9E1 0%, #00B9E1 100%);
}
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
/* Position the suggestions container */
    #suggestions-container {
        position: absolute;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
        z-index: 1000;
        background: white;
        border: 1px solid #ddd;
        border-top: none;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
    }
    
    /* Style for suggestion items */
    .suggestion-item {
        padding: 10px 15px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }
    
    .suggestion-item:hover {
        background-color: #f8f9fa;
    }
    
    .suggestion-title {
        font-weight: bold;
        margin-bottom: 3px;
    }
    
    .suggestion-info {
        font-size: 0.85em;
        color: #666;
        display: flex;
        justify-content: space-between;
        margin-bottom: 3px;
    }
    
    .suggestion-address {
        font-size: 0.85em;
        color: #666;
    }
    
    /* Status colors */
    .status-active {
        color: #28a745;
    }
    
    .status-dissolved {
        color: #dc3545;
    }
    
    .status-liquidation {
        color: #ffc107;
    }
    
    .status-unknown {
        color: #6c757d;
    }
    
    /* Loading and error states */
    .suggestion-loading,
    .suggestion-error,
    .suggestion-empty {
        padding: 10px 15px;
        text-align: center;
        color: #6c757d;
    }

/* Alert dropdown styling */
    .unread-alert {
        background-color: #f8f9fa;
        border-left: 3px solid #0d6efd;
    }
    
    #alertsDropdown .badge {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0.6rem;
        transform: translate(25%, -25%);
    }
    
    .dropdown-menu .dropdown-item {
        padding: 0.75rem 1rem;
        white-space: normal;
    }

/* Gazette Notice Styling */
.summary-box {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.stat-item {
    padding: 10px;
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
}

.search-result {
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.badge-active {
    background-color: #28a745;
    color: white;
}

.badge-dissolved {
    background-color: #dc3545;
    color: white;
}

.badge-liquidation {
    background-color: #fd7e14;
    color: white;
}

.notice-text {
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 400px;
    overflow-y: auto;
}
/* Company Analysis Tools section */
.btn-outline-primary.btn-lg {
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-outline-primary.btn-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Status badges */
.badge-active {
    background-color: #28a745;
    color: white;
}

.badge-dissolved {
    background-color: #dc3545;
    color: white;
}

.badge-liquidation {
    background-color: #fd7e14;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

/* Filing timeline */
.filing-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.filing-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 18px;
    margin-left: -1px;
}

.filing-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    margin-bottom: 15px;
}

.filing-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 9px;
    background-color: white;
    border: 4px solid #0d6efd;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.filing-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.filing-content {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0d6efd;
}

.filing-content h6 {
    margin-bottom: 10px;
}

/* Credit Score Gauge */
.credit-score-gauge {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.credit-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
}

/* Financial cards */
.text-success {
    color: #28a745 !important;
}

.text-danger {
    color: #dc3545 !important;
}

/* Export options */
.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .btn-outline-primary.btn-lg {
        margin-bottom: 15px;
    }
    
    .filing-item {
        padding: 10px 30px;
    }
}
.download-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.download-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.download-card .card-body {
    padding: 2rem;
}

/* Fraud types icons */
.fraud-type-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: #e9ecef;
    margin-right: 10px;
}
/* Court Records Status Badges */
.badge-dissolved {
    background-color: #e74c3c;
    color: #fff;
}

.badge-active {
    background-color: #2ecc71;
    color: #fff;
}

/* Court Records Info Boxes */
.info-box {
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    padding: 15px;
    margin-bottom: 20px;
}

.info-box h5 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.info-box ul {
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
}

.search-suggestions {
    position: absolute;
    z-index: 999;
    background: white;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.onboarding-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

.step {
    text-align: center;
    width: 100px;
}

.step svg {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: #00b9e1;
    margin: 0 15px;
}
#courtRecordsSearchForm input::placeholder {
    font-size: 0.8rem;
    color: #adb5bd;
    font-style: italic;
}

/* Style for the small alert */
.alert-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    background-color: #e3f2fd;
    border-color: #b6d4fe;
    color: #084298;
}

/* Make helper text smaller and lighter */
#courtRecordsSearchForm small.text-muted {
    font-size: 0.75rem;
    color: #6c757d !important;
}

/* Add a subtle border highlight on focused inputs */
#courtRecordsSearchForm .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
}

/* Add styling for form labels */
#courtRecordsSearchForm .form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.bg-primary {
    background-color: #00B9E1 !important;
}
.text-primary {
    --bs-text-opacity: 1;
    color: #00B9E1 !important;
}

/* Print styles - hide non-essential elements when printing */
@media print {
    body {
        background-color: #fff;
        margin: 0;
        padding: 0;
        color: #000;
    }
    
    /* Hide elements that shouldn't be printed */
    .sidebar, 
    nav, 
    .navbar,
    footer,
    .no-print,
    .btn,
    button,
    #toggleAdvanced,
    form .row:last-child,
    #advancedOptions,
    .card-footer .ms-auto {
        display: none !important;
    }
    
    /* Hide the main form if results are shown */
    .verification-results ~ .search-form {
        display: none !important;
    }
    
    /* Make sure the main content takes full width */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Adjust container padding */
    .container-fluid {
        padding: 10px !important;
    }
    
    /* Make sure all content is visible */
    .card {
        break-inside: avoid;
        border: 1px solid #ddd !important;
        margin-bottom: 20px !important;
    }
    
    /* Ensure table is readable */
    .table {
        width: 100% !important;
        border-collapse: collapse !important;
    }
    
    .table th,
    .table td {
        background-color: #fff !important;
        border: 1px solid #ddd !important;
    }
    
    /* Better color handling for print */
    .bg-success {
        background-color: #d4edda !important;
        color: #155724 !important;
    }
    
    .bg-danger {
        background-color: #f8d7da !important;
        color: #721c24 !important;
    }
    
    .badge {
        border: 1px solid #000 !important;
        padding: 2px 5px !important;
    }
    
    .badge-success {
        background-color: #fff !important;
        color: #155724 !important;
        border-color: #155724 !important;
    }
    
    .badge-danger {
        background-color: #fff !important;
        color: #721c24 !important;
        border-color: #721c24 !important;
    }
    
    /* Add a page title */
    body::before {
        content: "Person Verification Report";
        display: block;
        text-align: center;
        font-size: 18pt;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    /* Add page footer with date */
    @page {
        margin: 1cm;
    }
    
    body::after {
        content: "Generated on " attr(data-print-date) " by AlertFlag Person Verification System";
        display: block;
        text-align: center;
        font-size: 9pt;
        color: #666;
        margin-top: 20px;
    }
}
#map-container {
    position: relative;
    background: #f8f9fa; /* Light gray background when no map */
}

#company-map-iframe {
    display: block;
}
/* Risk score circle styling - Updated to match screenshot */
.risk-score-circle, .risk-indicator-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 22px;
    font-weight: bold;
    border: 2px solid;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.risk-score-circle.text-success, .risk-indicator-circle.text-success {
    border-color: #28a745;
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.risk-score-circle.text-warning, .risk-indicator-circle.text-warning {
    border-color: #ffc107;
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.05);
}

.risk-score-circle.text-danger, .risk-indicator-circle.text-danger {
    border-color: #dc3545;
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.risk-indicator-circle.text-primary {
    border-color: #007bff;
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}

.risk-indicator-circle.bg-secondary {
    border-color: #6c757d;
    color: #6c757d;
    background-color: rgba(108, 117, 125, 0.05);
}

/* Credit limit styling - Updated to match screenshot */
.credit-limit-display {
    padding: 30px 20px;
    text-align: center;
}

.credit-limit-value {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.currency-symbol {
    font-size: 32px;
    margin-right: 5px;
    font-weight: 600;
}

.amount {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
}

.credit-limit-label {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 20px;
}

.credit-limit-assessment {
    font-size: 18px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
}

/* Updated colors to match screenshot */
.low-limit {
    background-color: #ff6b6b;
    color: white;
}

.moderate-limit {
    background-color: #ffa94d;
    color: white;
}

.medium-limit {
    background-color: #74c0fc;
    color: white;
}

.high-limit {
    background-color: #40c057;
    color: white;
}

.very-high-limit {
    background-color: #20c997;
    color: white;
}

/* Card styling - Updated to match screenshot */
.card {
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0.8rem 1.25rem;
}

.card-header.bg-primary {
    background-color: #00b8d4 !important; /* Turquoise blue from screenshot */
}

/* Risk actions bar styling - Updated to match screenshot */
.risk-actions-bar {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: #f5f7fa;
    padding: 0.7rem;
}

.risk-actions-bar .btn-outline-secondary {
    border-color: #ced4da;
    color: #495057;
    font-size: 13px;
    padding: 0.25rem 0.5rem;
}

.risk-actions-bar .btn-outline-secondary:hover {
    background-color: #e9ecef;
    color: #212529;
}
/* Calculation Methodology styling */
.calculation-methodology {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.methodology-details {
    border: 1px solid #e9ecef;
}

.methodology-details ul li {
    padding: 3px 0;
}

.methodology-details .text-success {
    color: #28a745;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}
/* Additional styling for credit limit calculator */
.credit-limit-placeholder {
    padding: 30px 20px;
}

.credit-limit-animation {
    margin-bottom: 15px;
    color: #007bff;
}

.credit-limit-loading {
    padding: 30px 20px;
    text-align: center;
}

.credit-limit-loading .spinner-border {
    width: 4rem;
    height: 4rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 80%;
}

/* Keep existing credit limit styles */
.credit-limit-display {
    padding: 30px 20px;
}

.credit-limit-value {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.currency-symbol {
    font-size: 28px;
    margin-right: 5px;
    font-weight: 600;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.credit-limit-label {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 15px;
}

.credit-limit-assessment {
    font-size: 18px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.low-limit {
    background-color: #ff6b6b;
    color: white;
}

.moderate-limit {
    background-color: #ffa94d;
    color: white;
}

.medium-limit {
    background-color: #74c0fc;
    color: white;
}

.high-limit {
    background-color: #51cf66;
    color: white;
}

.very-high-limit {
    background-color: #20c997;
    color: white;
}

.credit-limit-unavailable, .credit-limit-dormant, .credit-limit-base {
    padding: 30px;
}
.metric-card {
        padding: 20px;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background-color: #f8f9fa;
        height: 100%;
    }
    
    .metric-name {
        font-size: 16px;
        font-weight: 600;
        color: #6c757d;
        margin-bottom: 10px;
    }
    
    .metric-value {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .industry-comparison {
        color: #6c757d;
    }
    
    .previous-year-indicator {
        font-size: 14px;
        font-weight: normal;
        color: #6c757d;
        font-style: italic;
    }

.ai-icon .me-3 {
	color: #0D6EFD;
}

a.btn.disabled, a.btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

/* Terms Acceptance Checkbox Styling */
/* Terms Acceptance Checkbox Styling with darker background */
.terms-acceptance {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #e9ecef; /* Darker background as requested */
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.terms-acceptance:hover {
    background-color: #dde2e6; /* Slightly darker on hover */
    border-color: #c1c9d0;
}

.terms-acceptance .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
}

.terms-acceptance .form-check-label {
    font-weight: 500;
    padding-left: 5px;
    color: #495057;
}

/* Add a small highlight when checked */
.terms-acceptance .form-check-input:checked {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Checked state highlight */
.terms-acceptance.checked {
    background-color: #d7e5fb; /* Slightly blue tint when checked */
    border-color: #b8daff;
}

/* Fix star rating input size and spacing */
.star-rating-input i {
    font-size: 24px;
    margin-right: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input i.fas,
.star-rating-input i.hovered {
    color: #ffc107;
}

.payment-note-card {
    margin-bottom: 20px;
}

.payment-note-card .card {
    transition: all 0.3s ease;
    border-left: 4px solid #e9ecef;
}

/* Color-code note cards based on rating */
.payment-note-card.rating-5 .card {
    border-left-color: #28a745;
}

.payment-note-card.rating-4 .card {
    border-left-color: #17a2b8;
}

.payment-note-card.rating-3 .card {
    border-left-color: #ffc107;
}

.payment-note-card.rating-2 .card {
    border-left-color: #fd7e14;
}

.payment-note-card.rating-1 .card {
    border-left-color: #dc3545;
}
.sortable {
    cursor: pointer;
    user-select: none;
}

.sortable:hover {
    background-color: #f8f9fa;
}

.sortable i {
    margin-left: 5px;
    color: #6c757d;
}

.sortable:hover i {
    color: #007bff;
}

.holding-companies-container {
    margin-top: 12px;
}

.holding-company-compact {
    background-color: #f8f9fb;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    padding: 12px 16px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.holding-company-compact:hover {
    background-color: #f1f3f6;
    border-left-color: #0056b3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.holding-company-info {
    min-width: 0; /* Allow text truncation */
}

.holding-company-name {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 4px;
}

.holding-company-name a {
    color: #2c3e50;
    font-weight: 600;
}

.holding-company-name a:hover {
    color: #007bff;
}

.ownership-badge {
    display: inline-block;
    background-color: #e7f3ff;
    color: #0056b3;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    vertical-align: middle;
}

.ownership-percentage {
    font-weight: 700;
    margin-left: 4px;
}

.holding-metrics-inline {
    font-size: 0.85rem;
    color: #495057;
}

.metric-inline {
    display: inline-block;
    white-space: nowrap;
}

.metric-inline small {
    font-size: 0.8em;
    color: #6c757d;
    margin-right: 4px;
}

.metric-inline strong {
    color: #2c3e50;
    font-weight: 600;
}

.credit-badge {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 100px;
}

.credit-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #155724;
    line-height: 1.2;
}

.credit-label {
    font-size: 0.7rem;
    color: #155724;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Remove old styles that are no longer needed */
.holding-company-card,
.holding-company-metrics,
.holding-metric,
.holding-metric-value,
.holding-metric-label {
    /* These can be removed as they're no longer used */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .holding-company-compact {
        padding: 10px 12px;
    }
    
    .holding-company-compact .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .holding-credit-limit {
        margin-left: 0 !important;
        margin-top: 8px;
    }
    
    .credit-badge {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .credit-label {
        margin-top: 0;
        margin-left: 8px;
    }
    
    .metric-inline {
        display: block;
        margin-left: 0 !important;
        margin-top: 2px;
    }
}

/* For very small screens, hide less critical metrics */
@media (max-width: 480px) {
    .metric-inline:nth-child(n+3) {
        display: none;
    }
}

.metric-display {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: all 0.2s ease;
}

.metric-display:hover {
    background-color: #fff;
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.metric-display small {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.metric-value {
    font-size: 1.25rem;
    color: #2c3e50;
    display: block;
    margin-top: 4px;
}

.metric-value sup {
    font-size: 0.75rem;
    position: relative;
    top: -0.5em;
    margin-left: 2px;
}

/* Ensure alert styling matches the site */
.alert-info {
    background-color: #e7f3ff;
    border-color: #b8daff;
    color: #004085;
}

.alert-info h6 {
    color: #004085;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .metric-display {
        margin-bottom: 8px;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
}
	
/* Simple Mobile Fixes */
@media (max-width: 768px) {
    /* Hide the sidebar completely on mobile */
    .sidebar {
        display: none;
    }
    
    /* Remove left margin from main content */
    .main-content {
        margin-left: 0;
        padding: 0px 10px 0px 10px;
    }
    
    /* Fix header position */
    .header {
        left: 0;
        padding: 10px;
    }
    
    /* Hide logo bar */
    .logo {
        display: none;
    }
    
    /* Fix footer */
    .footer {
        margin-left: 0;
    }
    
    /* Make header more compact */
    .header h4 {
        font-size: 14px;
    }
    
    /* Hide less important header links */
    .contact-link-container,
    .getting-started-link-container,
    .api-link-container {
        display: none;
    }
    
    /* Fix search form */
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .input-group .btn {
        width: 100%;
    }
    
    /* Simple mobile navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #222;
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        z-index: 100;
    }
    
    .mobile-nav a {
        color: white;
        text-decoration: none;
        font-size: 12px;
        text-align: center;
        flex: 1;
    }
    
    .mobile-nav i {
        display: block;
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    /* Adjust main content for bottom nav */
    .main-content {
        padding-bottom: 80px;
    }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}
	

/* Enhanced Mobile Fixes - Remove all left margins */
@media (max-width: 768px) {
    /* Hide the sidebar completely on mobile */
    .sidebar {
        display: none !important;
        width: 0 !important;
    }
    
    /* Remove ALL left margins from main content */
    .main-content {
        margin-left: 0 !important;
        padding: 60px 10px 80px 10px !important;
        width: 100% !important;
    }
    
    /* Fix header position - remove left offset */
    .header {
        left: 0 !important;
        right: 0 !important;
        padding: 10px !important;
        width: 100% !important;
    }
    
    /* Hide logo bar */
    .logo {
        display: none !important;
    }
    
    /* Fix footer - remove left margin */
    .footer {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Make header more compact */
    .header h4 {
        font-size: 16px !important;
        margin: 0 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    /* Hide less important header links */
    .contact-link-container,
    .getting-started-link-container,
    .api-link-container {
        display: none !important;
    }
    
    /* Fix container to use full width */
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    /* Fix search form */
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 0.375rem !important;
    }
    
    .input-group .btn {
        width: 100%;
        border-radius: 0.375rem !important;
    }
    
    /* Fix cards to use full width */
    .card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Simple mobile navigation */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #222;
        display: flex !important;
        justify-content: space-around;
        padding: 8px 0;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .mobile-nav a {
        color: #aaa;
        text-decoration: none;
        font-size: 10px;
        text-align: center;
        flex: 1;
        padding: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .mobile-nav a.active {
        color: #00b9e1;
    }
    
    .mobile-nav i {
        font-size: 18px;
        margin-bottom: 2px;
    }
    
    /* Ensure body uses full width */
    body {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Remove any transitions that might cause layout issues */
    .sidebar,
    .main-content,
    .header,
    .footer {
        transition: none !important;
    }
}

/* Hide mobile nav on desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
    
    /* Ensure desktop layout works properly */
    .main-content {
        margin-left: 220px;
    }
    
    .header {
        left: 220px;
    }
    
    .footer {
        margin-left: 220px;
    }
}

/* Additional responsive utilities */
@media (max-width: 767.98px) {
    .d-none.d-md-block {
        display: none !important;
    }
    
    .d-md-none {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .d-none.d-md-block {
        display: block !important;
    }
    
    .d-md-none {
        display: none !important;
    }
}	