:root {
    --pitch-green: #0f7a4b;
    --pitch-green-dark: #0f5132;
    --charcoal: #121a21;
    --charcoal-soft: #1b2630;
    --gold: #d7b55d;
    --line: rgba(255,255,255,0.14);
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top right, #1d3b2b 0%, #101820 45%, #0c1118 100%);
    color: #f2f5f7;
    min-height: 100vh;
}

.nav-premium {
    background: linear-gradient(90deg, #0e3524 0%, #121a21 70%);
    border-bottom: 1px solid var(--line);
}

.card-premium {
    background: linear-gradient(160deg, rgba(30,42,51,0.92), rgba(16,24,32,0.93));
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #f2f5f7;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.hero-box {
    border-radius: 20px;
    padding: 1.1rem;
    background: linear-gradient(120deg, rgba(11,96,59,0.95), rgba(12,26,36,0.95));
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-polish {
    padding: clamp(1rem, 1.7vw, 1.5rem);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.hero-polish h1 {
    letter-spacing: 0.01em;
    line-height: 1.1;
    margin-bottom: 0.75rem !important;
    font-size: clamp(1.95rem, 4vw, 3rem);
}

.hero-polish .lead {
    max-width: 60ch;
    opacity: 0.95;
    margin-bottom: 1rem !important;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.hero-search-row .hero-control {
    min-height: 44px;
    border-radius: 10px;
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.hero-submit {
    min-height: 44px;
    border-radius: 10px;
    font-size: 0.95rem;
    padding: 0.48rem 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    gap: 0.25rem;
    white-space: nowrap;
}

.hero-near-btn {
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    margin-top: 0.75rem !important;
}

.hero-filter-shell {
    display: grid;
    gap: 8px;
}

.hero-filter-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-filter-board {
    display: grid;
    gap: 8px;
}

.hero-filter-main {
    min-width: 0;
}

.hero-filter-grid {
    display: grid;
    gap: 10px;
}

.hero-filter-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-filter-side {
    display: grid;
    align-items: start;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-filter-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    gap: 6px;
}

.hero-filter-card-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: rgba(242, 245, 247, 0.74);
}

.hero-filter-stack-mini {
    display: grid;
    gap: 8px;
}

.hero-filter-stack-double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-filter-more {
    display: grid;
    gap: 10px;
}

.hero-filter-more[open] {
    padding-top: 2px;
}

.hero-filter-more-toggle {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-weight: 700;
}

.hero-filter-more-toggle::-webkit-details-marker {
    display: none;
}

.hero-filter-more-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: rgba(242, 245, 247, 0.88);
}

.hero-filter-actions {
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
    align-items: center;
}

.hero-submit.hero-submit-compact {
    min-width: 132px;
    min-height: 40px;
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
}

.near-radius-wrap {
    position: relative;
}

.near-radius-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 24, 32, 0.7);
    z-index: 2;
}

.near-radius-select {
    padding-left: 34px;
    font-weight: 700;
}

.hero-stats-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.2rem !important;
}

.hero-stat-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1.12rem;
    line-height: 1.25;
}

.hero-stat-line strong {
    font-size: 1.25rem;
    font-weight: 800;
}

.stats-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0,0,0,0.28);
}

.btn-gold {
    background: linear-gradient(180deg, #e2c776, var(--gold));
    border: 0;
    color: #1a1a1a;
    font-weight: 700;
}

.btn-gold:hover {
    color: #111;
    filter: brightness(1.05);
}

.btn-login-premium {
    border: 1px solid rgba(215, 181, 93, 0.75);
    color: #f4e7ba;
    background: linear-gradient(180deg, rgba(215, 181, 93, 0.16), rgba(215, 181, 93, 0.08));
    font-weight: 700;
}

.btn-login-premium:hover {
    color: #fff6d5;
    border-color: #e2c776;
    background: linear-gradient(180deg, rgba(215, 181, 93, 0.3), rgba(215, 181, 93, 0.14));
}

.btn-user-chip {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #eaf4ef;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.btn-user-chip:hover,
.btn-user-chip:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
}

.lang-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    vertical-align: -2px;
}

