/* Front/Components/navbar.blade.php */
.modern-navbar .navbar-menu {
  overflow: visible;
  align-items: stretch;
}
.modern-navbar .nav-links {
  align-items: stretch;
  min-height: var(--nav-h, 64px);
}
.modern-navbar .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.modern-navbar .nav-dropdown {
  align-self: stretch;
}
.modern-navbar .nav-dropdown > .nav-link {
  height: 100%;
}
.modern-navbar .nav-dropdown:hover,
.modern-navbar .nav-dropdown:focus-within,
.modern-navbar .nav-dropdown.is-open {
  z-index: 6;
}
.modern-navbar .mega-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  /* Flush under the bar; hover bridge is ::before (absolute, no layout gap) */
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: translate(-50%, 0);
  pointer-events: none;
}
.modern-navbar .mega-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.modern-navbar .nav-dropdown:hover > .mega-dropdown,
.modern-navbar .nav-dropdown:focus-within > .mega-dropdown,
.modern-navbar .nav-dropdown.is-open > .mega-dropdown,
.modern-navbar .mega-dropdown.is-open {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
  pointer-events: auto !important;
}
.modern-navbar .nav-dropdown.is-open > .nav-link {
  color: var(--nav-primary, #3c65f5);
  background: var(--nav-surface, #f8faff);
}
@media (max-width: 991.98px) {
  .modern-navbar .mega-dropdown {
    display: none !important;
  }
}

/* Front/Components/google-preferred-source.blade.php */
.gps-btn-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
    }

    .gps-fallback {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #dadce0;
        color: #1f2937;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(60, 64, 67, .15);
        white-space: nowrap;
    }

    .gps-fallback:hover {
        background: #f8f9fa;
        color: #111827;
        text-decoration: none;
    }

    .gps-fallback i {
        color: #4285f4;
    }

    .gps-btn-wrap [google-add-preferred-source-btn] {
        display: none;
        min-height: 40px;
    }

    .gps-btn-wrap.gps-official-ready [google-add-preferred-source-btn] {
        display: block;
    }

    .gps-btn-wrap.gps-official-ready .gps-fallback {
        display: none;
    }

    .gps-bar {
        background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
        border-bottom: 1px solid #dbeafe;
        color: #1e293b;
    }

    .gps-bar[hidden] {
        display: none !important;
    }

    .gps-bar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 16px;
    }

    .gps-bar-copy {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .gps-bar-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #fff;
        color: #4285f4;
        flex-shrink: 0;
        box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
    }

    .gps-bar-text {
        font-size: 14px;
        line-height: 1.45;
    }

    .gps-bar-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    .gps-bar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 0;
        background: transparent;
        color: #64748b;
        border-radius: 8px;
        cursor: pointer;
    }

    .gps-bar-close:hover {
        background: rgba(15, 23, 42, .06);
        color: #0f172a;
    }

    .gps-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    }

    .gps-card--sidebar {
        margin-bottom: 16px;
    }

    .gps-card-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #eff6ff;
        color: #4285f4;
        font-size: 16px;
    }

    .gps-card-title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #0f172a;
    }

    .gps-card-text {
        margin: 0;
        font-size: 13px;
        line-height: 1.55;
        color: #475569;
    }

    .gps-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-bottom: 16px;
        padding: 9px 12px;
        background: #fff;
        border: 1px dashed #c7d2fe;
        border-radius: 12px;
        color: #0f172a;
        text-decoration: none;
        transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
    }

    .gps-chip:hover,
    .gps-chip:focus-visible {
        border-style: solid;
        border-color: #4285f4;
        box-shadow: 0 4px 14px rgba(66, 133, 244, .15);
        color: #0f172a;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .gps-chip-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #f1f5f9;
        flex-shrink: 0;
    }

    .gps-chip-text {
        display: flex;
        flex-direction: column;
        min-width: 0;
        line-height: 1.25;
    }

    .gps-chip-text strong {
        font-size: 13px;
        font-weight: 700;
    }

    .gps-chip-text small {
        font-size: 11.5px;
        color: #64748b;
    }

    .gps-chip-arrow {
        margin-left: auto;
        font-size: 12px;
        color: #4285f4;
        transition: transform .15s ease;
    }

    .gps-chip:hover .gps-chip-arrow {
        transform: translateX(3px);
    }

    .gps-chip-text--done,
    .gps-chip.gps-already-preferred .gps-chip-text--cta {
        display: none;
    }

    .gps-chip.gps-already-preferred .gps-chip-text--done {
        display: flex;
    }

    .gps-chip.gps-already-preferred {
        border-style: solid;
        border-color: #e2e8f0;
    }

    .gps-chip-text--done i {
        color: #16a34a;
    }

    .gps-footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 0 auto 18px;
    }

    .gps-footer-text {
        font-size: 13px;
        color: #64748b;
    }

    .gps-already-text,
    .gps-manage-link {
        display: none;
    }

    .gps-already-text {
        margin: 0;
        font-size: 13px;
        line-height: 1.55;
        color: #475569;
    }

    .gps-manage-link {
        font-size: 13px;
        font-weight: 600;
        color: #2563eb;
        text-decoration: none;
    }

    .gps-manage-link:hover {
        text-decoration: underline;
    }

    .gps-already-preferred .gps-card-text,
    .gps-already-preferred .gps-footer-text,
    .gps-already-preferred .gps-btn-wrap {
        display: none;
    }

    .gps-already-preferred .gps-already-text,
    .gps-already-preferred .gps-manage-link {
        display: inline;
    }

    .gps-card.gps-already-preferred .gps-already-text,
    .gps-card.gps-already-preferred .gps-manage-link {
        display: block;
    }

    #google-preferred-source-bar.gps-already-preferred {
        display: none !important;
    }

    @media (max-width: 767px) {
        .gps-bar-inner {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
            padding: 12px 16px;
        }

        .gps-bar-actions {
            justify-content: space-between;
        }

        .gps-bar-text {
            font-size: 13px;
        }
    }

