/* =========================================================
   PONTOS DE ENTREGA
   ========================================================= */

.delivery-page {
    padding-bottom: 40px;
}


/* =========================================================
   CABEÇALHO DA PÁGINA
   ========================================================= */

.delivery-header {
    position: relative;
    margin: 10px 0 28px;
}

.delivery-header-content {
    display: flex;
    align-items: center;
}

.delivery-header-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 18px;

    border-radius: 50%;

    background: #fff3e5;
    color: #f58220;

    font-size: 30px;
}

.delivery-header h1 {
    margin: 0;
    padding: 0;

    color: #102f58;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.delivery-header p {
    margin: 5px 0 0;

    color: #68778e;

    font-size: 16px;
}


/* =========================================================
   FILTROS
   ========================================================= */

.delivery-filters {
    margin-bottom: 25px;
    padding: 20px;

    border: 1px solid #e3eaf2;
    border-radius: 12px;

    background: #f5f8fc;
}

.delivery-filter-row {
    display: flex;

    margin-left: -8px;
    margin-right: -8px;
}

.delivery-filter-col {
    padding-left: 8px;
    padding-right: 8px;
}

.delivery-filter-col.state,
.delivery-filter-col.city {
    width: 25%;
}

.delivery-filter-col.search {
    width: 35%;
}

.delivery-filter-col.button {
    width: 15%;
}

.delivery-filter-label {
    display: block;

    margin-bottom: 7px;

    color: #173457;

    font-size: 14px;
    font-weight: 600;
}

.delivery-filters .form-control {
    height: 48px;

    border: 1px solid #d8e0e9;
    border-radius: 7px;

    background-color: #fff;

    color: #4f6075;

    font-size: 14px;

    box-shadow: none;
}

.delivery-filters .form-control:focus {
    border-color: #f58220;

    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.08);
}

.delivery-search-button {
    width: 100%;
    height: 48px;

    margin-top: 27px;

    border: 0;
    border-radius: 7px;

    background: #f58220;
    color: #fff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: all .2s ease;
}

.delivery-search-button:hover {
    background: #dc6e0d;
    color: #fff;
}


/* =========================================================
   CONTADOR DE RESULTADOS
   ========================================================= */

.delivery-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 0 2px 18px;

    color: #5e6f85;

    font-size: 14px;
}

.delivery-results-info strong {
    margin-right: 4px;

    color: #f58220;

    font-size: 24px;
    font-weight: 600;
}


/* =========================================================
   CARD
   ========================================================= */

.delivery-card {
    overflow: hidden;

    margin-bottom: 18px;

    border: 1px solid #e1e7ee;
    border-radius: 12px;

    background: #fff;

    box-shadow: 0 5px 20px rgba(34, 55, 80, 0.06);

    transition: all .2s ease;
}

.delivery-card:hover {
    border-color: #d4dce6;

    box-shadow: 0 8px 26px rgba(34, 55, 80, 0.10);
}


/* =========================================================
   CABEÇALHO DO CARD
   ========================================================= */

.delivery-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 24px;

    border-bottom: 1px solid #edf0f4;
}

.delivery-card-title-area {
    flex: 1;

    min-width: 0;

    padding-right: 20px;
}

.delivery-card-name {
    margin: 0 0 10px;

    color: #102f58;

    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

.delivery-card-name a {
    color: #102f58;

    text-decoration: none;
}

.delivery-card-name a:hover {
    color: #f58220;
}


/* endereço */

.delivery-card-address {
    color: #74849a;

    font-size: 13px;
    line-height: 1.7;
}

.delivery-card-address span {
    display: block;
}


/* =========================================================
   ÁREA DOS BOTÕES
   ========================================================= */

.delivery-card-actions {
    display: flex;
    flex-direction: column;

    gap: 8px;

    width: 150px;
    min-width: 150px;

    margin-left: 25px;
}


/* selecionar */

.delivery-select-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 44px;

    padding: 0 15px;
    margin: 0;

    border: 0;
    border-radius: 7px;

    background: #f58220;
    color: #fff !important;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .2s ease;
}

.delivery-select-button:hover {
    background: #dc6e0d;

    color: #fff !important;
}


/* mapa */

.delivery-map-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-width: 0;
    height: 44px;

    padding: 0 15px;
    margin: 0;

    border: 0;
    border-radius: 7px;

    background: #1267ce;
    color: #fff !important;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .2s ease;
}

.delivery-map-button:hover {
    background: #0756b7;

    color: #fff !important;
}


/* =========================================================
   CORPO DO CARD
   ========================================================= */

.delivery-card-body {
    padding: 22px 24px;
}

.delivery-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


/* =========================================================
   CONTATO
   ========================================================= */

.delivery-contact {
    width: 64%;
}

.delivery-contact-row {
    display: flex;
    align-items: center;
}

.delivery-contact-item {
    display: flex;
    align-items: center;

    min-height: 55px;

    padding-right: 20px;
}

.delivery-contact-item.responsible {
    width: 42%;
}

.delivery-contact-item.email {
    width: 36%;
}

.delivery-contact-item.phone {
    width: 22%;
}


/* ícone */

.delivery-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    min-width: 34px;
    height: 34px;

    margin-right: 8px;

    color: #60728a;

    font-size: 20px;
    text-align: center;
}


/* caso use iniciais no responsável */