.language-dropdown-toggle {
    min-width: 76px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 12px;
    color: #102018;
    background: linear-gradient(135deg, #f0d981, #d9b85f);
    border: 0;
    box-shadow: 0 8px 22px rgba(217, 184, 95, 0.14);
}

.language-dropdown-toggle:hover,
.language-dropdown-toggle:focus,
.language-dropdown-toggle.show {
    color: #09150f;
    background: linear-gradient(135deg, #f5e294, #dfbf65);
}

.language-dropdown-toggle::after {
    margin-left: 1px;
    border-top-width: .36em;
}

.language-dropdown-menu {
    min-width: 148px;
    padding: 7px;
    margin-top: 9px !important;
    border-radius: 14px;
}

.language-dropdown-menu .dropdown-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dce9e2;
    border-radius: 9px;
    font-weight: 700;
}

.language-dropdown-menu .dropdown-item:hover,
.language-dropdown-menu .dropdown-item:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.language-dropdown-menu .dropdown-item.active {
    color: #72e7b3;
    background: rgba(63, 212, 147, 0.11);
}

.language-dropdown-menu .lang-flag,
.language-dropdown-toggle .lang-flag {
    width: 20px;
    height: 14px;
}

.alert-premium {
    border-radius: 12px;
}

.pitch-thumb {
    height: 210px;
    object-fit: cover;
}

.pitch-detail-image {
    height: min(48vh, 430px);
    object-fit: cover;
}

.map-box {
    height: 420px;
    border-radius: 14px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: #0f1720;
}

#pickerMap {
    height: 360px;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.picker-map-my-location-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: linear-gradient(180deg, #e2c776, var(--gold));
    color: #1a1a1a;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 0;
    min-width: 130px;
}

.picker-map-my-location-btn:hover {
    filter: brightness(1.05);
}

.picker-map-my-location-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.pitch-form-modern {
    border-radius: 18px;
}

.panel-form-section {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 12px;
}

.panel-form-title {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-form-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(242, 245, 247, 0.92);
}

.form-label-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.35rem;
}

.input-group-premium .input-group-text {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(12, 20, 28, 0.9);
    color: #dce7ef;
    min-width: 44px;
    justify-content: center;
    font-weight: 700;
}

.input-group-premium .form-control,
.input-group-premium .form-select,
.pitch-form-modern textarea.form-control {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(245, 248, 252, 0.95);
}

.input-group-premium .form-control:focus,
.input-group-premium .form-select:focus,
.pitch-form-modern textarea.form-control:focus {
    border-color: rgba(215, 181, 93, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(215, 181, 93, 0.2);
}

.feature-check-modern {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 6px 12px;
    background: transparent;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: none;
}

.feature-check-modern .form-check-input {
    margin-top: 0.2rem;
}

.panel-tabs {
    gap: 8px;
    margin-bottom: 12px !important;
}

.panel-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(242, 245, 247, 0.82);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    padding: 0.5rem 1rem;
}

.panel-tabs .nav-link.active {
    background: linear-gradient(180deg, rgba(226, 199, 118, 0.95), rgba(215, 181, 93, 0.9));
    color: #141414;
    border-color: rgba(226, 199, 118, 0.9);
}

.tab-content > .tab-pane {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.feature-tab-panel {
    display: grid;
    gap: 12px;
}

.feature-group-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.feature-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-group-kicker {
    font-size: 0.82rem;
    color: rgba(242, 245, 247, 0.7);
    font-weight: 700;
}

.feature-group-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
    color: rgba(242, 245, 247, 0.85);
    font-weight: 700;
}

.feature-pill-grid,
.booking-price-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feature-pill-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.feature-switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 12px;
    background: transparent;
}

.feature-switch-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    cursor: pointer;
}

.feature-switch-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feature-switch-slider {
    position: relative;
    width: 38px;
    height: 22px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.38);
    flex: 0 0 38px;
    transition: background 0.2s ease;
}

.feature-switch-slider::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    transition: transform 0.2s ease;
}

.feature-switch-input:checked + .feature-switch-slider {
    background: #3b82f6;
}

.feature-switch-input:checked + .feature-switch-slider::after {
    transform: translateX(16px);
}

.feature-switch-text {
    font-weight: 600;
    line-height: 1.2;
}

.feature-switch-item-tribune {
    align-items: center;
}

.tribune-inline-capacity {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.tribune-inline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.tribune-inline-input {
    width: 64px;
    min-height: 32px;
    text-align: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f2f5f7;
    box-shadow: none;
}

.tribune-inline-suffix {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
    color: rgba(242, 245, 247, 0.88);
    font-weight: 700;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.turf-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(242, 245, 247, 0.92);
}

.feature-radio-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}

.feature-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    min-height: 48px;
}

.feature-radio-card .form-check-input {
    margin-top: 0;
}

.turf-quality-option,
.turf-quality-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.turf-quality-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.turf-quality-low {
    background: #ef4444;
}

.turf-quality-medium {
    background: #f59e0b;
}

.turf-quality-high {
    background: #22c55e;
}

.turf-quality-unknown {
    background: #94a3b8;
}

.turf-admin-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.turf-admin-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    display: grid;
    gap: 14px;
}

.turf-section-block {
    display: grid;
    gap: 10px;
}

.turf-switch-stack {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    max-width: 100%;
}

.turf-switch-item {
    width: 100%;
}

.turf-upload-row {
    display: grid;
    gap: 8px;
    max-width: 320px;
}

.turf-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.12);
    color: #d9ffe6;
    font-weight: 700;
}

.turf-upload-input {
    min-height: 40px;
}

.turf-compact-option {
    min-height: 42px;
    padding: 6px 10px;
}

.turf-muted-option {
    opacity: 0.9;
    border-style: dashed;
}

.tribune-capacity-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    max-width: 360px;
}

.input-group-compact .input-group-text,
.input-group-compact .form-control {
    min-height: 42px;
}

