﻿/* This targets ONLY this specific tracking bar */
.tracking-wrapper .input-group {
    height: 42px; /* Set the exact height you want here */
    display: flex;
    align-items: stretch;
}

.tracking-wrapper .form-control,
.tracking-wrapper .input-group-append .btn,
.tracking-wrapper .input-group-append .main-btn {
    height: 100% !important; /* Forces them to match the 42px parent */
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Match borders to prevent 1px misalignments */
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

/* Specific fix for the track button if it has no border */
.tracking-wrapper .main-btn {
    border-right: 1px solid #ced4da;
    padding: 0 20px;
    line-height: 1;
}



/* 1. The main visible dot */
.pulse-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    position: relative;
    /* Option A: The quick nudge */
    vertical-align: middle;
    /* Option B: Precision placement */
      top: -2px; /* Uncomment and adjust this if it still looks slightly off */

    margin-right: 12px;
}

    /* 2. The pulsing ring */
    .pulse-dot::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: inherit;
        border-radius: 50%;
        z-index: 1;
        /* This links to the animation below */
        animation: pulse-animation 2s infinite;
    }

/* 3. The animation instructions */
@keyframes pulse-animation {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}



/* 1. The Parent: Added horizontal padding */
.tracking-parent {
    display: flex;
    justify-content: flex-end;
    padding: 0 15px; /* Adds 15px space on the left and right sides */
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't add to the total width */
}

/* 2. The Container */
.tracking-container {
    display: flex;
    width: 100%;
    max-width: 100%; /* Mobile default */
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    height: 35px;
}

/* 3. Desktop Adjustment */
@media (min-width: 992px) {
    .tracking-container {
        max-width: 300px; /* Snaps back to 300px on large screens */
    }

    .tracking-parent {
        padding: 0; /* Optional: remove extra padding on desktop if you want it flush right */
    }
}

#bookingInputIndexPage {
    border: none;
    padding: 0 10px;
    font-size: 14px;
    flex-grow: 1;
    min-width: 0;
    outline: none;
}

#submitBtnIndexPage {
    background: #007BFF;
    font-size: 12px;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    height: 100%;
    flex-shrink: 0;
}


.cobracore-return-to-search {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* Light grey background */
    color: #007BFF; /* Blue text to look clickable */
    padding: 15px;
    margin-top: 20px;
    border: 1px dashed #007BFF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .cobracore-return-to-search:hover {
        background-color: #eef6ff;
        text-decoration: underline;
    }

/* The blue arrow */
.cobracore-arrow-up {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 8px solid #007BFF;
    margin-right: 12px;
}



.cobracore-disclaimer {
    font-size: 9px;
    /* A soft, "off-white" that isn't too piercing on blue */
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-style: italic;
}

.grecaptcha-badge {
    visibility: hidden;
}

.cobracore-scroll-hint {
    position: fixed;
    bottom: 50%; /* 1/4 up from the bottom (75% down the screen) */
    right: 20px; /* Pinned to the right side */
    z-index: 9999; /* Ensure it sits above the map and menu */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: auto; /* Now it can be clicked! */
    cursor: pointer; /* Shows the "hand" icon on hover */
}
 

    .cobracore-scroll-hint span {
        font-size: 12px;
        text-transform: uppercase;
        background: rgba(255, 255, 255, 0.5); /* Subtle background to keep it readable */
        padding: 4px 8px;
        border-radius: 4px;
        margin-bottom: 5px;
        box-shadow: 0 2px 5px #4b5563;
    }

.cobracore-arrow {
    width: 15px;
    height: 15px;
    border-right: 4px solid #333;
    border-bottom: 4px solid #333;
    transform: rotate(45deg);
    margin-right: 10px;
    animation: cobracore-bounce 2s infinite;
}

/* Hide on desktop since the map is likely visible anyway */
@media (min-width: 768px) {
    .cobracore-scroll-hint {
        display: none;
    }
}

@keyframes cobracore-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-10px) rotate(45deg);
    }

    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}


    #tracking-results {
        /* Gives the scroll animation 2rem of "breathing room" at the top */
        scroll-margin-top: 100px;
        min-height: 500px; /* Prevents layout shift while loading */
    }

