/* =============================================
   FindMyNemo - Core App Custom Styles
   (Flat UI / Bootstrap 2 compatible overrides)
   ============================================= */

/* Body background */
body {
    background-color: #ecf0f1;
}

/* Full-width responsive shell (override legacy 960px fixed layout) */
#main-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

#main-wrap,
#header-banner,
footer .bottom-menu {
    width: 100%;
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
}

.container,
.navbar .container,
.navbar .container-fluid {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
}

/* Bootstrap fluid grid spacing */
.row-fluid {
    margin-bottom: 8px;
}

/* Tiles on homepage */
.demo-tiles {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
}

.demo-tiles .tile-grid-item {
    display: flex;
    margin-bottom: 20px;
    float: none;
    margin-left: 0;
    width: 25%;
    box-sizing: border-box;
    padding: 0 8px;
}

.demo-tiles .tile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

/* Cinematic hero slider (full-bleed) */
#header-banner {
    height: auto !important;
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 72vh;
    min-height: 440px;
    max-height: 780px;
    overflow: hidden;
    background: #0b141a;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 22, 0.85) 0%, rgba(8, 15, 22, 0.5) 55%, rgba(8, 15, 22, 0.15) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 6vw;
    color: #fff;
}

.hero-kicker {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #7ee8d6;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 16px;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    margin: 0 0 26px;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    border-radius: 999px;
    background: #2aa198;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background: #23837c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-cta-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(10, 16, 22, 0.35);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(10, 16, 22, 0.7);
}

.hero-arrow-prev {
    left: 22px;
}

.hero-arrow-next {
    right: 22px;
}

.hero-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 9px;
}

.hero-dots .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.hero-dots .hero-dot.is-active {
    background: #2aa198;
    width: 26px;
    border-radius: 999px;
}

@media (max-width: 767px) {
    .hero-slider {
        height: 60vh;
        min-height: 380px;
    }

    .hero-slide::before {
        background: linear-gradient(180deg, rgba(8, 15, 22, 0.35) 0%, rgba(8, 15, 22, 0.75) 100%);
    }

    .hero-slide-content {
        padding: 28px 20px;
        justify-content: flex-end;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}

.demo-tiles .tile .tile-image {
    max-height: 80px;
    margin: 0 auto 10px;
    display: block;
}

.demo-tiles .tile .tile-image.big-illustration {
    max-height: 100px;
}

.demo-tiles .tile .tile-title {
    font-size: 18px;
    margin: 10px 0 5px;
}

.demo-tiles .tile-hot {
    background: linear-gradient(to bottom, #2fe2bf 0%, #3498db 100%);
    color: #fff;
    border-color: #2fe2bf;
}

.demo-tiles .tile-hot .tile-title,
.demo-tiles .tile-hot p {
    color: #fff;
}

.demo-tiles .tile .btn {
    margin-top: 12px;
}

/* Fish compatibility page */
.compatibility-shell {
    background: #fff;
    border: 1px solid #dfe6eb;
    border-radius: 8px;
    padding: 18px;
    margin: 20px 0;
}

.compatibility-header {
    margin-bottom: 16px;
}

.compatibility-header h2 {
    margin: 0;
}

.compatibility-header p {
    margin: 8px 0 0;
    color: #7a8b97;
}

.compatibility-grid {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
}

.compatibility-item {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
    margin-bottom: 10px;
    float: none;
    margin-left: 0;
    box-sizing: border-box;
    padding: 0 6px;
}

@media (max-width: 767px) {
    .compatibility-item {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
    }
}

.compatibility-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #d6e0e6;
    border-radius: 6px;
    background: #f8fbfd;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.compatibility-option:hover {
    border-color: #7fc6ff;
    background: #f2f9ff;
}

.compatibility-option.is-selected {
    border-color: #16a085;
    background: #e6f7f3;
    box-shadow: 0 0 0 1px #16a085 inset;
}

.compatibility-option.is-selected span {
    color: #0d6e5c;
    font-weight: 700;
}

.compatibility-option.is-selected::after {
    content: "\2713";
    margin-left: auto;
    color: #16a085;
    font-weight: 800;
}

.compatibility-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.compatibility-selection-summary {
    margin: 14px 0;
}

.compatibility-selection-summary label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.compatibility-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid #dce5ea;
    border-radius: 8px;
    background: #f8fbfd;
    min-height: 44px;
}