.turf-thumb-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-top: 10px;
}

.surface-gallery-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
}

.turf-thumb-link,
.surface-gallery-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    flex: 0 0 110px;
}

.turf-thumb-image,
.surface-gallery-image {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
}

.surface-gallery-image {
    height: 180px;
}

@media (max-width: 767px) {
    .turf-admin-layout {
        grid-template-columns: 1fr;
    }

    .turf-upload-row,
    .turf-switch-stack {
        width: 100%;
        max-width: 100%;
    }

    .feature-radio-grid {
        grid-template-columns: 1fr;
    }

    .tribune-capacity-box {
        max-width: 100%;
    }

    .feature-switch-item,
    .feature-switch-item-tribune {
        align-items: flex-start;
        flex-direction: column;
    }

    .tribune-inline-capacity {
        width: 100%;
    }

    .tribune-inline-input {
        width: 92px;
    }
}

.stadium-upload-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    max-width: 760px;
}

.stadium-upload-field {
    min-width: 0;
}

.stadium-upload-action {
    width: 180px;
    display: grid;
}

.stadium-upload-action .btn {
    min-height: 42px;
}

@media (max-width: 767px) {
    .stadium-upload-bar {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .stadium-upload-action {
        width: 100%;
    }
}

.booking-price-item {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.slot-active-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(86, 208, 123, 0.32);
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(86, 208, 123, 0.1);
    font-size: 0.82rem;
    font-weight: 700;
    color: #c9f6d4;
    cursor: pointer;
}

.slot-active-toggle.is-off {
    border-color: rgba(241, 96, 96, 0.28);
    background: rgba(241, 96, 96, 0.08);
    color: #ffcaca;
}

.slot-active-toggle .form-check-input {
    margin-top: 0;
}

.slot-card {
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    border: 1px solid var(--line);
}

.slot-card-button {
    width: 100%;
    color: inherit;
    background: transparent;
}

.slot-card.available {
    background: rgba(16, 185, 129, 0.2);
}

.slot-card.booked {
    background: rgba(220, 53, 69, 0.24);
}

.slot-card.inactive {
    background: rgba(148, 163, 184, 0.12);
    color: rgba(242, 245, 247, 0.66);
}

.pitch-info-grid {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.pitch-info-block {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.pitch-feature-sections {
    display: grid;
    gap: 12px;
}

.pitch-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pitch-chip-on {
    border: 1px solid rgba(123, 216, 143, 0.45);
    background: rgba(123, 216, 143, 0.18);
    color: #dcffe4;
}

.pitch-chip-off {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(242, 245, 247, 0.7);
}

.feature-status-list {
    display: grid;
    gap: 8px;
}

.feature-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
}

.feature-status-on {
    color: #56d07b;
    font-size: 1rem;
}

.feature-status-off {
    color: #f16060;
    font-size: 1rem;
}

.turf-public-summary {
    display: grid;
    gap: 10px;
}

.turf-public-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.turf-info-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.turf-info-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    min-width: 0;
}

.turf-info-label {
    color: rgba(242, 245, 247, 0.92);
}

.turf-gallery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: transparent;
    color: #f2f5f7;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 10px;
}

.turf-gallery-btn:hover {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 575px) {
    .turf-info-card {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .turf-info-item {
        font-size: 0.85rem;
        padding: 6px 8px;
    }

    .turf-gallery-btn {
        min-height: 32px;
        font-size: 0.82rem;
        padding: 5px 8px;
    }
}

@media (min-width: 992px) {
    .pitch-feature-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.company-cover {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.company-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 16, 24, 0.92), rgba(9, 16, 24, 0.18));
}

.company-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.7);
}

.company-hero {
    position: relative;
}

.company-hero-body {
    position: relative;
    margin-top: -68px;
    padding: 0 1.2rem 1.2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.company-brand-lockup {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    min-width: 0;
}

.company-brand-copy {
    min-width: 0;
}

.company-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(242, 245, 247, 0.76);
    margin-bottom: 10px;
}

.company-meta-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.company-info-card {
    display: grid;
    gap: 14px;
}

.company-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.company-contact-list {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.company-contact-name {
    font-size: 1rem;
    color: rgba(242, 245, 247, 0.95);
}

.company-contact-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    text-align: center;
    width: auto;
    min-width: 0;
}

.company-contact-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.92rem;
}

.company-contact-cta-whatsapp {
    border-color: rgba(37, 211, 102, 0.45);
    color: #d9ffe7;
    background: rgba(37, 211, 102, 0.08);
}

