﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 4.5rem; /* Footer height */
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 3.8rem; /* Footer height */
    padding-top: 1rem;
}

/* Optional: Apply styles to the copyright text */
.footer-text {
    text-align: center; /* Center the text horizontally within the footer */
}


/* Style the info icon */
.info-icon {
    color: blue;
    cursor: pointer;
}

/* Define the accordion container */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out; /* Add a transition effect for smooth animation */
}


/*********************************************************************************************************************************/




card-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 18px;
    text-align: center;
    color: blue;
    padding: -5px;
}

.card-text {
    font-size: 16px;
    text-align: center;
    color: black;
    margin-top:10px;
    padding:10px;
}

.list-group {
    margin-top: 10px;
    text-align: center;
}

.list-group-item {
    border: none;
    padding: 5px;
    text-align: center;
}



/*********************************************************************************************************************************/







.service-dropdown {
    max-width: 70%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 18px;
    color: #333;
}

    .service-dropdown:focus {
        border-color: #66afe9;
        outline: none;
        box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
    }




.no-available-time {
    text-align: center;
    font-weight: bold;
    color: dimgray; /* Red color for emphasis */
    padding: 20px;
    border: none !important;
    pointer-events: none; /* Make it not clickable */
    font-size: 1.1em !important;
    opacity: 0.6; /* Make it look disabled */
}

    .no-available-time:hover {
        color: black !important; /* Ensure the color remains the same on hover */
        background: none !important;
        border: none !important;
    }

/* Genel stil */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin: 10px;
}

    /* Giriş stil */
    .toggle-switch .toggle-input {
        display: none;
    }

    /* Anahtarın stilinin etrafındaki etiketin stil */
    .toggle-switch .toggle-label {
        position: absolute;
        top: 0;
        left: 0;
        width: 40px;
        height: 24px;
        background-color: #AA0011;
        border-radius: 34px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        /* Anahtarın yuvarlak kısmının stil */
        .toggle-switch .toggle-label::before {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            top: 2px;
            left: 2px;
            background-color: #fff;
            box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s;
        }

    /* Anahtarın etkin hale gelmesindeki stil değişiklikleri */
    .toggle-switch .toggle-input:checked + .toggle-label {
        background-color: #4CAF50;
    }

        .toggle-switch .toggle-input:checked + .toggle-label::before {
            transform: translateX(16px);
        }

    /* Light tema */
    .toggle-switch.light .toggle-label {
        background-color: #BEBEBE;
    }

    .toggle-switch.light .toggle-input:checked + .toggle-label {
        background-color: #9B9B9B;
    }

        .toggle-switch.light .toggle-input:checked + .toggle-label::before {
            transform: translateX(6px);
        }

    /* Dark tema */
    .toggle-switch.dark .toggle-label {
        background-color: #4B4B4B;
    }

    .toggle-switch.dark .toggle-input:checked + .toggle-label {
        background-color: #717171;
    }

        .toggle-switch.dark .toggle-input:checked + .toggle-label::before {
            transform: translateX(16px);
        }



/* Style the heading */
.t-h {
    font-size: 46px;
    font-weight: 600;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 5px solid #007bff;
    color: #333;
}



.txt-msg {
    height: 8em;
    font-size: 1.6em;
}





* {
    margin: 0;
    padding: 0;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}


.swal-title {
    background-color: #F7F5F5;
    padding: 20px;
    height: 80px;
}

    .swal-title .title {
        font-weight: bold;
        color: #333;
    }

.swal-button {
    background-color: darkblue;
    color: white;
    font-weight: 600;
}





.car-title, .calendar-title, .customer-title {
    display: flex;
}



.yourCarText-title {
    margin-top: 0.2rem;
    margin-left: 1rem;
    font-weight: 600;
    font-size: 18px;
}

#carInfo-headerText {
    font-size: 18px;
    font-weight: 500;
    margin-left: 40px;
    color: gray;
}


.text-title {
    margin-top: 0.3rem;
    margin-left: 1rem;
    font-weight: 600;
    font-size: 18px;
}


#car-hd-bl, #calendar-hd-bl {
    height: 0;
    overflow: hidden;
    transition: height 0.9s ease;
    justify-content: center;
    align-items: center;
}

