﻿/* Shared Angaza public search theme extracted from search-results.blade.php. */
:root {
            --primary: #062f3f;
            --primary-2: #041f2b;
            --primary-3: #083c4f;
            --gold: #d99a2b;
            --gold-2: #f1bd54;
            --text: #102a43;
            --muted: #667085;
            --border: #e7eaf0;
            --light: #f7f9fb;
            --white: #ffffff;
            --shadow: 0 24px 70px rgba(6, 47, 63, 0.16);
            --soft-shadow: 0 14px 36px rgba(16, 42, 67, 0.08);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            width: 100%;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        body {
            width: 100%;
            margin: 0;
            padding: 0;
            color: var(--text);
            background:
                radial-gradient(circle at top left, rgba(217, 154, 43, 0.09), transparent 28rem),
                linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
            font-family: "Inter", "Segoe UI", Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            color: inherit;
        }

        a:hover {
            text-decoration: none;
        }

        .site-frame {
            width: 100%;
            max-width: none;
            margin: 0;
            overflow: hidden;
            border-radius: 0;
            background: var(--white);
            box-shadow: none;
        }

        .top-shell {
            position: relative;
            overflow: hidden;
            color: #fff;
            background:
                radial-gradient(circle at 18% 18%, rgba(217, 154, 43, 0.18), transparent 20rem),
                radial-gradient(circle at 85% 15%, rgba(59, 178, 206, 0.16), transparent 24rem),
                linear-gradient(135deg, #062f3f 0%, #041f2b 100%);
        }

        .top-shell::before {
            content: "";
            position: absolute;
            inset: 0;
            opacity: 0.25;
            background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1.5px);
            background-size: 18px 18px;
            mask-image:
                radial-gradient(ellipse at 35% 22%, #000 0 18rem, transparent 24rem),
                radial-gradient(ellipse at 76% 20%, #000 0 19rem, transparent 25rem);
            pointer-events: none;
        }

        .top-shell::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 160px;
            opacity: 0.12;
            background:
                linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent),
                url("../images/home.jpeg") center bottom / cover no-repeat;
            pointer-events: none;
        }

        .site-header {
            position: relative;
            z-index: 3;
            border-bottom: 1px solid rgba(255, 255, 255, 0.11);
        }

        .navbar {
            min-height: 76px;
            padding: 0.55rem 0;
        }

        .navbar-brand {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            margin: 0;
            color: #fff !important;
            font-weight: 900;
            line-height: 1;
        }

        .navbar-brand img {
            width: 54px;
            height: 54px;
            object-fit: contain;
        }

        .brand-copy {
            display: flex;
            flex-direction: column;
            line-height: 1.05;
            letter-spacing: -0.03em;
        }

        .brand-copy strong {
            font-size: 1rem;
            color: #fff;
        }

        .brand-copy small {
            margin-top: 0.16rem;
            color: rgba(255, 255, 255, 0.68);
            font-size: 0.68rem;
            font-weight: 700;
        }

        .navbar-nav .nav-link {
            position: relative;
            padding: 0.78rem 1.05rem !important;
            color: rgba(255, 255, 255, 0.84) !important;
            font-size: 0.9rem;
            font-weight: 800;
        }

        .navbar-nav .nav-link::after {
            content: "";
            position: absolute;
            left: 1.05rem;
            right: 1.05rem;
            bottom: 0.35rem;
            height: 2px;
            border-radius: 999px;
            background: var(--gold-2);
            transform: scaleX(0);
            transform-origin: left;
            transition: 0.2s ease;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #ffd783 !important;
        }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            transform: scaleX(1);
        }

        .header-actions {
            gap: 0.6rem;
        }

        .pill-action,
        .navbar-toggler {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            min-height: 40px;
            padding: 0.45rem 0.8rem;
            border: 1px solid rgba(255, 255, 255, 0.28);
            border-radius: 13px;
            color: #fff;
            background: rgba(255, 255, 255, 0.07);
            font-size: 0.86rem;
            font-weight: 800;
            backdrop-filter: blur(10px);
            transition: 0.2s ease;
        }

        .pill-action:hover,
        .pill-action:focus,
        .navbar-toggler:hover,
        .navbar-toggler:focus {
            color: #fff;
            border-color: rgba(217, 154, 43, 0.75);
            background: rgba(217, 154, 43, 0.14);
            box-shadow: 0 0 0 0.2rem rgba(217, 154, 43, 0.16);
            outline: none;
        }

        .pill-action img {
            width: 24px;
            border-radius: 2px;
        }

        .sign-pill {
            padding-left: 1rem;
            padding-right: 1rem;
            border-radius: 999px;
        }

