/* ============================================================
   The Hot Air Hub — Main Stylesheet
   ============================================================ */

:root {
    --primary: #1a6ec7;
    --primary-dark: #1258a8;
    --sky-blue: #e8f4fd;
    --sunrise-orange: #f59a23;
    --sunrise-gradient: linear-gradient(135deg, #f093fb 0%, #f5a623 50%, #ff6b35 100%);
    --hero-gradient: linear-gradient(160deg, #0a2342 0%, #1a6ec7 50%, #f59a23 100%);
    --dark: #0f1923;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ---- Base ---- */
body {
    font-family: var(--font-body);
    color: #1a1a2e;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
}

/* ---- Navbar ---- */
#main-nav {
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#main-nav.scrolled {
    background: rgba(10, 35, 66, 0.97) !important;
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-icon {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.toggler-close { display: none; }
.navbar-toggler:not(.collapsed) .toggler-open { display: none; }
.navbar-toggler:not(.collapsed) .toggler-close { display: inline; }

@media (max-width: 991px) {
    #main-nav:not(.scrolled) {
        background: rgba(10, 35, 66, 0.97) !important;
    }
}

/* ---- Hero ---- */
.hero {
    min-height: 60vh;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}


.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    min-height: 40vh;
    background: var(--hero-gradient);
    padding: 8rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

.breadcrumb-light .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb-light .breadcrumb-item.active {
    color: rgba(255,255,255,0.9);
}

.breadcrumb-light .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ---- Section helpers ---- */
.section-gap {
    padding: 5rem 0;
}

.section-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* ---- Feature grid ---- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}

/* ---- Event cards ---- */
.event-img, .news-img {
    height: 200px;
    object-fit: cover;
}

.event-img-placeholder, .news-img-placeholder {
    height: 200px;
}

.event-date-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.event-date-badge.past {
    color: #888;
}

.event-card, .news-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 12px !important;
    overflow: hidden;
}

.event-card:hover, .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12) !important;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

/* ---- Footer ---- */
.footer-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    display: block;
    margin-bottom: 0.35rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: white;
}

.social-icon {
    color: rgba(255,255,255,0.5);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.social-icon:hover {
    color: white;
    transform: translateY(-2px);
}

/* ---- About page ---- */
.balloon-display {
    font-size: 8rem;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.balloon-stat-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.balloon-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.balloon-stat .stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.value-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    height: 100%;
}

.value-icon {
    font-size: 2.5rem;
}

/* ---- Roadmap ---- */
.roadmap-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border-left: 3px solid #dee2e6;
    height: 100%;
}

.roadmap-card.active {
    border-left-color: var(--primary);
}

.roadmap-phase {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.roadmap-card:not(.active) .roadmap-phase {
    color: #888;
}

/* ---- Community page ---- */
.community-type-card {
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.community-type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ct-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.community-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cf-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cf-check {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 2px;
}

.country-flags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.flag-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.flag-badge.active {
    background: var(--primary);
    color: white;
}

.flag-badge.upcoming {
    background: #f1f3f5;
    color: #888;
}

/* ---- Contact page ---- */
.contact-form-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ci-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ci-icon {
    width: 42px;
    height: 42px;
    background: var(--sky-blue);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---- Bootstrap primary override ---- */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-subtle { background-color: var(--sky-blue) !important; }

/* ---- Account type cards (choose type page) ---- */
.account-type-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.07);
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    color: inherit;
    height: 100%;
}

.account-type-card p {
    flex-grow: 1;
}

.at-btn {
    margin-top: 1rem;
    flex-shrink: 0;
}

.account-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--primary);
    color: inherit;
}

.at-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Make FA hot air balloon colour consistent */
.fa-hot-air-balloon { color: inherit; }

/* ---- Nav avatar ---- */
.nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-avatar-initials {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ---- Dashboard ---- */
.dashboard-card {
    background: white;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.dashboard-card--nudge {
    border: 1px dashed #c8d8f0;
    background: #f6faff;
    box-shadow: none;
}

.dashboard-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sky-blue);
}

.dashboard-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.account-type-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: var(--sky-blue);
    color: var(--primary);
    margin-top: 0.4rem;
}

.account-type-badge.account-type-company { background: #fff3cd; color: #856404; }
.account-type-badge.account-type-crew    { background: #d1e7dd; color: #0a5f38; }
.account-type-badge.account-type-enthusiast { background: #f8d7da; color: #842029; }

.dashboard-stat {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.ds-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.2rem;
}

.ds-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a2e;
    word-break: break-word;
}

.dashboard-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.dashboard-quick-link i {
    font-size: 1.4rem;
    color: var(--primary);
}

.dashboard-quick-link:hover {
    background: var(--sky-blue);
    color: var(--primary);
}

/* ---- Short page hero variant ---- */
.page-hero--short {
    min-height: 28vh;
    padding: 7rem 0 2.5rem;
}

/* ---- Feed / Posts ---- */
.post-card {
    background: white;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.post-avatar--initials {
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.post-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
    text-decoration: none;
}

.post-author:hover { color: var(--primary); }

.post-time {
    font-size: 0.75rem;
    color: #aaa;
}

.post-balloon-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.post-type-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    background: var(--sky-blue);
    color: var(--primary);
    display: inline-block;
    width: fit-content;
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: pre-wrap;
}

.post-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 0.75rem;
    max-height: 400px;
    object-fit: cover;
}

/* ---- Post gallery ---- */
.post-gallery {
    display: grid;
    gap: 3px;
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
}
.post-gallery--1 { grid-template-columns: 1fr; }
.post-gallery--2 { grid-template-columns: 1fr 1fr; }
.post-gallery--3 { grid-template-columns: 1fr 1fr; }
.post-gallery--3 .post-gallery-item:first-child { grid-column: span 2; }
.post-gallery--4 { grid-template-columns: 1fr 1fr; }
.post-gallery--5,
.post-gallery--6,
.post-gallery--7,
.post-gallery--8,
.post-gallery--9,
.post-gallery--10 { grid-template-columns: repeat(3, 1fr); }

.post-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}
.post-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}
.post-gallery-item:hover img { transform: scale(1.03); }

