/* filename: /assets/css/styles.css */
/* ============================================================================
   Bizzearch Global Styles - Mobile-First + Variable Driven
   ============================================================================ */

:root {
    --blue: #0077ff;
    --blue-dark: #005fcc;
    --teal: #00c7b1;
    --teal-dark: #009e8e;
    --dark: #0f1a24;
    --light: #f7fafc;
    --gray: #6b7a89;

    --radius: 10px;
    --pad: 16px;
}

/* ============================================================================
   BASE
   ============================================================================ */

body {
    margin: 0;
    padding: 0;
    background: var(--light);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;

    /* Sticky footer layout */
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* Footer breathing room */
    padding-bottom: 56px;
}

main.bz-main {
    flex: 1;
}

/* Global link rules */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* UI links should not be underlined */
a.btn,
.bz-header a,
.bz-nav a,
.bz-cta a {
    text-decoration: none;
}

/* ============================================================================
   HEADER
   ============================================================================ */

.bz-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;

    width: 100%;
    display: flex;
    justify-content: center;
}

.bz-header-inner {
    width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.bz-logo a {
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--dark);
}

/* Colored ZZ */
.z1 { color: var(--blue) !important; }
.z2 { color: var(--teal) !important; }

/* Header zones */
.bz-header-left { flex: 0 0 auto; }
.bz-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}
.bz-header-right { flex: 0 0 auto; }

/* Market dropdown */
.bz-market-select {
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid var(--teal);
    font-size: 15px;
    background: #fff;
}

/* Verify My Business button */
.bz-verify-btn {
    padding: 10px 18px;
    border-radius: var(--radius);
    background: var(--teal);
    color: #fff;
    font-size: 15px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.bz-verify-btn:hover { opacity: 0.85; }

.bz-tagline {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

/* Header CTA buttons */
.bz-header .btn {
    padding: 8px 16px;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-weight: bold;
}

.bz-header .btn:hover {
    background: var(--blue-dark);
}

/* ============================================================================
   PAGE SECTIONS
   ============================================================================ */

.bz-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ============================================================================
   SEARCH BAR (IMPROVED ICON SIZE + POSITION)
   ============================================================================ */

.bz-search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
    position: relative;
}

.bz-search {
    flex: 1;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* PNG OUTSIDE the input, 1px from right edge */
.bz-search-icon-outside {
    margin-left: 6px;      /* space between box and icon */
    width: 20px;
    height: 20px;
    opacity: 0.85;
}






/* ============================================================================
   TABLES
   ============================================================================ */

.biz-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.biz-table th {
    background: var(--blue);
    color: #fff;
    text-align: left;
    padding: 10px 12px;
    font-size: 15px;
    cursor: pointer;
}

.biz-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    word-break: break-word;
}

.biz-table tr:last-child td {
    border-bottom: none;
}

.biz-table a {
    color: var(--blue);
    font-weight: bold;
}

/* ============================================================================
   PAGINATION
   ============================================================================ */

.bz-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.bz-pagination button {
    padding: 6px 12px;
    border-radius: var(--radius);
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
}

.bz-pagination button.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ============================================================================
   FIXED BOTTOM BAR (FINAL)
   ============================================================================ */

.bz-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1100px;
    width: 100%;
    height: 48px;
    background: #ffffff;
    border-top: 2px solid var(--blue);
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    z-index: 9999;
}

.bz-bottom-left {
    display: flex;
    gap: 20px;
}

.bz-bottom-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
}

.bz-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 119, 255, 0.15);
    color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    margin-bottom: 2px;
}

.bz-bottom-right {
    color: #666;
    font-size: 10px;
    text-align: right;
    line-height: 1.2;
    max-width: 45%;
    white-space: nowrap;
}

/* ============================================================================
   BACK TO TOP BUTTON
   ============================================================================ */

.bz-back-to-top {
    position: fixed;
    bottom: 62px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.9;
}

.bz-back-to-top:hover {
    opacity: 1;
}

/* ============================================================================
   HERO
   ============================================================================ */

.hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}