.compatibility-selected-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #16a085;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.compatibility-selected-empty {
    color: #7a8b97;
    font-size: 13px;
    font-style: italic;
}

.compatibility-actions {
    margin-top: 12px;
}

.compatibility-table-wrap {
    overflow-x: auto;
}

.tblResultsCompatibility th,
.tblResultsCompatibility td {
    text-align: center;
    vertical-align: middle;
}

.tblResultsCompatibility th:first-child {
    text-align: left;
    min-width: 180px;
}

@media (max-width: 991px) {
    .demo-tiles .tile-grid-item,
    .compatibility-item {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .demo-tiles .tile-grid-item,
    .compatibility-item {
        width: 100%;
    }
}

/* Footer styles */
footer {
    background: #2c3e50;
    color: #bdc3c7;
}

footer .bottom-menu {
    padding: 15px 0;
}

/* Bolt-inspired top menu */
.top-nav {
    background: #ffffff;
    border-bottom: 1px solid #e7ecef;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.top-nav-shell {
    width: 100%;
    min-height: 72px;
    box-sizing: border-box;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-brand {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 1;
    padding: 12px 0;
}

.top-brand:hover,
.top-brand:focus {
    text-decoration: none;
    color: #111;
}

.top-brand .brand-logo {
    display: block;
    height: 135px;
    width: auto;
    max-height: 135px;
}

.top-nav-toggle {
    display: none;
    background: #f6f9fa;
    border: 1px solid #dde6ea;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.top-nav-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #202d36;
    border-radius: 2px;
}

.top-nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.top-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.top-nav-links > li {
    float: none;
}

.top-nav-links > li > a {
    color: #28343d;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 12px;
}

.top-nav-links > li > a:hover,
.top-nav-links > li.active > a {
    background: #f3f7f8;
    color: #111;
}

.top-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-search {
    margin: 0;
}

.top-search .input-append {
    display: flex;
    align-items: center;
}

.top-search .search-query {
    width: 180px;
    border: 1px solid #d9e3e8;
    background: #f9fbfc;
    color: #1b252d;
    border-radius: 20px 0 0 20px;
    padding: 8px 12px;
    box-shadow: none;
}

.top-search .btn {
    border: 1px solid #d9e3e8;
    border-left: 0;
    border-radius: 0 20px 20px 0;
    background: #f9fbfc;
    color: #1b252d;
    padding: 8px 12px;
}

.top-user-link,
.top-link {
    color: #202d36;
    font-weight: 600;
    text-decoration: none;
}

.top-user-link:hover,
.top-link:hover {
    color: #111;
    text-decoration: none;
}

.top-cta-btn {
    background: #101820;
    border: 1px solid #101820;
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    text-shadow: none;
}

.top-cta-btn:hover,
.top-cta-btn:focus {
    background: #1e2c36;
    color: #fff;
}

.top-logout-btn {
    width: 100%;
    text-align: left;
    padding: 3px 20px;
    color: #333;
}

/* Language switcher dropdown */
.lang-dropdown {
    margin: 0;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #202d36;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
}

.lang-toggle:hover,
.lang-toggle:focus {
    color: #111;
    text-decoration: none;
    background: #f3f7f8;
}

.lang-toggle .fa-globe {
    font-size: 15px;
}

.lang-toggle .caret {
    margin-left: 2px;
}

.lang-form {
    margin: 0;
}

.lang-option {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 6px 16px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.lang-option:hover {
    background: #f3f7f8;
    color: #111;
}

.lang-option.is-active {
    font-weight: 700;
    color: #2aa198;
}

/* Big search box under homepage banner */
.banner-search-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 18px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #f5f8fa 0%, #eef4f7 100%);
    border-bottom: 1px solid #e1e8ec;
}

.banner-search-box {
    max-width: 1180px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dce5ea;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.06);
    text-align: center;
}

.banner-search-box h2 {
    margin: 0 0 6px;
    font-size: 34px;
    line-height: 1.1;
    color: #101820;
}

.banner-search-box p {
    margin: 0 0 14px;
    color: #4f616f;
}

.banner-search-form {
    display: flex;
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
}

.banner-search-form input {
    flex: 1;
    min-height: 56px;
    border: 2px solid #b7c6cf;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 20px;
    box-sizing: border-box;
    outline: none;
    background: #fff;
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
    position: relative;
    z-index: 2;
}

.banner-search-form input:focus {
    border-color: #2aa198;
    box-shadow: 0 0 0 3px rgba(42, 161, 152, 0.15);
}

.banner-search-form button {
    min-height: 56px;
    height: 56px;
    padding: 0 22px;
    border: 1px solid #101820;
    border-radius: 14px;
    background: #101820;
    color: #fff;
    font-weight: 700;
    box-sizing: border-box;
}

.banner-search-form button:hover {
    background: #1f2e3a;
}

/* Homepage "about" description (below the cards) */
.home-about {
    max-width: 1180px;
    margin: 40px auto 0;
    padding: 0 22px;
    box-sizing: border-box;
}

.home-about-inner {
    background: #fff;
    border: 1px solid #e1e8ec;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.05);
}

.home-about h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #101820;
}