#customer-hd-bl {
    height: 0;
    overflow: hidden;
    transition: height 0.9s ease;
    justify-content: center;
    align-items: center;
    margin-bottom :15px;
}

p {
    font-size: 18px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: gray;
}

.hiding-block {
    display: flex;
    margin: 0 auto;
    margin-top: -1rem;
    padding: 2rem;
}

label {
    font-size: 20px;
}


.hiding-bt {
    /* position: absolute; */
    /* width: 100%; */
    flex: 1;
    display: flex;
    /* max-width: max-content; */
    border: none;
    background: none;
    right: 0;
    /* margin-right: 1rem; */
    /* margin-top: -2rem; */
    transition: 0.3s;
    justify-content: flex-end;
}


    .hiding-bt:hover {
        transform: translateX(10px);
        transition: transform 0.3s ease;
    }


.sbt-button {
    height: 44px; /* Adjust the desired height */
    border-radius: 5px; /* Adjust the desired border radius */
    font-weight: 600 !important;
    padding-top: 5px;
    margin-top: 1px;
    margin-bottom: 40px;
    width: 300px;
    font-size: 19px !important; /* Adjust the desired font size */
}





/* Din Bil block */

/* Loading Icon Animation */
.loading-animation::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #007bff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


.car-info {
    width: 68%;
    margin: 0 auto;
    margin-top: 2rem;
    border: 1px solid rgba(0,0,0,.125);
    padding-top: 1rem;
    padding-bottom: calc(1rem);
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075);
    border-radius: 0.25em;
    position: relative;

}
#regnummer {
    align-items: center;
    height: calc(2.5em + 2px);
    padding: 0.5em 1em;
    font-size: .25em;
    line-height: 1.5;
    border-radius: 0.3em;
}

#registrationNumber-input {
    height: 55px; /* Adjust the desired height */
    font-size: 24px; /* Adjust the desired font size */
    border-radius: 5px; /* Adjust the desired border radius */
    text-transform: uppercase; /* Capitalize the letters */
    max-width: 300px;
    letter-spacing: 0.1em;
    font-family: sans-serif;
}
#mileage-input {
    height: 55px; /* Adjust the desired height */
    font-size: 20px; /* Adjust the desired font size */
    border-radius: 5px; /* Adjust the desired border radius */
    max-width: 300px;
    letter-spacing: 0.1em;
    font-family: sans-serif;
}
    /* Remove spinner arrows in Webkit browsers (Chrome, Safari, Edge) */
    #mileage-input::-webkit-outer-spin-button,
    #mileage-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Remove spinner arrows in Firefox */
    #mileage-input[type=number] {
        -moz-appearance: textfield;
    }


/* Bokning block */
.small-calendar {
    margin: auto;
}

input[type="date"] {
    background-color: #fff;
    padding: 0.25rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    display: flex;
    position: relative;
    color: black;
    font-size: 16px;
    border: 1px solid rgba(0,0,0,.125);
    outline: none;
    border-radius: 0.25em;
    transition: 1s;
    margin: auto;
    margin-bottom: 1rem;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075)
}

    input[type="date"]:hover {
        background-color: #fff;
        color: #0080ff;
        border: 1px solid #0080ff;
    }

::-webkit-calendar-picker-indicator {
    color: #fff;
    padding: 3px;
    cursor: pointer;
    border-radius: 0.25em;
}

#calendar {
    width: 68%;
    margin: 0 auto;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,.125);
    padding-top: 1rem;
    padding-bottom: 1.8rem;
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075);
    border-radius: 0.25em;
    position: relative;
    overflow: auto;
}

.calendar-header {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 0.25em;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075)
}
#calendar-headerText {
    font-size: 18px;
    margin-left: 40px;
    display: flex;
    color: gray;
}

.booking-container-contact {
    width: 400px;
    border: none;
    display: grid;
    height: 100px;
    border-radius: 0.25em;
    position: relative;
    overflow: auto;
    max-height: 130px; 
}
.left-column-contact {
    grid-column: 1;
    margin: 1px;
    padding: 5px 0px 5px 0px;
}

.right-column-contact {
    grid-column: 2;
    margin: 1px;
    padding: 5px 5px 5px 5px;
}

