/*
========================================
LIGHT DASHBOARD THEME
BusinessDiscovered
========================================
*/

body.bd-dashboard-mode {
    margin: 0;
    padding: 0;
    background: #f5f7fb;
    color: #111827;
    font-family: Inter, sans-serif;
}

/*
========================================
LAYOUT
========================================
*/

.bd-dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f7fb;
}

.bd-main-wrapper {
    flex: 1;
    margin-left: 270px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*
========================================
SIDEBAR
========================================
*/

.bd-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 270px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    z-index: 999;
}

.bd-sidebar-inner {
    padding: 0;
}

/*
========================================
LOGO
========================================
*/

.bd-logo-section {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    padding: 28px 24px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.bd-logo {
    text-decoration: none;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/*
========================================
NAVIGATION
========================================
*/

.bd-nav {
    display: flex;
    flex-direction: column;
    padding: 18px 14px 40px;
}

.bd-nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin: 18px 10px 10px;
}

.bd-nav-divider {
    height: 1px;
    background: #eef2f7;
    margin: 18px 0;
}

.bd-nav-item {
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.18s ease;
}

.bd-nav-item:hover {
    background: #f3f4f6;
    color: #111827;
}

.bd-nav-item.active {
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

/*
========================================
TOPBAR
========================================
*/

.bd-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 74px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.bd-topbar-inner {
    height: 100%;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bd-search-box {
    position: relative;
    width: 360px;
}

.bd-search-icon {
    position: absolute;
    left: 16px;
    top: 13px;
    color: #9ca3af;
    font-size: 14px;
}

.bd-search-input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    padding: 0 16px 0 42px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
}

.bd-search-input:focus {
    border-color: #2563eb;
    background: #ffffff;
}

.bd-search-input::placeholder {
    color: #9ca3af;
}

.bd-version-badge {
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

/*
========================================
CONTENT AREA
========================================
*/

.bd-content-area {
    padding: 36px;
}

/*
========================================
TOOL SHELL
========================================
*/

.bd-tool-shell {
    width: 100%;
}

.bd-tool-header {
    margin-bottom: 34px;
}

.bd-tool-title {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.4px;
    font-weight: 800;
    color: #111827;
}

.bd-tool-subtitle {
    max-width: 760px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.8;
}

.bd-tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.bd-tool-main {
    min-width: 0;
}

.bd-tool-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/*
========================================
CARDS
========================================
*/

.tool-form-card,
.bd-insight-card,
.report {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 30px;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 24px rgba(15,23,42,0.04);
}

.bd-insight-card h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    color: #111827;
}

.bd-insight-card p,
.bd-insight-card li {
    color: #6b7280;
    line-height: 1.7;
    font-size: 14px;
}

.bd-checklist {
    margin: 0;
    padding-left: 18px;
}

/*
========================================
FORM
========================================
*/

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.form-field input {
    width: 100%;
    height: 58px;
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    background: #ffffff;
    padding: 0 18px;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
}

.form-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #9ca3af;
}

/*
========================================
BUTTONS
========================================
*/

.btn-primary {
    height: 56px;
    border: none;
    border-radius: 16px;
    background: #2563eb;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 0 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/*
========================================
DISCLAIMER
========================================
*/

.tool-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2563eb;
}

/*
========================================
STATS STRIP
========================================
*/

.bd-stats-strip {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 28px;
}

.bd-stat-tile {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
}

.stat-number span {
    font-size: 14px;
    color: #6b7280;
}

.stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

/*
========================================
LOADING
========================================
*/

.tool-loading {
    text-align: center;
    padding: 30px;
}

.spinner {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 4px solid #dbeafe;
    border-top-color: #2563eb;
    animation: bdspin 0.7s linear infinite;
    margin: 0 auto 16px;
}

@keyframes bdspin {
    to {
        transform: rotate(360deg);
    }
}

/*
========================================
ERROR
========================================
*/

.bd-error-msg {
    padding: 16px;
    border-radius: 14px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/*
========================================
RESPONSIVE
========================================
*/

@media (max-width: 1100px) {

    .bd-tool-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {

    .bd-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .bd-main-wrapper {
        margin-left: 0;
    }

    .bd-dashboard-wrapper {
        flex-direction: column;
    }

}

@media (max-width: 768px) {

    .bd-content-area {
        padding: 22px;
    }

    .bd-tool-title {
        font-size: 30px;
    }

    .bd-topbar-inner {
        padding: 0 18px;
    }

    .bd-search-box {
        width: 100%;
    }

    .bd-stats-strip {
        grid-template-columns: 1fr;
    }

}




.bd-table-wrap{
overflow-x:auto;
margin-top:20px;
}

.bd-data-table{
width:100%;
border-collapse:collapse;
background:#fff;
border:1px solid #e5e7eb;
border-radius:12px;
overflow:hidden;
}

.bd-data-table th{
background:#f8fafc;
padding:14px;
text-align:left;
font-size:14px;
font-weight:600;
border-bottom:1px solid #e5e7eb;
}

.bd-data-table td{
padding:14px;
border-bottom:1px solid #eef2f7;
font-size:14px;
}

.bd-data-table tr:last-child td{
border-bottom:none;
}

.bd-data-table a{
color:#2563eb;
text-decoration:none;
}

.bd-data-table a:hover{
text-decoration:underline;
}

.bd-section-title{
margin-top:30px;
margin-bottom:12px;
font-size:18px;
font-weight:700;
}

.bd-table-badge{
display:inline-block;
padding:4px 10px;
border-radius:999px;
background:#f1f5f9;
font-size:12px;
font-weight:600;
}




.bd-data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  margin-bottom: 32px;
}

.bd-data-table th,
.bd-data-table td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.bd-data-table th {
  background: #f8fafc;
  font-weight: 700;
}

.bd-data-table tr:nth-child(even) {
  background: #fafafa;
}

.bd-data-table a {
  color: #2563eb;
  text-decoration: none;
}

.bd-data-table a:hover {
  text-decoration: underline;
}

.table-wrap {
  overflow-x: auto;
}