.dropdown-menu {
            z-index: 1060 !important;
            padding: 0.55rem;
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 20px 55px rgba(16, 42, 67, 0.16);
        }

.country-menu-scroll {
            max-height: 300px;
            overflow-y: auto;
        }

        .dropdown-item {
            border-radius: 11px;
            color: var(--text);
            font-weight: 700;
            padding: 0.68rem 0.85rem;
        }

        .dropdown-item:hover {
            background: #fff5df;
            color: var(--primary);
        }

        .results-hero {
            position: relative;
            z-index: 2;
            padding: 2.7rem 1rem 2.4rem;
            text-align: center;
        }

        .results-hero h1 {
            max-width: 760px;
            margin: 0 auto;
            color: #fff;
            font-family: "Playfair Display", Georgia, serif;
            font-size: clamp(2.05rem, 4.4vw, 3.45rem);
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: -0.035em;
        }

        .results-hero h1 span {
            color: #ffd36c;
        }

        .results-hero p {
            max-width: 660px;
            margin: 0.95rem auto 0;
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
        }

        .search-card {
            position: relative;
            max-width: 850px;
            margin: 1.55rem auto 0;
            padding: 0.75rem;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
        }

        .search-panel {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 190px 124px;
            align-items: stretch;
            position: relative;
        }

        .search-input-shell {
            display: flex;
            align-items: center;
            min-height: 58px;
            padding: 0 1rem;
            background: #fff;
            border-radius: 10px 0 0 10px;
        }

        .search-input-shell i {
            margin-right: 0.8rem;
            color: var(--primary);
            font-size: 1.05rem;
        }

        #search-bar {
            width: 100%;
            min-height: 52px;
            border: 0;
            outline: 0;
            color: var(--text);
            background: transparent;
            font-size: 0.96rem;
            font-weight: 600;
        }

        #search-bar::placeholder {
            color: #8b95a5;
            font-weight: 500;
        }

        .location-shell {
            display: flex;
            align-items: center;
            gap: 0.55rem;
            min-height: 58px;
            padding: 0 1rem;
            color: #334155;
            background: #fff;
            border-left: 1px solid var(--border);
            font-size: 0.9rem;
            font-weight: 750;
        }

        .location-shell .fa-map-marker-alt {
            color: var(--primary);
        }

        .location-shell .fa-chevron-down {
            margin-left: auto;
            font-size: 0.72rem;
        }

        .search-btn {
            min-height: 58px;
            border: 0;
            border-radius: 10px;
            color: #fff;
            background: linear-gradient(135deg, var(--gold), #c88218);
            font-size: 0.9rem;
            font-weight: 900;
            box-shadow: 0 12px 24px rgba(217, 154, 43, 0.26);
            transition: 0.2s ease;
        }

        .search-btn:hover,
        .search-btn:focus {
            transform: translateY(-1px);
            background: linear-gradient(135deg, #ebb448, var(--gold));
            outline: none;
        }

        #search-results {
            position: absolute;
            top: calc(100% + 0.8rem);
            left: 0;
            right: 0;
            z-index: 50;
            display: none;
            max-height: 330px;
            overflow-y: auto;
            border: 1px solid var(--border);
            border-radius: 16px;
            background: #fff;
            box-shadow: 0 18px 46px rgba(16, 42, 67, 0.15);
            text-align: left;
        }

        #search-results .list-group-item {
            color: var(--text);
            border-color: var(--border);
            font-weight: 700;
            padding: 0.95rem 1.1rem;
        }

        #search-results .list-group-item:hover {
            background: #fff6e5;
            color: var(--primary);
        }

        .content-area {
            padding: 2.25rem 3rem 2.6rem;
            background: #fff;
        }

        .results-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1.35rem;
        }

        .results-summary h2 {
            margin: 0;
            color: var(--text);
            font-family: "Playfair Display", Georgia, serif;
            font-size: clamp(1.35rem, 2.5vw, 1.85rem);
            font-weight: 800;
            letter-spacing: -0.025em;
        }

        .results-summary p {
            margin: 0.35rem 0 0;
            color: var(--muted);
            font-size: 0.95rem;
        }

        .result-count-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            min-height: 40px;
            padding: 0.55rem 0.9rem;
            color: #bd7b16;
            border: 1px solid rgba(217, 154, 43, 0.58);
            border-radius: 999px;
            background: #fffaf0;
            font-size: 0.82rem;
            font-weight: 900;
            white-space: nowrap;
        }

        .result-card {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 1.2rem;
            padding: 1.25rem;
            margin-bottom: 1rem;
            overflow: hidden;
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 18px;
            background: #fff;
            box-shadow: var(--soft-shadow);
            transition: 0.2s ease;
        }

        .result-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: linear-gradient(180deg, var(--gold), var(--primary));
            opacity: 0;
            transition: 0.2s ease;
        }

        .result-card:hover {
            transform: translateY(-4px);
            border-color: rgba(217, 154, 43, 0.42);
            box-shadow: 0 22px 54px rgba(16, 42, 67, 0.12);
        }

        .result-card:hover::before {
            opacity: 1;
        }

        .company-logo {
            flex: 0 0 84px;
            width: 84px;
            height: 84px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 17px;
            color: var(--primary);
            background: #f8fafc;
            border: 1px solid #edf0f4;
            font-size: 1.7rem;
            font-weight: 900;
        }

        .company-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 0.35rem;
        }

        .result-body {
            flex: 1;
            min-width: 0;
        }

        .company-name {
            margin: 0;
            color: var(--text);
            font-size: 1.15rem;
            font-weight: 900;
            line-height: 1.25;
        }

        .company-name a {
            color: var(--text);
        }

        .company-name a:hover {
            color: var(--primary);
        }

        .company-meta-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem 1.1rem;
            margin-top: 0.85rem;
        }

        .company-info {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            min-width: 0;
            color: var(--muted);
            font-size: 0.88rem;
        }

        .company-info i {
            width: 18px;
            margin-top: 0.2rem;
            color: var(--gold);
            text-align: center;
        }

        .company-info span {
            min-width: 0;
        }

        .company-info strong {
            color: var(--text);
            font-weight: 850;
        }

        .result-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 1rem;
        }

        .verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: #bd7b16;
            font-size: 0.8rem;
            font-weight: 900;
        }

        .more-details-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            min-height: 42px;
            padding: 0.65rem 1rem;
            border: 0;
            border-radius: 11px;
            color: #fff;
            background: linear-gradient(135deg, var(--primary), var(--primary-2));
            font-size: 0.86rem;
            font-weight: 900;
            box-shadow: 0 12px 28px rgba(6, 47, 63, 0.18);
        }

        .more-details-btn:hover {
            color: #fff;
            background: linear-gradient(135deg, var(--primary-3), var(--primary));
        }

        .ad-info {
            margin-top: 1rem;
            padding: 0.8rem 0.95rem;
            border-left: 3px solid var(--gold);
            border-radius: 13px;
            color: var(--text);
            background: #fff8ea;
            font-size: 0.88rem;
        }

        .ad-info small {
            color: var(--muted);
            font-weight: 700;
        }

        .badge-premium {
            display: inline-flex;
            align-items: center;
            margin-left: 0.45rem;
            padding: 0.32rem 0.52rem;
            border-radius: 999px;
            color: #fff;
            background: var(--primary);
            font-size: 0.72rem;
            font-weight: 800;
        }

        .no-results {
            max-width: 720px;
            margin: 0 auto;
            padding: 3.5rem 1.5rem;
            text-align: center;
            color: var(--muted);
            border: 1px dashed #cbd5e1;
            border-radius: 24px;
            background:
                radial-gradient(circle at top, rgba(217, 154, 43, 0.12), transparent 18rem),
                #fbfdff;
        }

        .no-results-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 78px;
            height: 78px;
            margin-bottom: 1rem;
            border-radius: 50%;
            color: var(--gold);
            background: var(--primary);
            font-size: 1.75rem;
            box-shadow: 0 18px 40px rgba(6, 47, 63, 0.2);
        }

        .no-results h3 {
            color: var(--text);
            font-family: "Playfair Display", Georgia, serif;
            font-weight: 800;
        }

        .suggestion-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.6rem;
            margin-top: 1.2rem;
        }

        .suggestion-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            min-height: 38px;
            padding: 0.55rem 0.85rem;
            color: var(--text);
            border: 1px solid var(--border);
            border-radius: 999px;
            background: #fff;
            font-size: 0.82rem;
            font-weight: 800;
        }

        .suggestion-chip i {
            color: var(--gold);
        }

        .suggestion-chip:hover {
            color: var(--primary);
            border-color: rgba(217, 154, 43, 0.55);
            background: #fff8ea;
        }

        .site-footer {
            padding: 2rem 3rem 1.2rem;
            color: rgba(255, 255, 255, 0.76);
            background:
                radial-gradient(circle at 90% 10%, rgba(217, 154, 43, 0.13), transparent 18rem),
                linear-gradient(135deg, #062f3f, #041f2b);
        }

        .footer-logo {
            display: inline-flex;
            align-items: center;
            gap: 0.65rem;
            margin-bottom: 1rem;
            color: #fff;
            font-weight: 900;
        }

        .footer-logo img {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

        .footer-title {
            margin-bottom: 0.95rem;
            color: #fff;
            font-size: 0.9rem;
            font-weight: 900;
        }

        .footer-list {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .footer-list li + li {
            margin-top: 0.55rem;
        }

        .footer-list a,
        .footer-bottom a {
            color: rgba(255, 255, 255, 0.74);
        }

        .footer-list a:hover,
        .footer-bottom a:hover {
            color: #ffd36c;
        }

        .social-links {
            display: flex;
            gap: 0.6rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.06);
            transition: 0.2s ease;
        }

        .social-links a:hover {
            color: var(--primary);
            background: var(--gold);
        }

        .footer-bottom {
            margin-top: 2rem;
            padding-top: 1.1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            font-size: 0.86rem;
        }

        @media (max-width: 991.98px) {
            body {
                background: #f6f8fb;
            }

            .site-frame {
                width: 100%;
                max-width: none;
                margin: 0;
                border-radius: 0;
            }

            .navbar {
                min-height: 70px;
            }

            .navbar-brand {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
            }

            .navbar-brand img {
                width: 42px;
                height: 42px;
            }

            .brand-copy strong {
                font-size: 0.78rem;
            }

            .brand-copy small {
                display: none;
            }

            .navbar-toggler {
                order: 1;
                padding: 0.5rem 0.72rem;
            }

            .header-actions {
                order: 3;
                margin-left: auto;
            }

            .sign-pill span,
            .country-text {
                display: none;
            }

            .collapse.navbar-collapse {
                order: 5;
                flex-basis: 100%;
                margin-top: 0.9rem;
                padding: 0.8rem;
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 18px;
                background: rgba(255, 255, 255, 0.07);
            }

            .navbar-nav .nav-link {
                padding: 0.75rem !important;
            }

            .navbar-nav .nav-link::after {
                left: 0.75rem;
                right: auto;
                width: 34px;
            }

            .results-hero {
                padding: 2.25rem 1rem 1.9rem;
            }

            .results-hero h1 {
                font-size: clamp(2rem, 9vw, 2.65rem);
            }

            .results-hero p {
                font-size: 0.92rem;
                line-height: 1.55;
            }

            .search-card {
                margin-top: 1.35rem;
                padding: 0.65rem;
                border-radius: 16px;
            }

            .search-panel {
                grid-template-columns: 1fr;
            }

            .search-input-shell {
                border-radius: 12px 12px 0 0;
                border-bottom: 1px solid var(--border);
            }

            .location-shell {
                border-left: 0;
                border-bottom: 1px solid var(--border);
            }

            .search-btn {
                margin-top: 0.65rem;
                border-radius: 11px;
            }

            .content-area {
                padding: 1.55rem 1rem 1.9rem;
            }

            .results-summary {
                align-items: flex-start;
                flex-direction: column;
            }

            .result-count-badge {
                border-radius: 13px;
            }

            .result-card {
                gap: 0.95rem;
                padding: 1rem;
                border-radius: 16px;
            }

            .company-logo {
                flex-basis: 68px;
                width: 68px;
                height: 68px;
                border-radius: 14px;
            }

            .company-name {
                font-size: 1rem;
            }

            .company-meta-grid {
                grid-template-columns: 1fr;
                gap: 0.45rem;
            }

            .result-actions {
                align-items: flex-start;
                flex-direction: column;
                gap: 0.75rem;
            }

            .more-details-btn {
                width: 100%;
            }

            .site-footer {
                padding: 1.8rem 1rem 1.05rem;
            }
        }

@media (max-width: 420px) {
            .site-frame {
                margin: 0;
                max-width: none;
                min-height: 100vh;
                border-radius: 0;
            }

            .result-card {
                flex-direction: column;
            }

            .company-logo {
                width: 76px;
                height: 76px;
                flex-basis: 76px;
            }
        }

/* Adapter for older public pages that still use angaza-public-* classes. */
.angaza-search-public-page .angaza-public-shell {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at top left, rgba(217, 154, 43, 0.09), transparent 28rem),
        linear-gradient(180deg, #fbfcfd 0%, #f4f7fa 100%);
}

.angaza-search-public-page .angaza-public-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.angaza-search-public-page .angaza-public-header {
    width: 100%;
    margin: 0;
    padding: 0.85rem clamp(16px, 5vw, 58px);
    border: 0;
    border-radius: 0;
    color: #fff;
    background: linear-gradient(135deg, #062f3f, #041f2b);
    box-shadow: none;
}

.angaza-search-public-page .angaza-public-brand,
.angaza-search-public-page .angaza-public-nav a {
    color: #fff;
}

.angaza-search-public-page .angaza-public-nav a {
    position: relative;
    font-weight: 800;
    opacity: 0.84;
}

.angaza-search-public-page .angaza-public-nav a:hover,
.angaza-search-public-page .angaza-public-nav a:focus,
.angaza-search-public-page .angaza-public-nav a.is-active {
    color: #ffd783;
    opacity: 1;
}

.angaza-search-public-page .angaza-public-hero:first-of-type {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 2.7rem 1rem 2.4rem;
    border: 0;
    border-radius: 0;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(217, 154, 43, 0.18), transparent 20rem),
        radial-gradient(circle at 85% 15%, rgba(59, 178, 206, 0.16), transparent 24rem),
        linear-gradient(135deg, #062f3f 0%, #041f2b 100%);
}

.angaza-search-public-page .angaza-public-hero:first-of-type::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
}

.angaza-search-public-page .angaza-public-hero:first-of-type > * {
    position: relative;
    z-index: 1;
}

.angaza-search-public-page .angaza-public-hero:first-of-type .angaza-public-title,
.angaza-search-public-page .angaza-public-hero:first-of-type .angaza-public-copy {
    color: #fff;
}

.angaza-search-public-page .angaza-public-hero:first-of-type .angaza-public-title span {
    color: #ffd36c;
}

.angaza-search-public-page .angaza-section {
    width: min(1120px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.angaza-search-public-page .angaza-card {
    border-color: var(--border);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
}

.angaza-search-public-page .angaza-public-footer {
    margin: 0;
    padding: 1.5rem clamp(16px, 5vw, 58px);
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(circle at 90% 10%, rgba(217, 154, 43, 0.13), transparent 18rem),
        linear-gradient(135deg, #062f3f, #041f2b);
}

.angaza-search-public-page .angaza-public-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.angaza-search-public-page .angaza-public-footer a:hover,
.angaza-search-public-page .angaza-public-footer a:focus {
    color: #ffd36c;
}

