@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body{
    font-family: 'Roboto', 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 104px 0 0;
    --accentColor: #2ab08a;
    --darkerAccentColor: #2f7e68;
    --lightAccentColor: #d8fff4;
    --darkGrey: #222;
    --midGrey: #999;
    --lightGrey: #F7F7F7;
    --red: #f44336;
    --lightRed: #fbada6;
    --green: #4CAF50;
    color: var(--darkGrey);
    background-color: #FFF;
    opacity: 1;
}

textarea{
    font-family: 'Roboto', 'Arial', sans-serif;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: var(--accentColor);
    animation: spin 1s infinite linear;
    margin: 10px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



.loader_container{
    display: flex;
    flex-direction: column;
}

.loader {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 200px;
    height: 10px;
    background-color: #DDD;
    border-radius: 30px;
    margin-top: 10px;
}

.bigger_loader{
    width: 300px;
}

.small_loader{
    width: 100px;
    margin-top: 0;
}

.smaller_loader{
    width: 70px;
    margin-top: 0;
}

.title_loader{
    width: 150px;
    height: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.card_title_loader{
    width: 150px;
    height: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 20px;
}

.price_loader {
    background-color: var(--lightAccentColor);
}

.car_price_loader {
    background-color: var(--midGrey);
    border-radius: 0 0 15px 15px;
    margin: 15px 0 0;
    padding: 20px 0;
    width: 100%;
}

.car_price_nos_vehicules_loader {
    border-radius: 0 0 15px 0;
}

.loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 30%;
    background: var(--midGrey);
    transform: skewX(-30deg);
    animation: shine 1s linear infinite;
}

.car_price_nos_vehicules_loader::before, .car_price_loader::before {
    background: var(--lightGrey);
}


.price_loader::before {
    background: var(--accentColor);
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

#failNotification, #successNotification{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--red);
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#successNotification {
    background-color: var(--green);
}