.company-description-block {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.company-description-text {
    line-height: 1.6;
}

.company-pitches-shell {
    display: grid;
    gap: 12px;
}

.company-pitch-card {
    overflow: hidden;
}

.company-pitch-thumb {
    height: 160px;
}

@media (max-width: 767px) {
    .company-cover {
        height: 170px;
    }

    .company-hero-body {
        margin-top: -44px;
        padding: 0 0.95rem 0.95rem;
    }

    .company-brand-lockup {
        align-items: center;
    }

    .company-logo {
        width: 76px;
        height: 76px;
    }

    .company-pitch-thumb {
        height: 140px;
    }
}

.mobile-cta {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(12,17,24,0.95);
    border-top: 1px solid var(--line);
    padding: 10px;
    z-index: 1040;
}

.mobile-cta .mobile-map-btn {
    width: 100%;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mobile-cta .mobile-cta-btn {
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mobile-location-wrap {
    position: relative;
}

.mobile-location-toggle {
    position: relative;
    z-index: 2;
}

.mobile-map-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    display: grid;
    grid-template-columns: repeat(3, minmax(44px, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(8, 14, 21, 0.96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-location-wrap.is-open .mobile-map-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-location-wrap:focus-within .mobile-map-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-location-wrap.is-open .mobile-location-toggle {
    border-color: rgba(215, 181, 93, 0.9);
    color: #e9cf83;
}

.mobile-map-option {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.offcanvas {
    background: #101820;
    color: #f2f5f7;
}

.table {
    margin: 0;
}

.profile-modern {
    border-radius: 18px;
}

.profile-head h1 {
    letter-spacing: 0.01em;
}

.profile-cover-preview {
    height: clamp(140px, 24vw, 200px);
    border-radius: 14px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    cursor: default;
    touch-action: none;
}

.profile-cover-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.12));
}

.profile-cover-image {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, 0);
    will-change: transform;
    max-width: none;
    user-select: none;
    pointer-events: none;
}

.profile-logo-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
}

.profile-modern .row.g-3.mb-3 > .col-lg-4,
.profile-modern .row.g-3.mb-3 > .col-lg-8 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-modern .row.g-3.mb-3 > .col-lg-4 > .mt-2,
.profile-modern .row.g-3.mb-3 > .col-lg-8 > .mt-2 {
    margin-top: 0 !important;
}

.profile-logo-preview-box {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.68);
    cursor: default;
    touch-action: none;
    position: relative;
}

.profile-logo-preview {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(0, 0);
    max-width: none;
    user-select: none;
    pointer-events: none;
    will-change: transform;
}

.profile-preview-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 2;
    font-size: 0.8rem;
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
}

.profile-logo-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

.profile-input {
    min-height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 2px rgba(10, 20, 30, 0.08);
}

.profile-input:focus {
    border-color: rgba(215, 181, 93, 0.85);
    box-shadow: 0 0 0 0.2rem rgba(215, 181, 93, 0.2);
}

.phone-field-wrap .iti {
    width: 100%;
}

.phone-field-wrap .iti__selected-country {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.phone-field-wrap .iti input {
    color: #111827;
}

.phone-field-wrap .iti__selected-dial-code {
    color: #0f172a;
    font-weight: 600;
}

.iti__country-list {
    background: #ffffff;
    color: #111827;
    border: 1px solid #c9d3dc;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
    z-index: 2100;
}

.iti__country {
    color: #111827;
}

.iti__country-name {
    color: #111827;
}

.iti__dial-code {
    color: #374151;
}

.iti__country.iti__highlight {
    background: #eaf5ee;
}

.iti--inline-dropdown .iti__dropdown-content {
    background: #ffffff;
}

.iti__search-input {
    background: #ffffff;
    color: #111827;
    border: 1px solid #94a3b8;
}

.upload-progress-wrap {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
}

.profile-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
}

.js-drag-preview.is-dragging {
    cursor: grabbing;
}

.js-drag-preview.is-draggable {
    cursor: grab;
}

@media (max-width: 991px) {
    .hero-filter-grid-compact,
    .hero-filter-side,
    .hero-filter-actions {
        grid-template-columns: 1fr;
    }

    .hero-filter-stack-double {
        grid-template-columns: 1fr;
    }

    .map-box {
        height: 340px;
    }

    .hero-stats-card {
        min-height: auto;
        margin-top: 0.2rem;
    }

    .hero-submit {
        font-size: 0.98rem;
    }

    .hero-polish .lead {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-filter-card {
        padding: 10px;
    }

    .hero-filter-more-toggle {
        padding: 0 10px;
    }

    .hero-polish {
        border-radius: 16px;
        padding: 0.95rem;
    }

    .hero-search-row .hero-control,
    .hero-submit {
        min-height: 46px;
    }

    .hero-polish h1 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }

    .hero-polish .lead {
        font-size: 1rem;
    }
}

.fx-loader-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(820px 420px at 20% 0%, rgba(24, 54, 43, 0.45) 0%, transparent 62%), rgba(7, 12, 19, 0.82);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 3000;
    backdrop-filter: blur(2px);
}

.fx-loader-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.fx-loader-card {
    min-width: 180px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: linear-gradient(160deg, rgba(25, 40, 54, 0.94), rgba(10, 20, 31, 0.94));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    display: grid;
    gap: 12px;
    justify-items: center;
}

.fx-loader-label {
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: rgba(242, 245, 247, 0.92);
    font-weight: 700;
}