.booking-container-booking {
    width: 400px;
    border: none;
    display: grid;
    height: 120px;
    border-radius: 0.25em;
    position: relative;
    overflow: auto;
    max-height: 150px;
}

.left-column-booking {
    grid-column: 1;
    
    margin: 1px;
    padding: 5px 0px 5px 0px;
}

.right-column-booking {
    grid-column: 2;
 
    margin: 1px;
    padding: 5px 0;
}

.booking-container {
    border: 0px solid rgba(0, 0, 0, .125);
    display: grid;
    grid-template-columns: 30% 65%;
    grid-gap: 20px;
    padding: 10px 5px;
    border-radius: 0.25em;
    position: relative;
    height:auto;

}


.left-column {
    grid-column: 1;
    margin: 5px;
    padding: 5px 0px 5px 5px;
}

.right-column {
    grid-column: 2;
    margin: 5px 2px;
    padding: 20px 0px 5px -5px;
    align-content: center;
}



#serviceDetails {
    border: none;
    padding: 0;
    font-family: Roboto, sans-serif, Arial;
}
    #serviceDetails h2 {
        font-size: 20px;
        font-weight: bold;
        color: #333;
        margin-top: 0;
    }
    #serviceDetails h3 {
        font-size: 17px;
        color: #333;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    #serviceDetails h4 {
        /*font-size: 14px;*/
        font-size: 1.5rem;

        color: #333;
        margin-top: 0.25em;
    }
    #serviceDetails h4 > span {
        font-size: 1em; 
        width: max-content;
        display: inline-block;
        font-weight: bold;
    }
    #serviceDetails *:has(>h4) {
        display: flex;
        flex-direction:column;
        justify-content:start;
    }

    #serviceDetails h5 {
        font-size: 40px;
        color: #333;
        text-align: left;
        margin-top: -10px;
        font-weight: bold;
        display: flex;
        align-items: end;
    }

        #serviceDetails h5 > span {
            display: block;
            margin-left: 0.25em;
        }

    #serviceDetails h6 {
       font-size: 1.25rem;
    }

    #serviceDetails span {
        font-size: 28px;
        font-weight: 500;
    }


.custom-select {
    margin: 10px 0px;
    position: relative;
    max-width :80%;
}
    .custom-select select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 18px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }

        .custom-select select::-ms-expand {
            display: none;
        }

    .custom-select label {
        display: block;
        font-size: 16px;
        margin-bottom: 5px;
    }

.custom-select-wrapper {
    position: relative;
}




/* Add your custom styling for the checkboxes and their labels here */
.checkbox-options {
    display: block;
    flex-wrap: wrap;
}

.custom-checkbox {
    display: flex;
    align-items: center;
}

    .custom-checkbox input[type="checkbox"] {
        transform: scale(0.8); /* Adjust the scale value to make the checkbox smaller */
        margin-right: -45px;
    }

    .custom-checkbox label {
        white-space: nowrap; /* Prevent text from wrapping */
        overflow: hidden;
        text-overflow: ellipsis; /* Add ellipsis (...) for overflow */
        margin-bottom: 0;
        font-size: 16px; /* Adjust the font size as needed */
    }

/* Box styling */
.custom-select {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    background-color: #f8f8f8;
}



#vehicleInfoLabel {
    display: block;
    margin: 2px 0;
    width: 300px;
    font-size: 16px;
}


#mileageInfoLabel {
    display: block;
    margin: 2px 0;
    width: 300px;
    font-size: 16px;
}



.custom-select-style {

    height: 50px !important;
    font-size: 19px !important;
    background-color: #f8f9fa !important;
    padding: 9px 20px !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border-radius: 0.25em !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #c0c0c0;
}

.custom-select-width-1 {
    width: 220px !important;
}

.custom-select-width-2 {
    width: 150px !important;
}

.custom-select-width-bs {
    width: 180px !important;
}


    .custom-select-style:hover::before {
        /* ... */
        opacity: 1;
    }

    .custom-select-style::before {
        /* ... */
        background: none;
        border-bottom: 2px solid #f8f9fa;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .custom-select-style select {
        /* ... */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer; /* Add cursor pointer to indicate interactivity */
    }

    .custom-select-style:focus {
        /* ... */
        -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
        -moz-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    }


    .custom-select-style select::-ms-expand {
        display: none;
    }