/* Single image: taller, landscape ratio */
.post-gallery--1 .post-gallery-item { aspect-ratio: 16/9; }

/* ---- Welcome modal carousel ---- */
.welcome-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2.5rem 1.5rem;
    min-height: 320px;
}
.welcome-slide--hero {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #1a3a6b 100%);
    color: white;
}
.welcome-slide-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.welcome-slide-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.welcome-slide-body {
    max-width: 480px;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.welcome-slide--hero .welcome-slide-body {
    color: rgba(255,255,255,0.9);
}

/* ---- Flight log ---- */
.flight-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bs-border-color);
    color: inherit;
    transition: background 0.15s;
}
.flight-row:last-child { border-bottom: none; }
.flight-row:hover { background: var(--bs-light); border-radius: 8px; padding-left: 0.5rem; }
.flight-row-date { min-width: 110px; }
.flight-row-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}
.flight-stat {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}
.flight-option-card {
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.1s;
    background: #fff;
}
.flight-option-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
    transform: translateY(-1px);
}
.flight-option-icon {
    width: 52px;
    height: 52px;
}

.flight-map-placeholder {
    min-height: 280px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 8px;
}

/* ---- Photo tray (post composer) ---- */
.photo-tray {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 0;
}

.photo-slot {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.photo-slot-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-slot-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
    transition: background 0.15s;
}
.photo-slot-remove:hover { background: rgba(0,0,0,0.85); }

.photo-add-btn {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #adb5bd;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: border-color 0.2s, color 0.2s;
}
.photo-add-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.post-input {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    resize: none;
    transition: border-color 0.2s;
    font-family: var(--font-body);
}

.post-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,110,199,0.1);
}

/* Hide the file input visually but keep it functional */
.post-input + input[type="file"],
label input[type="file"] {
    display: none;
}

/* ---- Marketplace ---- */
.market-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.market-card--sold {
    opacity: 0.75;
}
.market-card--sold:hover {
    transform: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.market-card--sold .market-img,
.market-card--sold .market-img-placeholder {
    filter: grayscale(60%);
}

.market-sold-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.65);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 20px;
}

.market-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.market-img-placeholder {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-body {
    padding: 1rem;
}

.market-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ---- Balloons ---- */
.balloon-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.balloon-photo-placeholder {
    height: 180px;
    background: var(--sky-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* ---- Sidebar links ---- */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}

.sidebar-link:hover {
    background: var(--sky-blue);
    color: var(--primary);
}

/* ---- Balloon detail hero ---- */
.balloon-detail-hero {
    min-height: 38vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
    overflow: hidden;
}

.balloon-detail-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

.balloon-detail-hero-bg--default {
    background: var(--hero-gradient);
    filter: none;
}

.balloon-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}

/* ---- Balloon fleet cards (my balloons) ---- */
.balloon-fleet-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
}

.balloon-fleet-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.balloon-fleet-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.balloon-fleet-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--sky-blue);
}

.balloon-fleet-body {
    padding: 1.1rem 1.25rem 0.5rem;
}

.balloon-fleet-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1.1rem;
}

/* ---- Balloon dashboard card ---- */
.balloon-dash-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    position: relative;
    background: white;
    transition: box-shadow 0.2s;
}

.balloon-dash-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.balloon-dash-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.balloon-dash-img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--sky-blue);
}

.balloon-dash-body {
    padding: 0.6rem 0.75rem;
}

.balloon-dash-edit {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.2s;
}

.balloon-dash-card:hover .balloon-dash-edit { opacity: 1; }

/* ---- Listing row ---- */
.listing-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.15s;
}

.listing-row:hover { background: #f8f9fa; }

.listing-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.listing-thumb--empty {
    background: var(--sky-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.min-width-0 { min-width: 0; }

/* ---- Utility ---- */
.py-6 { padding-top: 4rem; padding-bottom: 4rem; }
.z-1 { z-index: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .balloon-stat-row {
        gap: 1.5rem;
    }
}

/* ---- Image lightbox ---- */
.img-zoomable {
    cursor: zoom-in;
    transition: opacity 0.15s ease;
}
.img-zoomable:hover {
    opacity: 0.9;
}
#imgModal .modal-body img {
    max-height: 85vh;
    object-fit: contain;
}

/* ---- Crew messages ---- */
.crew-msg-unread {
    background: #f0f6ff;
    border-radius: 8px;
    padding: 0.5rem;
    margin: -0.5rem;
}

/* ---- Beta feedback widget ---- */
.feedback-trigger {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1040;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.feedback-trigger:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.feedback-popup {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 1040;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}
.feedback-popup-header {
    background: var(--primary);
    color: #fff;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feedback-popup-body {
    padding: 1rem;
}
.feedback-type-btn {
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: var(--bs-body-color);
    font-size: 0.8rem;
}
.feedback-type-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
@media (max-width: 576px) {
    .feedback-popup {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        bottom: 4.5rem;
    }
    .feedback-trigger {
        right: 0.75rem;
        bottom: 1rem;
    }
}