/* Front/Components/featured-promo-card.blade.php */
.featured-promo-card {
        cursor: pointer;
        background: linear-gradient(180deg, #FCFDF7 0%, #F4F6EC 100%);
        border-color: #DDE3CF;
        box-shadow: 0 4px 18px rgba(95, 109, 72, 0.08);
    }
    .featured-promo-card:hover {
        border-color: #B8C4A0;
        box-shadow: 0 8px 24px rgba(95, 109, 72, 0.14);
        transform: translateY(-2px);
    }
    .featured-promo-card::before {
        display: none;
    }
    .featured-promo-card .promo-card-header {
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 0;
        z-index: 2;
        pointer-events: none;
    }
    .featured-promo-card .job-title-section {
        margin-bottom: 14px;
        padding-right: 40px;
    }
    .featured-promo-card .job-meta-tags {
        margin-top: 8px;
    }
    .featured-promo-card .job-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
    }
    .featured-promo-card .benefits-section {
        margin-bottom: 14px;
    }
    .featured-promo-card .company-section {
        margin-top: 14px;
        padding-top: 14px;
        border-top-color: #E3E6DA;
    }
    .promo-featured-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 4px 10px;
        background: linear-gradient(135deg, #6E7B4E 0%, #5F6D48 100%);
        color: #fff;
        border-radius: 12px;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }
    .promo-featured-badge i {
        font-size: 10px;
        color: #E8EDB8;
    }
    .promo-ad-indicators {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #DC2626;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .3px;
        line-height: 1;
        flex-shrink: 0;
    }
    .promo-ad-indicators .fa-thumbtack {
        transform: rotate(35deg);
        color: #DC2626;
        font-size: 16px;
    }
    .featured-promo-card .promo-brand-logo {
        background: linear-gradient(135deg, #8A9668, #5F6D48) !important;
        border: none !important;
        box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    }
    .featured-promo-card .promo-brand-logo span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #fff;
    }
    .featured-promo-card .job-location {
        color: #5F6D48;
    }
    @media (max-width: 768px) {
        .featured-promo-card .promo-card-header {
            top: 6px;
            left: 6px;
            right: 6px;
        }
        .featured-promo-card .job-title-section {
            padding-right: 36px;
        }
        .promo-featured-badge {
            font-size: 9px;
            padding: 3px 8px;
        }
        .promo-ad-indicators {
            font-size: 10px;
        }
        .promo-ad-indicators .fa-thumbtack {
            font-size: 14px;
        }
    }