.delivery-profile-initials {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    min-width: 34px;
    height: 34px;

    margin-right: 8px;

    border-radius: 50%;

    background: #fff;

    color: #173457;

    font-size: 12px;
    font-weight: 500;

    box-shadow: 0 5px 15px rgba(34, 55, 80, 0.08);
}


/* texto */

.delivery-info-label {
    display: block;

    margin-bottom: 2px;

    color: #8995a6;

    font-size: 11px;
    font-weight: 400;
}

.delivery-info-value {
    display: block;

    color: #172f50;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.35;

    word-break: break-word;
}

.delivery-info-value a {
    color: #1267ce;

    text-decoration: none;
}

.delivery-info-value a:hover {
    text-decoration: underline;
}


/* =========================================================
   STATUS
   ========================================================= */

.delivery-status {
    width: 36%;
}

.delivery-status-list {
    display: flex;
    justify-content: flex-end;

    gap: 10px;
}

.delivery-status-badge {
    display: flex;
    align-items: center;

    min-height: 46px;

    padding: 8px 14px;

    border-radius: 25px;

    background: #eaf8ef;
    color: #07883e;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;
}

.delivery-status-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    min-width: 26px;
    height: 26px;

    margin-right: 8px;

    border-radius: 50%;

    background: #049b49;
    color: #fff;

    font-size: 14px;
    font-weight: 700;
}


/* status indisponível */

.delivery-status-badge.disabled {
    background: #f3f4f6;
    color: #89919c;
}

.delivery-status-badge.disabled .delivery-status-check {
    background: #a9afb7;
}


/* =========================================================
   ESTADO VAZIO
   ========================================================= */

.delivery-empty {
    padding: 60px 20px;

    border: 1px solid #e4e9ef;
    border-radius: 12px;

    background: #fff;

    text-align: center;
}

.delivery-empty-icon {
    margin-bottom: 15px;

    color: #f58220;

    font-size: 42px;
}

.delivery-empty h3 {
    margin: 0 0 7px;

    color: #173457;

    font-size: 20px;
    font-weight: 600;
}

.delivery-empty p {
    margin: 0;

    color: #7a8797;

    font-size: 14px;
}


/* =========================================================
   BOTÃO VOLTAR
   ========================================================= */

.delivery-footer {
    margin-top: 25px;
}

.delivery-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    height: 42px;

    padding: 0 20px;

    border: 1px solid #cbd5e0;
    border-radius: 7px;

    background: #fff;

    color: #173457 !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition: all .2s ease;
}

.delivery-back-button:hover {
    border-color: #f58220;

    color: #f58220 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .delivery-filter-row {
        flex-wrap: wrap;
    }

    .delivery-filter-col.state,
    .delivery-filter-col.city {
        width: 50%;

        margin-bottom: 12px;
    }

    .delivery-filter-col.search {
        width: 70%;
    }

    .delivery-filter-col.button {
        width: 30%;
    }


    /* card */

    .delivery-contact,
    .delivery-status {
        width: 100%;
    }

    .delivery-status-list {
        justify-content: flex-start;

        margin-top: 15px;
    }

    .delivery-contact-item.responsible,
    .delivery-contact-item.email,
    .delivery-contact-item.phone {
        width: 33.333%;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .delivery-page {
        padding-bottom: 25px;
    }


    /* cabeçalho */

    .delivery-header {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .delivery-header-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;

        margin-right: 12px;

        font-size: 23px;
    }

    .delivery-header h1 {
        font-size: 23px;
    }

    .delivery-header p {
        font-size: 13px;
    }


    /* filtros */

    .delivery-filters {
        padding: 15px;
    }

    .delivery-filter-col.state,
    .delivery-filter-col.city,
    .delivery-filter-col.search,
    .delivery-filter-col.button {
        width: 100%;

        margin-bottom: 12px;
    }

    .delivery-filter-col.button {
        margin-bottom: 0;
    }

    .delivery-search-button {
        margin-top: 0;
    }


    /* card */

    .delivery-card-header {
        display: block;

        padding: 18px;
    }

    .delivery-card-title-area {
        width: 100%;

        padding-right: 0;
    }

    .delivery-card-name {
        font-size: 18px;
    }


    /* ações */

    .delivery-card-actions {
        width: 100%;
        min-width: 100%;

        margin: 18px 0 0;
    }

    .delivery-select-button,
    .delivery-map-button {
        width: 100%;
        height: 46px;

        margin: 0;

        font-size: 13px;
    }


    /* corpo */

    .delivery-card-body {
        padding: 15px 18px;
    }

    .delivery-contact-row {
        display: block;
    }

    .delivery-contact-item.responsible,
    .delivery-contact-item.email,
    .delivery-contact-item.phone {
        width: 100%;

        min-height: 52px;

        padding: 8px 0;

        border-bottom: 1px solid #f0f1f3;
    }

    .delivery-contact-item.phone {
        border-bottom: 0;
    }


    /* status */

    .delivery-status-list {
        display: block;

        margin-top: 15px;
    }

    .delivery-status-badge {
        width: 100%;

        margin-bottom: 8px;

        justify-content: flex-start;
    }

    .delivery-status-badge:last-child {
        margin-bottom: 0;
    }


    /* contador */

    .delivery-results-info {
        font-size: 13px;
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 480px) {

    .delivery-header h1 {
        font-size: 20px;
    }

    .delivery-header p {
        font-size: 12px;
    }

    .delivery-card-name {
        font-size: 17px;
    }

    .delivery-card-address {
        font-size: 12px;
    }

}