﻿::-webkit-scrollbar {
    width: 8px;
}
/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

#grad1 {
    background-color: #d2e3f3;
}

#msform {
    text-align: center;
    text-align: center;
    position: relative;
    margin-top: 20px;
}

    #msform fieldset .form-card {
        background: white;
        border: 0 none;
        border-radius: 5px;
        box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.1);
        padding: 15px 25px 15px 25px;
        box-sizing: border-box;
        width: 94%;
        margin: 0 3% 20px 3%;
        /*stacking fieldsets above each other*/
        position: relative;
    }

    #msform fieldset {
        background: white;
        border: 0 none;
        border-radius: 0.5rem;
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        padding-bottom: 20px;
        /*stacking fieldsets above each other*/
        position: relative;
    }

        /*Hide all except first fieldset*/
        #msform fieldset:not(:first-of-type) {
            display: none;
        }

        #msform fieldset .form-card {
            text-align: left;
            color: #9E9E9E;
        }

    #msform input, #msform textarea {
        padding: 0px 8px 4px 8px;
        border: none;
        border-bottom: 1px solid #ccc;
        border-radius: 0px;
        margin-bottom: 25px;
        margin-top: 2px;
        width: 100%;
        box-sizing: border-box;
        font-family: Roboto;
        color: #2C3E50;
        font-size: 16px;
        letter-spacing: 1px;
    }

        #msform input:focus, #msform textarea:focus {
            -moz-box-shadow: none !important;
            -webkit-box-shadow: none !important;
            box-shadow: none !important;
            border: none;
            font-weight: bold;
            border-bottom: 2px solid skyblue;
            outline-width: 0;
        }

    /*Blue Buttons*/
    #msform .action-button {
        width: 100px;
        background: skyblue;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 0px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

        #msform .action-button:hover, #msform .action-button:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
        }

    /*Previous Buttons*/
    #msform .action-button-previous {
        width: 100px;
        background: #616161;
        font-weight: bold;
        color: white;
        border: 0 none;
        border-radius: 0px;
        cursor: pointer;
        padding: 10px 5px;
        margin: 10px 5px;
    }

        #msform .action-button-previous:hover, #msform .action-button-previous:focus {
            box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
        }

/*Dropdown List Exp Date*/
select.list-dt {
    border: none;
    outline: 0;
    border-bottom: 1px solid #ccc;
    padding: 2px 5px 3px 5px;
    margin: 2px;
}

    select.list-dt:focus {
        border-bottom: 2px solid skyblue;
    }

/*The background card*/
.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
    background-color: #ffffff
}

/*FieldSet headings*/
.fs-title {
    font-size: 25px;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey;
}

    #progressbar .active {
        color: #000000;
    }

    #progressbar li {
        list-style-type: none;
        font-size: 12px;
        width: 33.3%;
        float: left;
        position: relative;
    }

    /*Icons in the ProgressBar*/
    #progressbar #account:before {
        font-family: FontAwesome;
        content: "\f09d";
    }

    #progressbar #personal:before {
        font-family: FontAwesome;
        content: "\f041";
    }

    #progressbar #payment:before {
        font-family: FontAwesome;
        content: "\f00c";
    }

    #progressbar #confirm:before {
        font-family: FontAwesome;
        content: "\f00c";
    }

    /*ProgressBar before any progress*/
    #progressbar li:before {
        width: 50px;
        height: 50px;
        line-height: 45px;
        display: block;
        font-size: 18px;
        color: #ffffff;
        background: lightgray;
        border-radius: 50%;
        margin: 0 auto 10px auto;
        padding: 2px;
    }

    /*ProgressBar connectors*/
    #progressbar li:after {
        content: '';
        width: 100%;
        height: 2px;
        background: lightgray;
        position: absolute;
        left: 0;
        top: 25px;
        z-index: -1;
    }

    /*Color number of the step and the connector before it*/
    #progressbar li.active:before, #progressbar li.active:after {
        background: skyblue;
    }

/*Imaged Radio Buttons*/
.radio-group {
    position: relative;
    margin-bottom: 25px;
}

.radio {
    display: inline-block;
    width: 204;
    height: 104;
    border-radius: 0;
    background: lightblue;
    box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    cursor: pointer;
    margin: 8px 2px;
}

    .radio:hover {
        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
    }

    .radio.selected {
        box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
    }

/*Fit image in bootstrap div*/
.fit-image {
    width: 100%;
    object-fit: cover;
}

.carteirinha {
    border: 1px #cecece solid;
    border-radius: 5px;
    height: 113px;
    width: 180px;
    max-width: 100%;
}

.imgCarteirinha {
    border-radius: 5px;
    height: 113px;
    width: 180px;
    max-width: 100%;
}

.carteirinha-pedido {
    border: 1px #cecece solid;
    border-radius: 5px;
    height: 75px;
    width: 120px;
    max-width: 100%;
}

.imgCarteirinha-pedido {
    border-radius: 5px;
    height: 75px;
    width: 120px;
    max-width: 100%;
}

footer {
    background-color: #3978bd;
    height: 70px;
    display: flex;
    justify-content: center;
}

.btn-bottom {
    background-color: #3978bd;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    width: 50%;
    height: 100%;
}

.btn:hover {
    color: #fff;
    text-decoration: none;
}


.card .product-info {
    display: flex;
    justify-content: space-between;
    font-size: 1em;
    color: #333;
}

.card .product-info .product {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card .product-info .price {
    white-space: nowrap;
}

#btn-home {
    position: absolute;
    top: 10px;
    z-index: 9999;
    left: 10px;
    background-color: transparent;
    height: 40px;
    width: 40px;
    color: #176aba;
}

    #btn-home .bi {
        font-size: 24px;
        color: #3e3e3e;
    }

#btn-voltar {
    position: absolute;
    top: 10px;
    z-index: 9999;
    left: 10px;
    background-color: transparent;
    height: 40px;
    width: 40px;
    color: #176aba;
}

    #btn-voltar .bi {
        font-size: 24px;
        color: #3e3e3e;
    }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Tela escurecida */
    display: none; /* Escondido por padrão */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Certifique-se de que o overlay esteja acima de outros elementos */
}

/* Estilo para o spinner de carregamento */
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 8px solid white;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.spinner2 {
    border: 6px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top: 8px solid #fbfbfb;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.card-text {
    font-size: 14px;
}

body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d2e3f3;
    min-width: 300px !important;
    /*max-width: 600px;*/
}

.timeline {
    position: relative;
    /*max-width: 350px;*/
    margin: 10px auto;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .timeline::before {
        content: '';
        position: absolute;
        width: 2px;
        background-color: #4caf50;
        top: 0;
        bottom: 0;
        left: 110px;
        margin-left: -1.5px;
    }

.timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    position: relative;
}

    .timeline-item:not(:last-child) {
        margin-bottom: 20px;
    }

.timeline-date {
    color: #888;
    font-size: 12px;
    text-align: right;
    width: 70px;
    margin-right: 15px;
    white-space: nowrap;
    margin-top: 14px;
    margin-left: 2px;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    left: 80px;
    top: 12px;
    /*background-color: #4caf50;*/
    border-radius: 50%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;

}

.timeline-content {
    background: #f9f9f9;
    padding: 10px 5px 10px;
    border-radius: 6px;
    position: relative;
    width: 60%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-left: 55px;
}

    .timeline-content p {
        margin: 0;
        font-size: 14px;
    }

    .timeline-content span {
        display: block;
        margin-top: 5px;
        color: #888;
        font-size: 12px;
    }

.big-checkbox {
    width: 30px;
    height: 30px;
}
