/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body & HTML */
body, html {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Background Styling */
.background {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/carInspection.gif');
    background-size: cover;
    background-position: center;
}

/* Centered Container Styling */
.center-container {
    text-align: center;
    color: white;
}

/* Flex container for search bar and login button */
.search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between search bar and button */
}

/* Search Bar Styling */
.search-bar {
    width: 300px;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid white;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-bar:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Auth Buttons Styling (Login button) */
.auth-buttons {
    display: flex;
    justify-content: flex-start;
}

.auth-buttons .btn {
    padding: 15px 30px;
    font-size: 1rem;
    border: 2px solid white;
    border-radius: 25px;
    background: transparent;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.auth-buttons .btn:hover {
    background: white;
    color: black;
}

/* Styles for the transparent inspection details box */
.inspection-details-box {
    display: none; /* Initially hidden */
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 60%; /* Position it below the search bar */
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}