*, *::before, *::after {
    box-sizing: border-box;
}

.install-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #ff5722;
    color: white;
    padding: 16px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}
.install-banner button {
    background: white;
    color: #ff5722;
    border: none;
    padding: 10px 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}


body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    color: #fff;
    /*background: url("/static/pwa_vehicle/img/Snortland_Staley_Fire_2017_blurred.webp") no-repeat center center/cover #241f17;*/
    background: url("/static/pwa_vehicle/img/blur_background_115x144.webp") no-repeat center center/cover #7c6c54;

}

.hero-section {
    /*background: linear-gradient(to top, #7c6c54, #76654d);*/
    /*background-color: #7c6c54;*/
    background: url("/static/pwa_vehicle/img/Snortland_Staley_Fire_half.webp") no-repeat center center/cover;
    height: 100vh;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    padding: 0 1rem;
    overflow: auto;
    display: flex;
    flex-direction: column;
    justify-content: normal;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vh 0;
    height: 10vh;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: underline;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    /*vertical-align: sub;*/
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 5rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.btn {
    background: #ff3b3b;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #e02424;
}

.error {
    color: #c62828;
    font-weight: bold;
}

.content-bg {
    background: none;
    position: relative;
    height: auto;
}

.content-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    margin-bottom: 20px;
    background: rgba(245, 243, 240, 0.10);
    border-radius: 12px;
    border: 3px solid rgba(255, 87, 34, 0.35);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.main-container {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: auto;
    padding-top: 0;
    padding-bottom: 10vh;
    min-height: 74vh;
    text-align: center;
}

.main-container input,
.main-container select {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ffffff80;
    height: 47px;
}

.main-container button {
    background: #e53935;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: bold;
}

.main-container button:hover {
    background: #c62828;
}

.main-container form p {
    text-align: left;
}

.main-container a {
    color: #fff;
    display: block;
    margin-top: 1rem;
    text-decoration: underline;
}

.scan-wrap {

}

.scan-wrap #start-scan {
    float: right;
    background: none;
    margin: 0;
    font-size: medium;
    padding: 3px 8px;
    border: 1px solid gray;
}

.form-group{
    margin-top: 14px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: unset;
        height: auto;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .main-container {
        max-width: 90%;
        padding-top: 2vh;
        padding-bottom: 10vh;
    }
}