/* Formulário */
#wc-rastreamento-correios-form {
    margin-top: 30px;
}

#wc-rastreamento-correios-form label {
    font-weight: bold;
}

#wc-rastreamento-correios-form span {
    display: block;
}

#wc-rastreamento-correios-form input {
    margin-bottom: 10px;
}

#wc-rastreamento-correios-form button {
    margin-top: 10px;
}

.rastreamento-form {
    position: relative;
}

.rastreamento-form:first-child {
    padding-right: 50px;
    border-right: 1px dashed #ccc;
}

.rastreamento-form:last-child {
    padding-left: 50px;
}

.rastreamento-form:last-child::before {
    content: 'OU';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
}

.rastreamento-form {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

@media (max-width: 768px) {
    .rastreamento-form {
        display: block;
        width: 100%;
    }

    .rastreamento-form:first-child {
        padding-right: 0px;
        padding-bottom: 30px;
        border-right: none;
        border-bottom: 1px dashed #ccc;
    }

    .rastreamento-form:last-child {
        padding-top: 30px;
        padding-left: 0px;
    }

    .rastreamento-form:last-child::before {
        left: 50%;
        top: -15px;
        transform: translateX(-50%) translateY(0%);
    }
}

/* Steps de rastreamento */
.rastreamento-steps {
    margin-bottom: 40px;
    text-align: left;
    position: relative;
}

.rastreamento-steps .steps {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: left;
    gap: 30px;
    position: relative;
}

.rastreamento-steps .steps li {
    display: inline-block;
    color: #555;
    font-size: 12px;
    line-height: 14px;
    opacity: 0.5;
    width: 80px;
    transition: opacity 1s, color 1s;
    position: relative;
    z-index: 1;
	margin: 0px !important;
}

.rastreamento-steps .steps li.active {
    opacity: 1;
    color: #46735D;
    font-weight: bold;
}

.rastreamento-steps .steps li i {
    width: 40px;
    height: 40px;
    background: #ccc;
    display: block;
    text-align: center;
    margin-bottom: 10px;
    line-height: 40px;
    font-size: 14px;
    border-radius: 7px;
    transition: background 0.5s, color 0.5s;
    position: relative;
    z-index: 2;
}

.rastreamento-steps .steps li.active i {
    background: #46735D;
    color: white;
}

.rastreamento-steps .steps li::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 40px;
    width: 0;
    height: 2px;
    background: #46735D;
    z-index: -1;
    transition: width 0.5s;
}

.rastreamento-steps .steps li.active::after {
    width: calc(100% - 10px);
}

.rastreamento-steps .steps li:last-child::after {
    display: none;
}

.rastreamento-steps .steps li.last-active::after {
    background: #E6E6E6;
}

/* Em caso de erro na entrega */
.rastreamento-steps .steps li.active.erro-entrega {
    color: #EB7251;
    font-weight: bold;
}

.rastreamento-steps .steps li.active.erro-entrega i {
    background: #EB7251;
    color: white;
}

.rastreamento-steps .steps li.erro-entrega {
    color: #EB7251;
    font-weight: bold;
}

.rastreamento-steps .steps li.erro-entrega i {
    background: #EB7251;
    color: white;
}

/* Tabela de rastreamento */
.rastreamento-header {
    margin-bottom: 30px;
}

.rastreamento-header h4 {
    display: inline;
}

.rastreamento-header strong {
    padding: 2px 5px;
    border: 1px dashed #46735D;
    border-radius: 5px;
    background-color: #F3FCF7;
    color: #46735D;
    display: inline;
    margin-left: 5px;
}

/* Rastreamento vertical */
#rastreamento-container {
    margin-top: 60px;
    padding-left: 5px;
}

#rastreamento-container .rastreamento-evento:before {
    content: '';
    width: 14px;
    height: 14px;
    background: #fff;
    border: 2px solid #999;
    position: absolute;
    border-radius: 100px;
    left: -8px;
    top: 0px;
}

#rastreamento-container .rastreamento-evento:first-child::before {
    background: #46735D;
    border-color: #46735D;
}

#rastreamento-container .rastreamento-evento {
    height: 80px;
    border-left: 2px solid #eee;
    position: relative;
    opacity: .5;
    padding-left: 20px;
}

#rastreamento-container .rastreamento-evento:first-child {
    opacity: 1;
}

#rastreamento-container .rastreamento-evento:first-child .rastreamento-situacao {
    color: #46735D;
}

#rastreamento-container .rastreamento-evento:last-child {
    height: 40px;
}

.rastreamento-evento .rastreamento-situacao {
    font-size: 14px;
    font-weight: bold;
    line-height: 17px;
    position: relative;
    top: -3px;
    margin-bottom: 5px;
    color: #000;
}

.rastreamento-evento .rastreamento-data-local {
    font-size: 12px;
    color: #999;
}