html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.banner-img {
    width: 100%;
    height: auto; /* keeps aspect ratio */
    display: block; /* removes tiny gaps */
}


.left-menu {
    margin-top: 10px;
}

    .left-menu .list-group-item {
        padding: 12px;
        font-size: 1rem;
    }

    .left-menu a {
        text-decoration: none;
        color: #333;
    }

        .left-menu a:hover {
            color: #007bff;
        }

    .left-menu .btn {
        color: #fff !important;
    }

.btn-truncate {
    display: block;
    width: 100%;
    
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-thumb {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 4px;
    background: #f8f8f8;
    padding: 3px;
}

.logo-large {
    width: 250px; /* fixed width */
    height: 250px; /* fixed height */
    object-fit: contain; /* keeps aspect ratio */
    background: #fff; /* optional: clean background */
    padding: 5px; /* optional: spacing */
    border-radius: 4px; /* optional: rounded corners */
}

.business-description ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.business-description li {
    margin-bottom: 5px;
}

.layout-wrapper {
    display: flex;
    align-items: flex-start;
}

/* FIXED WIDTH SIDEBAR */
.left-sidebar {
    width: 220px; /* adjust to your liking */
    flex-shrink: 0; /* prevents shrinking */
    margin-right: 20px;
}

/* MAIN CONTENT AREA */
.main-content {
    flex-grow: 1;
    min-width: 0; /* allows content to shrink properly */
}

.about-box {
    border: 2px solid #e0e0e0;
    padding: 25px;
    border-radius: 10px;
    background: #fafafa;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.form-box {
    border: 2px solid #e0e0e0;
    padding: 30px;
    border-radius: 10px;
    background: #fafafa;
    max-width: 1100px; /* wider than the About box */
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.claim-section {
    margin-top: 10px;
}

.claim-btn {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
}

.business-status-block {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

.status-badge {
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

    .status-badge.published {
        background: #17a2b8;
        color: white;
    }

    .status-badge.draft {
        background: #ffc107;
        color: #000;
    }

.business-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.business-header-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.verified-badge {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

.status-badge {
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
}

.status-badge.published {
    background: #17a2b8;
    color: white;
}

.status-badge.draft {
    background: #ffc107;
    color: #000;
}


.business-list li {
    margin-bottom: 6px;
}

.related-categories li {
    margin-bottom: 4px;
}

.lead {
    margin-bottom: 20px;
}
.banner-container {
    width: 100%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
}
.layout-wrapper {
    display: flex;
    gap: 20px;
}

/* Desktop */
.left-sidebar {
    width: 250px;
}

/* Mobile */
@media (max-width: 768px) {
    .layout-wrapper {
        flex-direction: column;
    }

    .left-sidebar {
        width: 100%;
        order: 2; /* sidebar goes BELOW main content */
    }

    .main-content {
        order: 1;
    }
}
footer a {
    display: inline-block;
    margin: 4px 8px;
}

@media (max-width: 768px) {
    footer a {
        display: block;
        margin: 6px 0;
    }
}
.navbar-brand {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
}