/* Front/Components/bot-alert-search-strip.blade.php */
.bot-telegram-mini {
            margin-top: 0.9rem;
            text-align: center;
        }

        .bot-telegram-mini a {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.8125rem;
            line-height: 1.4;
            color: #64748b;
            text-decoration: none;
        }

        .bot-telegram-mini a:hover {
            color: #475569;
        }

        .bot-telegram-mini-icon {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.15rem;
            height: 1.15rem;
            flex-shrink: 0;
        }

        .bot-telegram-mini-icon i {
            position: relative;
            z-index: 1;
            color: #0088cc;
            font-size: 0.9rem;
            animation: botTelegramIconBob 2.8s ease-in-out infinite;
        }

        .bot-telegram-mini-ping {
            position: absolute;
            inset: -2px;
            border-radius: 999px;
            background: rgba(0, 136, 204, 0.35);
            animation: botTelegramPing 2.8s ease-out infinite;
            pointer-events: none;
        }

        .bot-telegram-mini-free {
            color: #059669;
            font-weight: 600;
        }

        .bot-telegram-mini-action {
            color: #0088cc;
            font-weight: 600;
        }

        .bot-telegram-mini-arrow {
            display: inline-block;
            animation: botTelegramArrowNudge 1.6s ease-in-out infinite;
        }

        .bot-telegram-mini a:hover .bot-telegram-mini-action {
            text-decoration: underline;
        }

        @keyframes botTelegramPing {
            0% {
                transform: scale(0.65);
                opacity: 0.7;
            }
            70%, 100% {
                transform: scale(1.65);
                opacity: 0;
            }
        }

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

        @keyframes botTelegramArrowNudge {
            0%, 100% {
                transform: translateX(0);
            }
            50% {
                transform: translateX(3px);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .bot-telegram-mini-icon i,
            .bot-telegram-mini-ping,
            .bot-telegram-mini-arrow {
                animation: none;
            }
        }

/* Front/Components/bot-alert-promo-modal.blade.php */
#botAlertPromoModal .modal-dialog {
            max-width: 480px;
        }

        #botAlertPromoModal .modal-content {
            border: 0;
            border-radius: 14px;
        }

        #botAlertPromoModal .bot-alert-promo-icon {
            width: 52px;
            height: 52px;
            margin: 0 auto 1rem;
            border-radius: 14px;
            background: #e8f4fc;
            color: #0088cc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        #botAlertPromoModal .bot-alert-promo-subtitle {
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
            line-height: 1.5;
            white-space: nowrap;
        }

        #botAlertPromoModal .bot-alert-promo-free {
            display: inline-block;
            padding: 0.12rem 0.5rem;
            margin-left: 0.15rem;
            border-radius: 999px;
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            color: #15803d;
            font-weight: 700;
            font-size: 0.82rem;
            letter-spacing: 0.02em;
            text-transform: uppercase;
            vertical-align: middle;
        }

        #botAlertPromoModal .bot-alert-promo-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.75rem 1rem;
            border-radius: 10px;
            background: #0088cc;
            color: #fff !important;
            font-weight: 600;
            text-decoration: none;
            border: 0;
            white-space: nowrap;
        }

        #botAlertPromoModal .bot-alert-promo-cta:hover {
            background: #0077b3;
            color: #fff;
        }

        #botAlertPromoModal .bot-alert-promo-dismiss {
            display: block;
            width: 100%;
            margin-top: 0.75rem;
            padding: 0;
            border: 0;
            background: transparent;
            color: #94a3b8;
            font-size: 0.85rem;
        }

        @media (max-width: 520px) {
            #botAlertPromoModal .bot-alert-promo-subtitle,
            #botAlertPromoModal .bot-alert-promo-cta {
                white-space: normal;
            }
        }

.job-card-professional.premium-locked::before {
    display: none;
}

.job-card-professional.premium-locked > .bookmark-icon {
    filter: blur(3.5px) !important;
    opacity: 0.55 !important;
    user-select: none;
    pointer-events: none;
}

.job-card-professional.premium-locked {
    display: flex;
    flex-direction: column;
}

.job-card-professional.premium-locked > .job-card-rest {
    position: relative;
    flex: 1 1 auto;
}

.job-card-professional.premium-locked .premium-lock-message {
    top: auto;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 24px);
    padding: 0;
    text-align: center;
}

.job-card-professional.premium-locked .premium-icon {
    overflow: visible;
    flex-shrink: 0;
}

.job-card-professional.premium-locked .premium-lock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.job-card-professional.premium-locked .premium-icon,
.job-card-professional.premium-locked .premium-lock-content h4,
.job-card-professional.premium-locked .premium-lock-content p {
    margin: 0;
}

.job-card-professional.premium-locked .premium-lock-content h4,
.job-card-professional.premium-locked .premium-lock-content p {
    white-space: nowrap;
    line-height: 1.3;
}

.job-card-professional .company-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 0;
}

.job-card-professional .company-section:has(.match-score-container) .company-details {
    padding-right: 64px;
}

.job-card-professional .company-name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.job-card-professional .company-name i {
    flex-shrink: 0;
    font-size: 13px;
    color: #3c65f5;
}

.job-card-professional .company-name span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-card-professional .job-skills-block {
    grid-template-columns: 1fr;
}

.job-card-professional .job-skills-block .detail-full-item {
    align-items: flex-start;
    text-align: left;
}

.job-card-professional .job-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.job-card-professional .job-skill-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 2px 7px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e0e6f7;
    color: #05264e;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
    white-space: nowrap;
}

.job-card-professional .job-skill-chip-more {
    color: #66789c;
    background: #f8faff;
}

.job-card-professional .company-details .job-location {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 48%;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
