* {
    font-family: "HariettText",Arial,Helvetica,sans-serif;
}

body {
    background-color: #ededed;
    font-size: 1.0em;
    line-height: 1.5em;
    margin: 0px;
    padding: 0px;
    background: #ececec;
}

.validation-message {
    color: #e50000;
}

.image_container {
    margin: 30px;
}

.main_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 90vw;
    margin: auto;
}

.card {
    background-color: #fbfbfb;
    border-radius: 15px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 80vw;
    height: 85vh;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 85vh;
    width: 80vw;
}

.form_container  {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 10vh;
    width: 70vw;
    margin-bottom: 20px;
}

.log_in_form_container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 85vh;
    width: 70vw;
}

.list_and_add_container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 70vw;
    height: 10vh;
}

.log_in_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh;
    width: 70vw;
}

.header_container {
    margin: 20px;
    width: 80vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    .header_container > div:first-child {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
    }

    .header_container img {
        width: 90%;
        max-width: 325px;
        height: auto;
    }

.form_container input, .log_in_container input {
    margin: 10px;
    width: 20vw;
    height: 1.5em;
    padding: 5px;
    border: 2px solid #ccc8c8;
    border-radius: 5px;
    font-size: 1em;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    text-transform: uppercase;
}

    button {
        margin: 10px;
        padding: 8px;
        width: 20vw;
        background-color: #9FB07C;
        border: none;
        border-radius: 5px;
        color: black;
        font-size: 1em;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    button:hover {
        background-color: #6EAEB9;
    }

.vehicles-container {
    overflow-y: scroll;
    overflow-x: hidden;
    width: 70vw;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 10px;
}

.vehicle-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    margin: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 60vw;
    font-size: 1rem;
    font-weight: 600;
}

.vehicle-info {
    flex: 1;
    text-align: left;
}

.start-button,
.stop-button,
.change-button {
    width: 20vw;
    height: 2.5em;
    text-align: center;
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    background-position: center;
    background-repeat: no-repeat;
    background-clip: padding-box;
}

.start-button {
    background-color: white !important;
    background-image: url('/images/swish-logotype.svg') !important;
    background-size: calc(100% - 10px) calc(100% - 10px);
    padding: 5px;
}

.stop-button {
    background-color: #A86465;
}

.change-button {
    background-color: #DFBB62;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.signout-btn {
    background-color: #A86465;
    border: 1px solid #ccc8c8;
    width: 26px;
    height: 26px;
    padding: 4px;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.delete-button {
    background-color: #A86465;
    color: white;
    width: 5em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
    .delete-button:disabled {
        cursor: not-allowed;
        opacity: 0.5;
        background-color: #A86465;
    }

    .delete-button:hover:not(:disabled) {
        background-color: #A86465;
    }

        .vehicle-card:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .vehicle-card.chosen {
        border: 2px solid #007bff;
        background-color: #e7f3ff;
    }

    .vehicle-card button {
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        color: white;
        cursor: pointer;
        transition: background-color 0.2s;
    }

@media (max-width: 400px) {
    .start-button,
    .stop-button,
    .change-button
    {
        width: 20vw;
        font-size: 0.8em;
    }
}

@media (min-width: 800px) {
    .start-button,
    .stop-button,
    .change-button {
        max-width: 6vw;
    }
}

.bm-container {
}

.blazored-modal[b-mwsrhhqq2g] {
    border-radius: 12px !important;
    border: 2px solid #9FB07C !important;
    color: #3b62f8 !important;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5) !important;
}

.bm-close[b-mwsrhhqq2g]{
    padding: 0px !important;
}

.bm-header[b-mwsrhhqq2g]{
    padding: 0px !important;
}

.bm-container button {
    width: 20px;
    height: 20px;
    color: orangered;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.bm-header {
    padding: 0;
}

    .bm-title{
        margin: 0;
        padding: 0;
    }

.bm-container span{
    display: inline-block;
    pointer-events: none;
    padding: 0;
}

.bm-content button{
    width: 5em;
    height: 2em;
    text-align: center;
    color: white;
    margin-left: 1em;

}

ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    padding: 8px;
    border-bottom: 1px solid #ccc;
    font-size: 1.2em;
}

    li:last-child {
        border-bottom: none;
    }