.loader {
    --size: 34px;
    --accent: #7bd88f;
    --speed: 1;
    display: inline-grid;
    place-items: center;
}

.dots-pulse {
    display: inline-flex;
    gap: calc(var(--size) / 6);
}

.dots-pulse span {
    width: calc(var(--size) / 4);
    height: calc(var(--size) / 4);
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    animation: fx-pulse calc(1.2s * var(--speed)) ease-in-out infinite;
}

.dots-pulse span:nth-child(2) {
    animation-delay: 0.15s;
}

.dots-pulse span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fx-pulse {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-2px) scale(1.08);
        opacity: 1;
    }
}

.pitch-filter-form {
    display: grid;
    gap: 12px;
}

.pitch-filter-group {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.pitch-filter-stack {
    display: grid;
    gap: 10px;
}

.pitch-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(242, 245, 247, 0.94);
}

.pitch-filter-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(242, 245, 247, 0.85);
    font-size: 0.8rem;
    font-weight: 700;
}

.pitch-filter-features {
    display: grid;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 2px;
}

.pitch-filter-subgroup {
    display: grid;
    gap: 8px;
}

.pitch-filter-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: rgba(242, 245, 247, 0.68);
    margin-top: 2px;
}

.filter-switch-item {
    padding: 9px 10px;
    border-radius: 11px;
}

.filter-switch-item .feature-switch-text {
    font-size: 0.94rem;
    font-weight: 600;
}

.pitch-filter-actions {
    display: grid;
    gap: 10px;
}

.pitch-filter-actions .btn {
    min-height: 44px;
}

#filtersCanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

#filtersCanvas .offcanvas-body {
    padding-top: 14px;
}

@media (max-width: 991px) {
    .pitch-filter-form-mobile .pitch-filter-group {
        padding: 10px;
    }

    .pitch-filter-form-mobile .pitch-filter-features {
        max-height: none;
    }

    .pitch-filter-form-mobile .filter-switch-item {
        padding: 8px 10px;
    }
}

/* 2026 application shell and mobile-first visual system */
:root {
    --pitch-green: #19c37d;
    --pitch-green-dark: #087a50;
    --charcoal: #08110e;
    --charcoal-soft: #101c18;
    --gold: #d9b85f;
    --surface: rgba(16, 29, 24, 0.88);
    --surface-solid: #111f1a;
    --surface-raised: #172822;
    --text-main: #f5faf7;
    --text-muted: #9fb2aa;
    --line: rgba(220, 244, 232, 0.11);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
}

html {
    background: #07100d;
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(900px 520px at 8% -8%, rgba(25, 195, 125, 0.16), transparent 62%),
        radial-gradient(760px 540px at 100% 16%, rgba(52, 120, 92, 0.12), transparent 62%),
        linear-gradient(145deg, #07100d 0%, #0a1512 52%, #07110e 100%);
    color: var(--text-main);
    min-height: 100dvh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.app-main {
    min-height: calc(100dvh - 73px);
    padding-block: clamp(18px, 3vw, 42px);
}

.container {
    --bs-gutter-x: clamp(1.25rem, 3vw, 2rem);
    max-width: 1320px;
}

.nav-premium {
    min-height: 72px;
    background: rgba(7, 18, 14, 0.82);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.025em;
}

.navbar-brand i {
    color: #4ade9b;
    filter: drop-shadow(0 0 12px rgba(74, 222, 155, 0.25));
}

.navbar .nav-link {
    color: var(--text-muted);
    font-weight: 650;
    border-radius: 11px;
    padding: 0.65rem 0.8rem !important;
    transition: color .18s ease, background-color .18s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    box-shadow: none !important;
}

.card-premium,
.hero-box {
    background: linear-gradient(145deg, rgba(20, 36, 30, 0.94), rgba(10, 22, 18, 0.94));
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.card-premium {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

a.card-premium:hover,
article.card-premium:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 222, 155, 0.25);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.3);
}

.card-premium .card-body {
    padding: 1rem;
}

.pitch-thumb {
    height: 205px;
    background: #0b1b15;
}

.hero-box {
    padding: clamp(14px, 2.2vw, 24px);
    border-radius: var(--radius-lg);
}

.hero-filter-card,
.hero-filter-more-toggle,
.pitch-filter-group,
.panel-form-section {
    background: rgba(255, 255, 255, 0.025);
    border-color: var(--line);
}

.form-control,
.form-select,
.input-group-text {
    min-height: 48px;
    color: #132019;
    background-color: #f4f8f5;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.input-group > .input-group-text {
    background: #e8f0eb;
    color: #28503f;
}

.input-group > .form-control:not(:first-child),
.input-group > .form-select:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control:focus,
.form-select:focus {
    color: #0e1b15;
    background-color: #fff;
    border-color: #3fd493;
    box-shadow: 0 0 0 4px rgba(25, 195, 125, 0.15);
}

textarea.form-control {
    min-height: 120px;
}

.form-label {
    color: #dce9e2;
    font-size: 0.875rem;
    font-weight: 700;
}

.btn {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 750;
    transition: transform .16s ease, filter .16s ease, background-color .16s ease;
}

.btn:active {
    transform: scale(.98);
}

.btn-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    padding: 0;
    border-radius: 12px;
    font-size: .94rem;
}

