form#searchForm {
    background-color: #f8f9fa; /* Light gray background */
    padding: 15px; /* Add padding inside the form */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

form#searchForm input,
form#searchForm select,
form#searchForm button {
    height: 48px; /* Uniform height for all elements */
    font-size: 1rem; /* Make text slightly larger */
}

form#searchForm button {
    font-weight: bold; /* Emphasize the button text */
}




.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 14px;
    z-index: 1050;
}

.ui-menu-item {
    padding: 8px 10px;
    line-height: 1.5;
}

.ui-state-active {
    background-color: #007bff !important;
    color: #fff !important;
}

.responsive-image {
    max-width: 100%; /* Image will never be wider than its container */
    height: auto; /* Maintain aspect ratio */
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card .img-fluid {
    max-height: 100px;
    object-fit: contain;
}

.card h6 {
    font-weight: bold;
    margin-top: 10px;
}

.card p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.card .btn-primary {
    background-color: #007bff;
    border: none;
}

.card .btn-primary:hover {
    background-color: #0056b3;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    border-radius: 30px;
    color: white;
    text-align: center;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary span:first-child {
    font-size: 18px;
    font-weight: bold;
}

.btn-primary span:last-child {
    font-size: 14px;
    font-weight: lighter;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px; /* Adjust spacing if needed */
}
form#searchForm button {
    font-weight: bold;
    height: auto; /* Allow button to adjust height dynamically */
    padding: 10px 15px; /* Add padding for breathing room */
    line-height: 1.2; /* Adjust line spacing */
    display: flex;
    flex-direction: column; /* Stack text vertically */
    align-items: center; /* Center-align the text */
    justify-content: center; /* Center-align within button */
}

form#searchForm button span {
    margin: 0; /* Remove extra spacing */
}

.btn-primary {
    border-radius: 20px; /* Slightly rounded edges */
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    transform: scale(1.05); /* Slight zoom effect */
}
@media (max-width: 768px) {
    form#searchForm button {
        font-size: 14px; /* Adjust size for smaller screens */
        padding: 8px 10px;
    }

    form#searchForm button span {
        font-size: 12px; /* Smaller text for small screens */
    }
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

.nav-tabs .nav-link {
    color: #007bff;
}

.nav-tabs .nav-link.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}


.btn-success:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.logo-img {
    max-height: 60px;
    object-fit: contain;
}
.tab-content img {
    max-height: 300px;
    margin-bottom: 15px;
}
.btn-success {
    float: right;
}
.tab-content {
    display: flex; /* Ensures content alignment */
    flex-direction: column; /* Keeps content vertical */
    min-height: 300px; /* Fixed minimum height to avoid jumping */
    max-height: 300px; /* Optional: Defines a maximum height */
    overflow-y: auto; /* Adds scrollbar if content exceeds height */
    transition: height 0.3s ease-in-out; /* Smooth height adjustment */
    background-color: #f8f9fa; /* Optional: Add a background for better visibility */
    padding: 15px; /* Optional: Add some padding for a neat layout */
    border: 1px solid #ddd; /* Optional: Add a border for better definition */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.policy-box {
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners */
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 30%; /* Adjust the width for side-by-side layout */
    min-width: 200px; /* Prevent shrinking too much */
    cursor: pointer; /* Pointer cursor for clickable areas */
    text-align: center; /* Center-align text */
    flex: 1; /* Allow even distribution */
}

.policy-box:last-child {
    margin-right: 0; /* Remove extra margin from the last box */
}

.policy-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.policy-box h6 {
    font-weight: bold;
    margin-bottom: 10px;
}

.policy-box p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

/* Container for aligning boxes */
.policy-container {
    display: flex;
    flex-wrap: wrap; /* Wrap items for smaller screens */
    gap: 15px; /* Add space between boxes */
    justify-content: space-between; /* Spread items evenly */
}

/* Hide radio buttons */
.policy-box input[type="radio"] {
    display: none; /* Hide the radio button */
}

/* Highlight selected option */
.policy-box input[type="radio"]:checked + h6 {
    color: #007bff; /* Change text color of selected box */
}

/* Optional for a badge */
.policy-box h6 span {
    font-size: 12px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    padding: 2px 5px;
    margin-left: 5px;
}

.tab-content img {
    width: 100%; /* Set images to fill their container */
    max-width: 500px; /* Optional: Limit the maximum width */
    height: 300px; /* Fixed height for uniformity */
    object-fit: cover; /* Ensure images are cropped proportionally */
    display: block; /* Ensure the image does not inline with other content */
    margin: 0 auto 15px; /* Center align with some bottom spacing */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for better visuals */
}

#results .plane-images {
    display: flex;
    justify-content: center; /* Center-align the images */
    gap: 15px; /* Add spacing between images */
    margin-bottom: 15px; /* Space between images and details */
}

#results .plane-images img {
    width: auto;
    max-width: 200px; /* Adjust as needed */
    height: auto;
    object-fit: contain;
    border-radius: 5px; /* Optional: Add rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better visuals */
}