#map-container {
    scroll-margin-top: 100px; /* Match the height of your sticky menu */
}


    .g-recaptcha {
        transform: scale(0.85); /* 1.0 is full size, 0.85 is 85% size */
        transform-origin: 0 0; /* Keeps it aligned to the left/top */
        -webkit-transform: scale(0.85);
        -webkit-transform-origin: 0 0;
    }


    .blog-carousel-wrapper {
        position: relative;
    }

    .blog-carousel-container {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 1rem; /* Space for scrollbar */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: #d1d5db #f3f4f6; /* Firefox */
        scroll-behavior: smooth;
    }

        .blog-carousel-container::-webkit-scrollbar {
            height: 8px;
        }

        .blog-carousel-container::-webkit-scrollbar-track {
            background: #f3f4f6;
            border-radius: 4px;
        }

        .blog-carousel-container::-webkit-scrollbar-thumb {
            background-color: #d1d5db;
            border-radius: 4px;
        }

    .blog-item {
        display: inline-block;
        float: none;
        vertical-align: top;
        white-space: normal;
    }
    /* Card styling to make them look nice */
    .card {
        border: none;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease-in-out;
        border-radius: 0.75rem;
    }

        .card:hover {
            transform: translateY(-5px);
        }

    .card-img-top {
        border-top-left-radius: 0.75rem;
        border-top-right-radius: 0.75rem;
    }

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

        .carousel-control:hover {
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

    .carousel-control-prev {
        left: 1rem;
    }

    .carousel-control-next {
        right: 1rem;
    }

    .carousel-control svg {
        width: 20px;
        height: 20px;
        fill: #4b5563;
    }

    /* Force the dropdown box to be visible and white */
    .navbar .dropdown-menu {
        background-color: #ffffff !important;
        display: none; /* Let JS handle the toggling */
        border: 1px solid #ddd !important;
        padding: 5px 0 !important; /* Reduces vertical space at top/bottom of the box */
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        font-family: inherit; /* Forces it to use the template's main font */
    }

    /* Force the text inside to be Dark Gray/Black */
    .navbar .dropdown-item {
        color: #333333 !important;
        display: block !important;
        background: transparent !important;
        padding: 8px 20px !important; /* Smaller vertical padding (top/bottom) */
        font-size: 0.9rem !important; /* Slightly smaller than main menu for hierarchy */
        font-weight: 500 !important;
        line-height: 1.2 !important; /* Tightens the text height */
        transition: all 0.3s ease;
    }

        /* Change background on hover so you know it's a link */
        .navbar .dropdown-item:hover {
            background-color: #f1f1f1 !important;
            color: #007bff !important; /* CobraCore Blue */
        }

    /* Ensure that when the 'show' class is added by JS, it actually displays */
    .navbar .dropdown-menu.show {
        display: block !important;
    }




    @media (max-width: 991px) {
        /* If the dropdown is open, force the navbar-collapse to stay block */
        .navbar-collapse.show {
            display: block !important;
            height: auto !important;
            margin: 5px 15px !important; /* Pulls the submenu in from the edges on mobile */
            border-radius: 8px !important;
            border: 1px solid #eee !important;
        }

        /* Fix the white font issue once and for all */
        .navbar-collapse .dropdown-menu .dropdown-item {
            color: #333333 !important; /* Dark text */
            background-color: #f8f9fa !important;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            padding: 10px 20px !important;
            border-bottom: 1px solid #eee;
        }
    }


    /* Exact styles from your code */
    .icon-outline {
        filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px -1px 0 white) drop-shadow(1px -1px 0 white) drop-shadow(-1px 1px 0 white);
    }

    .eta-alert {
        color: #ffc107;
        background-color: #fff3cd;
        padding: 8px;
        border-radius: 4px;
        text-align: center;
    }
    /* Custom UI theme mapping */
    .cobracore-theme {
        background-color: #f8f9fa; /* Assuming light theme based on code */
        border-bottom: 2px solid #dee2e6;
        padding: 8px !important;
        color: #000000;
    }

    .my-button {
        font-size: 0.8rem;
    }

    .list-group-item-info {
        border-left: 5px solid #0dcaf0 !important;
    }
 