.btn-icon.btn-sm {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    flex-basis: 38px;
    border-radius: 10px;
}

.btn-icon i {
    margin: 0 !important;
    line-height: 1;
}

.card-icon-action {
    box-shadow: 0 10px 24px rgba(217, 184, 95, .18);
}

.table .btn-icon {
    background-color: rgba(255, 255, 255, .025);
}

.table .btn-icon:hover,
.table .btn-icon:focus-visible {
    color: #082016;
    border-color: #64e3aa;
    background: #64e3aa;
    box-shadow: 0 8px 22px rgba(52, 211, 143, .18);
}

.table .btn-icon.btn-outline-danger:hover,
.table .btn-icon.btn-danger:hover {
    color: #fff;
    border-color: #e25e65;
    background: #d84b53;
}

.table .btn-icon.btn-outline-warning:hover,
.table .btn-icon.btn-warning:hover {
    color: #1b1606;
    border-color: #e0bb55;
    background: #e0bb55;
}

.btn-gold {
    color: #0b1913;
    background: linear-gradient(135deg, #f0d981, #d9b85f);
    box-shadow: 0 8px 22px rgba(217, 184, 95, 0.16);
}

.btn-outline-light {
    color: #e8f2ed;
    border-color: rgba(230, 245, 237, 0.28);
}

.badge {
    border-radius: 8px;
    font-weight: 700;
}

.nav-pills {
    display: inline-flex;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.nav-pills .nav-link {
    color: var(--text-muted);
    border-radius: 10px;
    font-weight: 750;
}

.nav-pills .nav-link.active {
    color: #062217;
    background: #5ae0a3;
    box-shadow: 0 7px 18px rgba(45, 205, 137, 0.18);
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: #315548 transparent;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.025);
    --bs-table-hover-bg: rgba(47, 203, 137, 0.055);
    --bs-table-border-color: var(--line);
    color: #eaf3ee;
}

.table > :not(caption) > * > * {
    padding: .9rem .85rem;
    vertical-align: middle;
}

.table thead th {
    color: #9fb7ad;
    background: rgba(255, 255, 255, 0.028);
    border-bottom-width: 1px;
    font-size: .75rem;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.offcanvas,
.dropdown-menu {
    color: var(--text-main);
    background: #102019;
    border-color: var(--line);
    box-shadow: var(--shadow-soft);
}

.map-box,
#pickerMap {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.mobile-tabbar {
    display: none;
}

/* Admin workspace */
.panel-body .nav-premium {
    background: rgba(7, 16, 13, 0.94);
}

.panel-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    max-width: 1540px;
    padding-inline: clamp(14px, 2.5vw, 32px);
}

.panel-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    height: calc(100dvh - 116px);
    display: flex;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(20, 37, 30, .94), rgba(9, 20, 16, .94));
    box-shadow: var(--shadow-soft);
}

.panel-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 7px 7px 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.panel-sidebar-brand > span:last-child {
    min-width: 0;
    display: grid;
}

.panel-sidebar-brand strong {
    line-height: 1.2;
}

.panel-sidebar-brand small {
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-sidebar-logo {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #092116;
    background: linear-gradient(135deg, #75efb6, #2acb87);
    border-radius: 13px;
}

.panel-sidebar-nav {
    display: grid;
    gap: 5px;
    padding-block: 16px;
}

.panel-sidebar-nav a,
.panel-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 0 13px;
    color: #a9bbb3;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: .91rem;
}

.panel-sidebar-nav a i,
.panel-sidebar-logout i {
    width: 20px;
    text-align: center;
}

.panel-sidebar-nav a:hover,
.panel-sidebar-nav a.active {
    color: #f5fff9;
    background: rgba(66, 216, 151, .12);
}

.panel-sidebar-nav a.active i {
    color: #58dfa4;
}

.panel-sidebar-logout {
    margin-top: auto;
    color: #e8bdba;
    background: rgba(220, 83, 83, .06);
}

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

.panel-content > .container {
    max-width: none;
    padding-inline: 0;
}

.panel-content h1 {
    letter-spacing: -.025em;
    font-weight: 800;
}

.panel-content .display-6 {
    color: #68e5ad;
}

@media (max-width: 991.98px) {
    .app-main {
        min-height: calc(100dvh - 64px);
        padding-block: 16px calc(92px + env(safe-area-inset-bottom));
    }

    .nav-premium {
        min-height: 64px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #102019;
        box-shadow: var(--shadow-soft);
    }

    .navbar-collapse .d-flex {
        flex-wrap: wrap;
        padding-top: 8px;
    }

    .panel-shell {
        display: block;
        padding-inline: 0;
    }

    .panel-sidebar {
        display: none;
    }

    .panel-content > .container {
        padding-inline: var(--bs-gutter-x, .75rem);
    }

    .mobile-tabbar {
        position: fixed;
        z-index: 1040;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        height: 68px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        padding: 6px;
        border: 1px solid rgba(224, 247, 236, .13);
        border-radius: 20px;
        background: rgba(10, 24, 18, .9);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .44);
        backdrop-filter: blur(20px) saturate(145%);
        -webkit-backdrop-filter: blur(20px) saturate(145%);
    }

    .mobile-tabbar a,
    .mobile-tabbar button {
        height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #8fa69c;
        background: transparent;
        border: 0;
        border-radius: 15px;
        text-decoration: none;
        font-size: .68rem;
        font-weight: 700;
    }

    .mobile-tabbar i {
        font-size: 1.05rem;
    }

    .mobile-tabbar .active {
        color: #70e7b2;
        background: rgba(54, 218, 147, .1);
    }

    .pitch-thumb {
        height: clamp(190px, 48vw, 250px);
    }
}