.home-about p {
    margin: 0 auto;
    max-width: 820px;
    color: #4f616f;
    font-size: 17px;
    line-height: 1.7;
}

/* Featured fish grid (4 columns) */
.featured-fish {
    max-width: 1180px;
    margin: 30px auto 0;
    padding: 0 22px;
    box-sizing: border-box;
}

.featured-fish-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.featured-fish-head h3 {
    margin: 0;
}

.featured-fish-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fish-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(16, 24, 32, 0.04);
}

.fish-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 10px;
    background: #eef2f5;
}

.fish-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
}

.fish-card-name {
    display: block;
    text-transform: capitalize;
    font-size: 15px;
    color: #101820;
}

.fish-card-latin {
    display: block;
    font-size: 12px;
    font-style: italic;
    color: #94a3ad;
    margin: 2px 0 8px;
}

.fish-card .label {
    margin-bottom: 10px;
}

.fish-card-cta {
    margin-top: auto;
}

@media (max-width: 991px) {
    .featured-fish-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .featured-fish-grid {
        grid-template-columns: 1fr;
    }
}

/* Big footer */
#main-wrap {
    padding-bottom: 0;
}

.site-footer {
    height: auto !important;
    margin-top: 0 !important;
    background: #16a085;
    color: #eef7f4;
}

.site-footer a {
    color: #eef7f4;
}

.site-footer a:hover {
    color: #fff;
}

.footer-main {
    padding: 48px 0 32px;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-col {
    flex: 1 1 200px;
    min-width: 180px;
}

.footer-col-brand {
    flex: 1 1 320px;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 14px;
}

.footer-col p {
    color: #d2ebe5;
    line-height: 1.6;
    max-width: 340px;
    margin: 0;
}

.footer-col h4 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #eef7f4;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 0;
}

.footer-bottom .footer-container {
    display: block;
}

.footer-bottom p {
    margin: 0;
    color: #d2ebe5;
    font-size: 13px;
}

@media (max-width: 767px) {
    .footer-main {
        padding: 36px 0 24px;
    }

    .footer-container {
        gap: 24px;
    }
}

/* Banner search suggestions */
.banner-search-input-wrap {
    position: relative;
    flex: 1;
}

.banner-search-input-wrap input {
    width: 100%;
}

.fish-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #d7e1e8;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(16, 24, 32, 0.16);
    z-index: 9999;
    text-align: left;
    overflow: hidden;
    background: #fff;
    max-height: 280px;
    overflow-y: auto;
}

.fish-suggestions li {
    padding: 10px 14px;
    border-bottom: 1px solid #edf2f5;
    cursor: pointer;
}

.fish-suggestions li:last-child {
    border-bottom: 0;
}

.fish-suggestions li:hover {
    background: #f3f8fa;
    color: #12202b;
}

/* Store fish stock autocomplete */
.stock-autocomplete {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #d7e1e8;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.16);
    z-index: 9999;
    text-align: left;
    overflow: hidden;
    background: #fff;
    max-height: 260px;
    overflow-y: auto;
    min-width: 240px;
}
.stock-autocomplete li {
    padding: 8px 12px;
    border-bottom: 1px solid #edf2f5;
    cursor: pointer;
}
.stock-autocomplete li:last-child {
    border-bottom: 0;
}
.stock-autocomplete li:hover {
    background: #f3f8fa;
    color: #12202b;
}