.custom-select-style option {
    /* ... */
    transform: translateY(-50%);
    opacity: 0;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    
}
    .custom-select-style option[disabled] {
        display: none;
    }

.custom-select-style select:focus option {
    transform: translateY(0);
    opacity: 1;
}

    .custom-select-style option:checked {
        background-color: #e2e6ea;
        color: black;
    }




.prev-week-btn, .next-week-btn {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    transition: 0.5s;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075);
    border-radius: 0.25em;
}

    .prev-week-btn:hover, .next-week-btn:hover {
        background-color: #eee;
    }
    .prev-week-btn[disabled], .next-week-btn[disabled] {
        background-color: #eee;
        color: #999;
        cursor: default
    }


.week {
    font-size: 26px;
    font-weight: bold;
    padding-top: 8px;
    margin:  0;
}
.week >span{
    display:block;
    font-size: 1.125rem;
    color:gray;
    margin-top:-0.25em;
}
.weekRange {
    font-size: 16px;
    font-weight: bold;
    color: gray;
    align-content: center;
}
.centered-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 6vh; /* Adjust this value based on your layout */
}


/* Calendar Days */
#calendar-days {
    display: flex;

}

.day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: ghostwhite;
}

.day-name {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.day-date {
    font-size: 20px;
    text-align: center;
}

/* Calendar Times list*/
.time-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;

}

.time-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;

    display: grid;
    grid-template-columns: [mon] 1fr [tue] 1fr [wed] 1fr [thu] 1fr [fri] 1fr;
    grid-auto-rows: auto;
}
.time-list li {
    grid-row-start: auto;
    animation: 0.4s 1 forwards timelistAni;
    transition-timing-function: ease-in;
    opacity: 0;

}