@media (max-width: 767.98px) {
    .container {
        --bs-gutter-x: 1.25rem;
    }

    .hero-box {
        border-radius: 20px;
    }

    .hero-filter-grid-compact,
    .hero-filter-side,
    .hero-filter-actions {
        gap: 9px;
    }

    .form-control,
    .form-select,
    .input-group-text,
    .btn {
        min-height: 46px;
        font-size: 16px;
    }

    .btn-icon {
        width: 46px;
        min-width: 46px;
        height: 46px;
        min-height: 46px;
        flex-basis: 46px;
        font-size: 1rem;
    }

    .btn-icon.btn-sm {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        flex-basis: 40px;
        font-size: .92rem;
    }

    .card-premium {
        border-radius: 16px;
    }

    .card-premium .card-body {
        padding: 14px;
    }

    .panel-content .d-flex.justify-content-between.align-items-center {
        align-items: stretch !important;
        gap: 10px;
    }

    .panel-content .d-flex.justify-content-between.align-items-center > h1 {
        align-self: center;
    }

    .table-responsive {
        border-radius: 16px;
    }

    .table {
        min-width: 720px;
        font-size: .88rem;
    }

    .table .btn-sm {
        min-height: 38px;
    }

    .map-box {
        height: 58dvh;
        min-height: 360px;
    }

    .pitch-detail-image {
        height: min(38dvh, 330px);
    }
}

