/* General styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Content area */
.content {
    min-height: 100vh;
    /* Minimum viewport height */
    /* Other styles for content */
}

/* Header or navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Styles for your header */
}


.share-popup {
    display: flex;
    /* Center horizontally */
    justify-content: center;
    align-items: center;
    /* Center vertically (optional) */
    /* Other styles for the popup */
}
.popup-content {
    /* Additional styles for the popup content */
}

body {
    background-color: #041B16; //
    /* Black */
    color: #d3d3d3;
    /* Ash Grey */
    font-size: 17px;
}

.center-2col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.center-2col > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  position: relative;
}

.box {
    max-width: 480px;
    margin: auto;
    padding: 5px;
}

input,
select {
    background-color: #7BB29B !important;
    /* Gray-Green */
    color: #d3d3d3 !important;
    /* Ash Grey */
    border: #1F332C 1px solid;
    /* Darker Gray-Green */
}

.center {
    text-align: center;
}

.diatance_meter {
    font-size: 64px;
    color: #fdd835;
    /* Yellow */
}

.diatance_meter_km {
    font-size: 24px;
    color: #fdd835;
    /* Yellow */
}

.time_meter {
    font-size: 36px;
    color: #ffd700;
    /* Gold */
}

.price {
    font-size: 36px;
    color: #ffff00;
    /* Bright yellow */
}


.default {
    background-color: #1F332C;
    /* Darker Gray-Green */
    color: white;
    font-size: 18px;
    padding-left: 15px;
    padding-right: 15px;
}

.pause {
    background-color: #28a745;
    /* dark green */
}

.idle {
    background-color: #d32f2f;
    /* Red */
}

.traffic {
    background-color: #ff7043;
    /* Orange */
}

small {
    color: #d3d3d3;
    /* Ash Grey */
}

.ticket {
    font-size: 16px;
    color: #d3d3d3;
    /* Ash Grey */
    text-align: left;
    padding: 10px;
}

small {
    color: #EEFCF7;
    /* Medium Ash Grey */
}

.controlbtn {
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    padding: 5px;
    font-size: 16px;
    margin: 2rem;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 3px;
    background: #EEFCF7;
    /* Medium Ash Grey */
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #7BB29B;
    /* Gray-Green */
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #7BB29B;
    /* Gray-Green */
    cursor: pointer;
}

.modal-content {
    background-color: #1F332C;
    /* Darker Gray-Green */
    color: #d3d3d3;
    /* Ash Grey */
    font-size: 14px;
}

.row {
    margin: 0;
    padding: 0px;
}

.form-group {
    padding: 5px;
    margin: 0px;
}

.col,
.col-4 {
    padding: .25rem;
}

.category-img {
    height: 3rem;
}

.category-item {
    padding: 0.5rem;
    background: #7BB29B;
    /* Gray-Green */
}

input:checked+.check-label {
    background-color: #455a64 !important;
    /* Slightly Lighter Gray-Green */
}

.check-label {
    border-bottom: #1F332C 0.5px solid;
    /* Darker Gray-Green */
    padding: 0.2rem;
    border-radius: 0.5rem;
}

.text-md {
    font-size: 1.1rem;
}

.install-button {
    display: block;
    margin: 0 auto;
    /* Center the button horizontally */
    text-align: center;
}

.video-container {
    width: 100vw;
    /* 100% of viewport width */
    height: 10px;
    overflow: hidden;
    /* Hide any overflow beyond the container */
    position: fixed;
    bottom: 0px;
}

.video-container video {
    width: 100%;
    /* 100% width of the container */
    height: auto;
    /* Let the height adjust to maintain aspect ratio */
    display: block;
    /* Ensure the video is displayed as a block element */
}

/* Styles for portrait orientation */
@media (orientation: portrait) {
    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .item {
        width: 90%;
        margin: 3px 0;
    }

    .register-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 20px;
        /* Adjust as needed */
    }

    .register-button {
        display: block;
        width: fit-content;
    }
}

/* Styles for landscape orientation */
@media (orientation: landscape) {
    .container {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .item {
        width: 99%;
        margin: 1px 0;
        box-sizing: border-box;
    }

    .box {
        max-width: 100%;
        margin: auto;
        padding: 1px;
    }

    .item-1 {
        margin: auto;
        margin-left: -40px;
        flex-basis: 50%;
        /* Custom width for item 1 */
    }

    .item-2 {
        margin: auto;
        margin-right: -10px;
        flex-basis: 50%;
        /* Custom width for item 2 */
    }

    .item-3 {
        flex-basis: 1%;
        /* Custom width for item 3 */
    }

    .register-section {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 20px;
        /* Adjust as needed */
    }

    .register-button {
        display: block;
        width: fit-content;
    }
}

/* Default styles */
.register-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    /* Adjust as needed */
}

.register-button {
    display: block;
    width: fit-content;
}