@keyframes timelistAni {
    0% {
        opacity: 0;
        transform: translateY(-80%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.timelist-unavailable {
    border: 0 !important;
}
.timelist-unavailable:hover, .timelist-unavailable:active {
    background-color: unset !important;
    color: #000 !important;
    font-weight: unset !important;
    cursor: default !important;
}

.mon {
    grid-column-start: mon;
}
.tue {
    grid-column-start: tue;
}
.wed {
    grid-column-start: wed;
}
.thu {
    grid-column-start: thu;
}
.fri {
    grid-column-start: fri;
}


.time-list-container {
    max-width: 100%;
    margin: 20px 0;
}

.time-list {
    list-style: none;
    padding: 0;
}

    .time-list li {
        margin-bottom: 5px;
        flex: 1 0 15%; /* Adjust the percentage value as needed */
        max-width: 100%; /* Adjust the percentage value as needed */
        height: 2.1rem;
        line-height: 1.8rem;
        text-align: center;
        border: 2px solid rgba(0, 0, 0, 0.125);
        margin: 0.4rem;
        cursor: pointer;
        background-color: #fff;
        border-radius: 0.25em;
        transition: 0.5s;
        font-size : 17px;
    }

        .time-list li:hover {
            color: #2B7BCD;
            background: #f2f2f2;
            font-weight: bold;
            border: 1px solid #f2f2f2;
        }

        .time-list li:active {
            background-color: #2B7BCD;
            transition: none;
            color: #fff;
        }

        .time-list li:not(.active):hover::before {
            background: #f2f2f2;
        }


.time-list-container {
    position: relative;
    /* Add other styles for the container as needed */
}

.spinner-container {
    padding-top: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7); /* Adjust the last value (0.7) to control the transparency */
    /* Add other styles for the spinner container as needed */
    backdrop-filter: blur(1px); /* Adjust the blur amount as needed */
    z-index: 9999; /* Set the z-index to a high value */
}

#spinner {
    width: 4.6rem; /* Customize the size of the spinner here */
    height: 4.6rem; /* Customize the size of the spinner here */
    position: absolute; /* Use absolute positioning */
}

/* Calendar button */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.show-more-btn,
.show-less-btn {
    border: none;
    background-color: #2B7BCD;
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.5s;
    border-radius: 0.25em;
    width: 40%;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.show-less-btn {
    display: none;
}

    .show-more-btn:hover,
    .show-less-btn:hover {
        background-color: #145081;
    }

    .show-more-btn:active,
    .show-less-btn:active {
        background-color: #145081;
    }

    .show-more-btn::before,
    .show-less-btn::before {
        content: "›";
        display: inline-block;
        font-size: 18px;
        margin-right: 10px;
    }

    .show-more-btn:hover::before,
    .show-less-btn:hover::before {
        transform: translateX(5px);
        transition: transform 0.3s ease;
    }

    .show-more-btn:active::before,
    .show-less-btn:active::before {
        transform: translateX(8px);
        transition: transform 0.2s ease;
    }


/* Kunduppgift block*/
.customer-info {
    width: 68%;
    margin: 0 auto;
    margin-top: 1rem;
    border: 1px solid rgba(0,0,0,.125);
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    box-shadow: 0 .125em .25em rgba(0,0,0,.075);
    border-radius: 0.25em;
    position: relative;
}



.form-info {
    margin: 0 auto;
    margin-top: 1rem;
    padding: 2rem;
}

.form-info input {
    display: block;
    width: 50%;
    height: calc(2.25em + 2px);
    padding: 0.1em 0.50em;
    font-size: 1em;
    font-weight: 400;
    line-height: 1;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25em;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
    .form-info textarea {
        display: block;
        width: 50%;
        padding: 0.1em 0.50em;
        font-size: 1em;
        font-weight: 400;
        line-height: 1;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        border-radius: 0.25em;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }
.submit-btn-container {
    text-align: center;
}
.submit-btn-container >.btn {
    margin-bottom: 0.25em;

}

.submit {
    border: none;
    background-color: #2B7BCD;
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.5s;
    border-radius: 0.25em;
    width: 30%;
    transition: background-color 0.3s ease;
    font-weight: 600;
    margin: 0 auto;
}

    .submit:hover {
        background-color: #145081;
    }

/*



------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



*/

/* Code for mobile version */
@media only screen and (max-width: 820px) {
    * {
        margin: 0;
        padding: 0;
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera, and Firefox */
    }

    .car-title,
    .calendar-title,
    .customer-title {
        display: flex;
    }

  

    .text-title {
        margin-top: 0.1rem;
        margin-left: 1rem;
        font-weight: 600;
    }

    .yourCarText-title {
        margin-top: 0.1rem;
        margin-left: 1rem;
        font-weight: 600;
        font-size: 18px;
    }

    #carInfo-headerText {
        font-size: 16px;
        margin-left: 36px;
        color: gray;
        font-weight : 600;
    }

    #car-hd-bl
   {
        height: 0;
        overflow: hidden;
        transition: height 0.8s ease;
        justify-content: center;
        align-items: center;

    }


    #customer-hd-bl {
        height: 0;
        overflow: hidden;
        transition: height 0.8s ease;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
    }

    #calendar-hd-bl {
        transition: height 0.8s ease;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        max-height: unset; /* Adjust this value based on your needs */
    }

    #vehicleInfoLabel {
        display: block;
        margin-top: 2px;
        width: 230px;
        font-size: 15px;
    }

    #mileageInfoLabel {
        display: block;
        margin-top: 2px;
        width: 230px;
        font-size: 15px;
    }

    .sbt-button {
        height: 44px; /* Adjust the desired height */
        font-size: 17px !important; /* Adjust the desired font size */
        font-weight: bold;
        border-radius: 5px; /* Adjust the desired border radius */
        max-width: 255px;
        padding-top: 5px;
        margin-top: 1px;
        margin-bottom: 15px;
    }


    .txt-msg {
        height: 8em;
        font-size: 1.6em;
        
        
    }

    p {
        font-size: 16px;
        margin-top: 1rem;
        margin-bottom: 1rem;
        color: gray;
    }

    .hiding-block {
        display: flex;
        margin: 0 auto;
        margin-top: -1rem;
        padding: 2rem 1rem;
    }

    label {
        font-size: 20px;
    }


        .hiding-bt:hover {
            transform: translateX(10px);
            transition: transform 0.3s ease;
        }

    /* Din Bil block */
    .car-info {
        width: 100%;
        margin: 0 auto;
        margin-top: 2rem;
        border: 1px solid rgba(0, 0, 0, 0.125);
        padding: 1rem;
        box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.075);
        border-radius: 0.25em;
        position: relative;
    }

    #regnummer {
        height: calc(2.5em + 2px);
        padding: 0.5em 0.5em;
        font-size: 1.1em;
        line-height: 1.5;
        border-radius: 0.3em;
        align-items: center;
        max-width: 270px;
    }
    #registrationNumber-input {
        height: 55px; 
        font-size: 22px; 
        border-radius: 5px; 
        text-transform: uppercase; 
        max-width: 300px;
    }
    #mileage-input {
        height: 55px;
        font-size: 20px;
        border-radius: 5px;
        max-width: 300px;
    } 


    /* Bokning block */
    .small-calendar {
        margin: auto;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    input[type="date"] {
        background-color: #fff;
        padding: 0.25rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        display: flex;
        position: relative;
        color: black;
        font-size: 16px;
        border: 1px solid rgba(0, 0, 0, 0.125);
    }

        input[type="date"]:hover {
            background-color: #fff;
            color: #0080ff;
            border: 1px solid #0080ff;
        }

    #problem-description {
        min-height:8rem;
    }

    ::-webkit-calendar-picker-indicator {
        color: #fff;
        padding: 2px;
        cursor: pointer;
        border-radius: 0.25em;
    }

    #calendar {
        width: 100%;
        margin: 0 auto;
        margin-top: 1rem;
        border: 1px solid rgba(0, 0, 0, .125);
        padding-top: 1rem;
        padding-bottom: 1.4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
        border-radius: 0.25em;
        position: relative;
        overflow: auto;
    }
    .calendar-header {
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        border: 1px solid rgba(0, 0, 0, .125);
        border-radius: 0.25em;
        box-shadow: 0 .125em .25em rgba(0,0,0,.075);
        max-height: 70px;
    }


    #calendar-headerText {
        font-size: 16px;
        margin-left: 35px;
        display: flex;
        color: gray;
        font-weight: 600;
       
    }
    .booking-container-contact {
        border: none;
        display: table-row;
        border-radius: 0.25em;
        position: relative;
        overflow: auto;
        /*max-height:330px;*/ /* Adjust this value based on your needs */
    }

    .booking-container-booking {
        border: none;
        display: table-row;
        border-radius: 0.25em;
        position: relative;
        overflow: auto;
    }


    .left-column-contact {
        grid-column: 1;
        padding: 5px 1px 1px 5px;
    }

    .right-column-contact {
        margin-top: -15px;
        grid-column: 2;
        padding: 5px 1px 1px 5px;
        margin-bottom: 15px;
    }
    #contact-service-pkg {
        overflow: scroll;
        margin-top: -10px;
        display: none;
        overflow: hidden;
        transition: max-height 0.2s ease-in-out;
    } 
    

    .booking-container {
        transition: height 0.8s ease;
        overflow: hidden;
        border: none;
        padding: 10px 5px 0 5px;
        margin: 15px 0px 0px 0px;
        height:auto;
        /* Set the flex direction to row (default) for larger screen sizes */
        display: flex;
    }

    .left-column {
        margin: 5px;
        padding: 5px;
    }

    .right-column {
       align-items: center;
       margin-bottom: 20px;
      padding:0px;
    }

    @media (min-width: 768px) {
        .booking-container {
            grid-template-columns: 40% 55%;
        }

        .left-column {
            grid-column: 1;
        }

        .right-column {
            align-content: start;
            grid-column: 2;
        }
    }

    #serviceDetails {
        border: none;
        padding: 0;
        font-family: Roboto, sans-serif, Arial;
    }

    #serviceDetails > div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5em;
    }
        #serviceDetails > div > div:last-of-type {
            width: max-content;
        }

        #serviceDetails h2 {
            font-size: 15px;
            font-size: 1.125rem;
            font-weight: bold;
            color: #333;
            margin-top: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%; /* Adjust as needed */
        }


        #serviceDetails h3 {
            font-size: 12px;
            font-size: 1.125rem;
            color: #333;
            margin-top: 10px;
            margin-bottom: 20px;
            text-overflow: ellipsis;
        }

        #serviceDetails h4 {
            /*font-size: 10px;*/
            /*font-size: 0.875rem;*/
            font-size: 1.25rem;
            color: #333;
            margin-top: 10px;
            /*margin-bottom: 20px;*/
            text-align: left
        }

        #serviceDetails h5 {
            font-size: 28px;
            color: #333;
            text-align: left;
            margin-top: -8px;
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        #serviceDetails h5 > span {
            display:block;
            font-size: 0.75em;
        }

        #serviceDetails h6 {
            font-size: 11px;
            font-size: 1.125rem;
        }

        #serviceDetails span {
            font-size: 18px;
            font-size: 1.125rem;
            font-weight: 500;
        }

    .custom-select {
        margin: 10px 0px;
        position: relative;
        max-width: 80%;
    }

        .custom-select select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-color: #f8f9fa;
            border: 1px solid #ced4da;
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 18px;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }

            .custom-select select::-ms-expand {
                display: none;
            }

        .custom-select label {
            display: block;
            font-size: 16px;
            margin-bottom: 5px;
        }

    .custom-select-wrapper {
        position: relative;
    }



    .custom-select-style {
        height: 50px;
        font-size: 18px;
        border-radius: 5px;
        background-color: #f8f9fa;
       border:ridge;
        padding: 12px;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .left-column-booking {
        grid-column: 1;
        margin: 1px;
        padding: 5px 0px 0px 0px;
    }

    .right-column-booking {
        margin-bottom: 1.75rem
    }
    .custom-select-width-1 {
        width: 240px !important;
    }

    .custom-select-width-2 {
        width: 240px !important;
    }

    .custom-select-width-bs {
        width: 170px !important;
    }





        .custom-select-style::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            pointer-events: none;
            background: linear-gradient(45deg, #f8a9fa 50%, transparent 50%);
            background-size: 4px 4px;
            background-repeat: repeat;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .custom-select-style:hover::before {
            opacity: 1;
        }

        .custom-select-style select {
            width: 100%;
            height: 100%;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-color: transparent;
            border: none;
            padding: 0;
            margin: 0;
            position: relative;
            z-index: 2;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .custom-select-style:focus {
            outline: none;
            border-color: #80bdff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .custom-select-style option {
            background-color: ghostwhite;
            color: black;
        }

        .custom-select-style select::-ms-expand {
            display: none;
        }

        .custom-select-style option {
            transform: translateX(100%);
            opacity: 0;
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        }

        .custom-select-style select:focus option {
            transform: translateX(0);
            opacity: 1;
        }



    .prev-week-btn,
    .next-week-btn {
        font-size: 18px;
        font-weight: bold;
        padding: 10px 14px;
        border: none;
        background-color: transparent;
        cursor: pointer;
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, .125);
        transition: 0.5s;
        box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
        border-radius: 0.25em;
    }

        .prev-week-btn:hover,
        .next-week-btn:hover {
            background-color: #eee;
        }

    .week {
        font-size: 20px;
        font-weight: bold;
        margin: -5px 0;
    }

  

    .weekRange {
        font-size: 13px;
        font-weight: bold;
        color: gray;
        align-content: center;
        margin : 2px 5px;
    }

    .centered-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 9vh; /* Adjust this value based on your layout */
    }





    /* Calendar Days */
    #calendar-days {
        display: flex;
        margin-top: 2rem;
    }

    .day {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
        font-weight: bold;
        padding: 3px 6px;
        border: none;
        cursor: pointer;
        background-color: ghostwhite;
        box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
        border-radius: 0.25em;
    }

    .day-name {
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center;
    }

    .day-date {
        font-size: 20px;
        text-align: center;
    }

    .day:active {
        background-color: #eee;
    }

    .day:hover {
        background-color: #eee;
    }

    /* Calendar times list */
    .time-container {
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .time-list {
        /*list-style: none;*/
        /*padding: 0;*/
        /*margin:0;*/
        /*display: flex;*/
        /*flex-wrap: wrap;*/
        /*justify-content: center;*/
        width: 100%;
    }

    .time-list-container {
        max-width: 100%;
        margin-bottom: 15px ;

    }


    .time-list li {
        /*flex: 1 0 17%;*/ /* Adjust the percentage value as needed */
        /*height: 2.2rem;
        line-height: 1.8rem;
        text-align: center;
        border: 2px solid rgba(0,0,0,.125);*/
        margin: 0.7rem 0.2rem 0.5rem 0.2rem;
        /*cursor: pointer;
        background-color: #fff;
        border-radius: 0.25em;*/
        transition: 0.5s;
        /*width: 100%;*/
        font-size: 16px;
    }

   


            .time-list li:hover {
                color: #2B7BCD;
                background: #f2f2f2;
                font-weight: bold;
                border: 1px solid #f2f2f2;
            }

            .time-list li:active {
                background-color: #2B7BCD;
                transition: none;
                color: #fff;
            }

            .time-list li:not(.active):hover::before {
                background: #f2f2f2;
            }

    /* Calendar button */
    .button-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
        gap: 10px;
    }

    .show-more-btn,
    .show-less-btn {
        border: none;
        background-color: #2B7BCD;
        color: #fff;
        padding: 8px 16px;
        font-size: 16px;
        cursor: pointer;
        margin-right: 10px;
        transition: 0.5s;
        border-radius: 0.25em;
        width: 45%;
        transition: background-color 0.3s ease;
        font-weight: 600;
    }

    .show-less-btn {
        display: none;
    }

        .show-more-btn:hover,
        .show-less-btn:hover {
            background-color: #145081;
        }

        .show-more-btn:active,
        .show-less-btn:active {
            background-color: #145081;
        }

        .show-more-btn::before,
        .show-less-btn::before {
            content: "›";
            display: inline-block;
            font-size: 18px;
            margin-right: 10px;
        }

        .show-more-btn:hover::before,
        .show-less-btn:hover::before {
            transform: translateX(5px);
            transition: transform 0.3s ease;
        }

        .show-more-btn:active::before,
        .show-less-btn:active::before {
            transform: translateX(8px);
            transition: transform 0.2s ease;
        }

    /* Kunduppgift block */
    .customer-info {
        width: 100%;
        margin: 0 auto;
        margin-top: 1rem;
        border: 1px solid rgba(0, 0, 0, .125);
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        box-shadow: 0 .125em .25em rgba(0, 0, 0, .075);
        border-radius: 0.25em;
        position: relative;
    }

    .form-info {
        margin-top:20px;
        margin: 0 auto;
        margin-top: 0.4rem;
        padding: 1rem;
    }


    .form-info label {
        font-size:18px;
        margin-top:5px;
    }

        .form-info input, textarea  {
            display: block;
            width: 100%; /* Use full width on mobile */
            height: calc(2.65em + 2px);
            padding: 0.1em 0.30em;
            font-size: 1.2em;
            font-weight: 400;
            line-height: 1;
            color: #495057;
            background-color: #fff;
            background-clip: padding-box;
            border: 1px solid #ced4da;
            border-radius: 0.25em;
            transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        }






    .custom-checkbox {
        display: block;
        align-items: center;
        margin-right: 20px;
    }

        .custom-checkbox input[type="checkbox"] {
            transform: scale(0.8); /* Adjust the scale value to make the checkbox smaller */
            margin-right: 5px;
        }

    /* Add your custom styling for the checkboxes and their labels here */
    .checkbox-options {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* Adjust the gap between each checkbox and label */
    }

    .custom-checkbox label {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
    }





    .submit-btn-container button {
        text-align: center;
        font-weight: 600;
        font-size: 1.2em;
        margin-bottom: 2rem;
    }

    .submit {
        border: none;
        background-color: #2B7BCD;
        color: #fff;
        padding: 8px 16px;
        font-size: 16px;
        cursor: pointer;
        transition: 0.5s;
        border-radius: 0.25em;
        width: 100%; /* Use full width on mobile */
        transition: background-color 0.3s ease;
        font-weight: 600;
        margin: 0 auto;
    }

        .submit:hover {
            background-color: #145081;
        }

    /* Media queries for mobile devices */
    @media screen and (max-width: 480px) {
    
        .booking-container {
            /* Change the flex direction to column for small screen sizes */
            flex-direction: column;
        }
        .booking-container .left-column {
            display: flex;
            flex-direction: column;
            align-items:center;
            justify-content: center;
        }
        .form-info input,
        .form-info textarea {
            width: 100%;
        }

        .submit {
            width: 100%;
        }
    }
}