@media (max-width: 420px) {
    .navbar-brand {
        max-width: calc(100vw - 95px);
        font-size: 1rem;
    }

    .hero-box {
        padding: 12px;
    }

    .mobile-tabbar {
        left: 7px;
        right: 7px;
    }

    .panel-content .d-flex.justify-content-between.align-items-center {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Company profile */
.company-page {
    display: grid;
    gap: 0;
}

.company-page .company-hero {
    overflow: hidden;
    border-radius: 24px;
}

.company-page .company-cover {
    height: clamp(220px, 25vw, 310px);
    background-position: center;
    transform: scale(1.002);
}

.company-page .company-cover::after {
    background:
        linear-gradient(to top, rgba(7, 19, 14, .98) 0%, rgba(7, 19, 14, .62) 43%, rgba(7, 19, 14, .12) 100%),
        linear-gradient(to right, rgba(7, 19, 14, .38), transparent 55%);
}

.company-page .company-hero-body {
    margin-top: -96px;
    padding: 0 clamp(18px, 2.2vw, 30px) 22px;
    align-items: flex-end;
    gap: 20px;
}

.company-page .company-brand-lockup {
    align-items: flex-end;
    gap: 16px;
}

.company-page .company-logo {
    width: 108px;
    height: 108px;
    flex: 0 0 108px;
    border: 4px solid rgba(239, 252, 245, .88);
    background: #10221b;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .38);
}

.company-page .company-kicker {
    gap: 6px;
    min-height: 25px;
    margin-bottom: 7px;
    color: #c5d8ce;
    background: rgba(12, 30, 22, .76);
    backdrop-filter: blur(10px);
}

.company-page .company-brand-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.company-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: #a9bbb2;
    font-size: .92rem;
}

.company-location i {
    color: #50d99d;
}

.company-hero-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.company-count-chip {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    color: #d9e9e1;
    background: rgba(10, 28, 20, .8);
    border: 1px solid rgba(226, 248, 237, .16);
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.company-count-chip i {
    color: #5be0a6;
}

.company-count-chip strong {
    color: #fff;
    font-size: 1rem;
}

.company-count-chip span {
    color: #a9bbb2;
    font-size: .78rem;
    font-weight: 750;
}

.company-whatsapp-icon {
    color: #63e799;
    border-color: rgba(69, 218, 126, .38);
    background: rgba(37, 211, 102, .08);
}

.company-whatsapp-icon:hover {
    color: #082016;
    border-color: #56df91;
    background: #56df91;
}

.company-layout {
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 2.2vw, 28px);
}

.company-sidebar {
    position: sticky;
    top: 94px;
}

.company-page .company-info-card {
    display: grid;
    gap: 18px;
    padding: 20px;
    border-radius: 20px;
}

.company-page .company-section-head {
    justify-content: flex-start;
    gap: 11px;
}

.company-section-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #081e14;
    background: linear-gradient(135deg, #77ebb7, #35cb8c);
    border-radius: 13px;
    box-shadow: 0 9px 22px rgba(46, 203, 137, .16);
}

.company-section-eyebrow {
    display: block;
    max-width: 38ch;
    margin-bottom: 1px;
    color: #81978d;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-page .company-section-head h2 {
    margin: 0;
    color: #f5faf7;
    font-size: 1.05rem;
    font-weight: 820;
}

.company-page .company-contact-list {
    display: grid;
    gap: 8px;
    width: 100%;
    justify-items: stretch;
}

.company-contact-row {
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 8px;
    border: 1px solid rgba(226, 248, 237, .08);
    border-radius: 14px;
    background: rgba(255, 255, 255, .025);
}

.company-contact-type {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #8be7ba;
    background: rgba(54, 211, 143, .1);
    border-radius: 11px;
}

.company-contact-type.is-whatsapp {
    color: #70e89e;
    background: rgba(37, 211, 102, .1);
}

.company-contact-copy {
    min-width: 0;
    display: grid;
}

.company-contact-copy small {
    color: #7f948a;
    font-size: .69rem;
    font-weight: 750;
    text-transform: uppercase;
}

.company-contact-copy strong {
    color: #eaf4ef;
    font-size: .84rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-email-value {
    letter-spacing: .08em;
}

.company-email-value.is-revealed {
    letter-spacing: normal;
}

.company-page .company-description-block {
    gap: 8px;
    padding-top: 16px;
}

.company-page .company-description-block h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #cfe0d7;
    font-size: .82rem;
    font-weight: 800;
}

.company-page .company-description-block p {
    margin: 0;
    color: #91a69c;
    font-size: .86rem;
    line-height: 1.65;
}

.company-page .company-pitches-shell {
    gap: 14px;
}

.company-pitches-head {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.company-result-count {
    min-width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #9ff0c9;
    background: rgba(54, 211, 143, .09);
    border: 1px solid rgba(90, 225, 165, .18);
    border-radius: 11px;
    font-size: .86rem;
    font-weight: 800;
}

.company-pitches-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.company-page .company-pitch-card {
    min-width: 0;
    border-radius: 18px;
}

.company-pitch-media {
    position: relative;
    overflow: hidden;
    background: #0d2119;
}

.company-page .company-pitch-thumb {
    width: 100%;
    height: clamp(170px, 15vw, 210px);
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.company-pitch-card:hover .company-pitch-thumb {
    transform: scale(1.025);
}

.company-pitch-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #102019;
    background: rgba(237, 248, 242, .92);
    border-radius: 10px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .25);
}

.company-pitch-content {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.company-pitch-copy {
    min-width: 0;
    flex: 1;
}

.company-pitch-copy h3 {
    margin: 0;
    color: #f2faf6;
    font-size: 1rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-pitch-copy p {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 5px 0 0;
    color: #81968c;
    font-size: .8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-pitch-copy p i {
    color: #49ce94;
}

.company-empty-state {
    min-height: 240px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: #81968c;
}

.company-empty-state i {
    color: #45d397;
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .company-layout {
        grid-template-columns: 1fr;
    }

    .company-sidebar {
        position: static;
    }

    .company-page .company-info-card {
        grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
        align-items: start;
    }

    .company-page .company-info-card > .company-section-head {
        grid-column: 1 / -1;
    }

    .company-page .company-description-block {
        padding: 0 0 0 18px;
        border-top: 0;
        border-left: 1px solid rgba(255, 255, 255, .08);
    }
}

@media (max-width: 767.98px) {
    .company-page .company-hero {
        border-radius: 18px;
    }

    .company-page .company-cover {
        height: 190px;
    }

    .company-page .company-hero-body {
        margin-top: -56px;
        padding: 0 14px 14px;
        gap: 14px;
    }

    .company-page .company-brand-lockup {
        width: 100%;
        align-items: flex-end;
        gap: 11px;
    }

    .company-page .company-logo {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
        border-width: 3px;
    }

    .company-page .company-brand-copy h1 {
        font-size: 1.34rem;
    }

    .company-page .company-kicker {
        margin-bottom: 5px;
        min-height: 22px;
        padding-inline: 8px;
        font-size: .65rem;
    }

    .company-location {
        font-size: .78rem;
    }

    .company-hero-actions {
        width: 100%;
        margin-left: 0;
    }

    .company-count-chip {
        flex: 1;
    }

    .company-page .company-info-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .company-page .company-description-block {
        padding: 14px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
        border-left: 0;
    }

    .company-pitches-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .company-page .company-pitch-thumb {
        height: min(54vw, 230px);
    }

    .company-pitches-head {
        min-height: 48px;
    }
}