/* Footer */
footer {
    background-color: #343a40;
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.85);
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Empty state */
.empty-state {
    padding: 3rem;
    text-align: center;
}

.empty-state i {
    opacity: 0.2;
}

/* Table striped hover */
.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section {
        padding: 2.5rem 0;
    }

    #main-wrap,
    #header-banner,
    footer .bottom-menu,
    .container,
    .navbar .container,
    .navbar .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .banner-search-wrap {
        padding: 10px;
    }

    .banner-search-box {
        padding: 14px;
        border-radius: 12px;
    }

    .banner-search-box h2 {
        font-size: 26px;
    }

    .banner-search-form {
        flex-direction: column;
    }

    .banner-search-form input,
    .banner-search-form button {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .top-nav-shell {
        min-height: 64px;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .top-nav-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .top-nav-menu {
        display: none;
        width: 100%;
        flex-basis: 100%;
        margin-top: 10px;
    }

    .top-nav-menu.is-open {
        display: block;
    }

    .top-nav-links {
        margin: 0;
        display: block;
    }

    .top-nav-links > li {
        display: block;
    }

    .top-nav-links > li > a {
        display: block;
        border-radius: 8px;
        padding: 10px 12px;
    }

    .top-nav-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eef2f4;
    }

    .top-search {
        margin-bottom: 8px;
    }

    .top-search .search-query {
        width: calc(100% - 46px);
    }

    .top-link,
    .top-user-link {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 8px;
    }

    .home-about {
        margin-top: 24px;
    }
}

/* Fish details page — responsive flex layout */
.fish-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.fish-detail-main {
    flex: 1 1 560px;
    min-width: 0;
    order: 0;
}

.fish-detail-sidebar {
    flex: 1 1 320px;
    min-width: 0;
    order: -1;
}

.fish-detail-toolbar {
    margin-bottom: 16px;
}

/* Fish detail — full-width image */
.fish-detail-image {
    margin-bottom: 20px;
}

.fish-detail-image-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: block;
    background: #eef2f5;
}

.fish-photo-attribution {
    margin-top: 6px;
    font-size: 12px;
    color: #777;
    text-align: center;
}

.fish-photo-attribution a {
    margin-left: 8px;
    color: #2fe2bf;
    text-decoration: none;
}

.fish-photo-attribution a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .fish-detail-image-img {
        max-height: 300px;
    }
}

/* Fish info as a responsive grid (replaces the table) */
.fish-info {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

.fish-info-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    border-bottom: 1px solid #eef1f3;
}

.fish-info-row:last-child {
    border-bottom: 0;
}

.fish-info-label {
    padding: 10px 14px;
    font-weight: 700;
    color: #16a085;
    background: #f0faf7;
    border-right: 1px solid #e0efe9;
}

.fish-info-value {
    padding: 10px 14px;
    word-wrap: break-word;
}

@media (max-width: 767px) {
    .fish-detail-main,
    .fish-detail-sidebar {
        flex: 1 1 100%;
        width: 100%;
    }

    .fish-info-row {
        grid-template-columns: 1fr;
    }

    .fish-info-label {
        border-right: 0;
        border-bottom: 1px solid #e0efe9;
        background: transparent;
    }

    #fish-map {
        height: 240px;
    }
}

/* Hide inline validation summaries globally — validation errors are shown in a modal instead */
[data-valmsg-summary="true"] {
    display: none !important;
}

/* Larger form controls (override Bootstrap 2's small default inputs) */
.input-block-level,
.input-large,
.input-xlarge,
.input-medium {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
    line-height: normal !important;
    box-sizing: border-box !important;
}

textarea.input-block-level,
textarea.input-large,
textarea.input-xlarge {
    height: auto !important;
    min-height: 88px !important;
    padding: 8px 12px !important;
}

/* Store page: keep native checkboxes visible (Flat UI hides .checkbox input) */
label.store-check { font-weight: normal; cursor: pointer; }
label.store-check input[type=checkbox] { display: inline-block; position: static; margin: 0 6px 0 0; vertical-align: middle; }


/* Profile page avatar */
.profile-avatar {
    float: left;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #16a085;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    line-height: 72px;
    text-align: center;
}



