/* cards agendamento */
/* DOIS CARDS NA MESMA LINHA */
.cards-double-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* CARD MAIOR */
.card-large {
    min-height: 380px;
    padding: 42px 36px;
    border-radius: 26px;
}

.card-large .cidadao-info-icon {
    width: 84px;
    height: 84px;
    font-size: 32px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.card-large .cidadao-info-badge {
    min-height: 38px;
    padding: 0 18px;
    font-size: .82rem;
    margin-bottom: 20px;
}

.card-large h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.card-large p {
    font-size: 1.08rem;
    line-height: 1.9;
}

/* RESPONSIVO */
@media(max-width:991px) {
    .card-large {
        min-height: auto;
    }
}

@media(max-width:767px) {
    .card-large {
        padding: 32px 24px;
    }

    .card-large h3 {
        font-size: 1.45rem;
    }

    .card-large p {
        font-size: 1rem;
    }
}

/* cards agendamento */



.consulta-agendamento-wrap {
    padding: 18px 0 50px;
}

.consulta-card-modern {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

.consulta-card-header {
    position: relative;
    padding: 32px 32px 26px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

    .consulta-card-header::after {
        content: "";
        position: absolute;
        right: -40px;
        top: -40px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(13, 110, 253, 0.06);
    }

.consulta-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.consulta-subtitle {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.consulta-card-body {
    padding: 32px;
}

.search-block {
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.search-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

    .search-block-title .icon-box {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(13, 110, 253, 0.10);
        color: #0d6efd;
        font-size: 18px;
    }

    .search-block-title h5 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 800;
        color: #1e293b;
    }

    .search-block-title p {
        margin: 2px 0 0;
        color: #64748b;
        font-size: 14px;
    }

.form-label-modern {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

.input-modern-wrap {
    position: relative;
}

    .input-modern-wrap .input-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #94a3b8;
        z-index: 2;
    }

.form-control-modern {
    height: 58px;
    border-radius: 18px;
    border: 1px solid #dbe2ea;
    padding-left: 46px;
    padding-right: 16px;
    font-size: 15px;
    background: #fff;
    transition: all .2s ease;
    box-shadow: none;
}

    .form-control-modern:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 .24rem rgba(13, 110, 253, 0.12);
    }

.helper-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
}

.btn-consultar-modern {
    min-width: 190px;
    height: 56px;
    border: 0;
    border-radius: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #2748d8);
    box-shadow: 0 15px 35px rgba(39, 72, 216, 0.24);
    transition: all .2s ease;
}

    .btn-consultar-modern:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 18px 38px rgba(39, 72, 216, 0.28);
    }

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

    .result-header h5 {
        margin: 0;
        font-weight: 800;
        color: #1e293b;
    }

.result-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
    font-weight: 700;
    font-size: 13px;
}

.table-wrap-modern {
    border: 1px solid #e9eef5;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
}

.table-modern {
    margin-bottom: 0;
}

    .table-modern thead th {
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        color: #334155;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .03em;
        border-bottom: 1px solid #e2e8f0;
        padding: 16px 14px;
        white-space: nowrap;
    }

    .table-modern tbody td {
        padding: 16px 14px;
        vertical-align: middle;
        border-color: #eef2f7;
        color: #334155;
    }

    .table-modern tbody tr:hover {
        background: #fbfdff;
    }

.badge-code {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    background: rgba(13, 110, 253, 0.10);
    color: #0d6efd;
}

.badge-status-modern {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pendente {
    background: rgba(255, 193, 7, 0.18);
    color: #946200;
}

.status-confirmado {
    background: rgba(25, 135, 84, 0.15);
    color: #146c43;
}

.status-cancelado {
    background: rgba(220, 53, 69, 0.14);
    color: #b02a37;
}

.status-finalizado {
    background: rgba(13, 202, 240, 0.14);
    color: #087990;
}

.status-default {
    background: rgba(108, 117, 125, 0.14);
    color: #495057;
}

.btn-action-modern {
    border-radius: 14px;
    font-weight: 600;
    padding: 8px 14px;
}

.empty-state-modern {
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 100%);
    padding: 36px 24px;
    text-align: center;
}

    .empty-state-modern .empty-icon {
        width: 72px;
        height: 72px;
        margin: 0 auto 16px;
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(13, 110, 253, 0.08);
        color: #0d6efd;
        font-size: 28px;
    }

.divider-soft {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 32px 0 26px;
}

@@media (max-width: 991.98px) {
    .consulta-card-body,
    .consulta-card-header {
        padding: 24px;
    }
}

@@media (max-width: 767.98px) {
    .consulta-title {
        font-size: 1.45rem;
    }

    .search-block {
        padding: 18px;
    }

    .btn-consultar-modern {
        width: 100%;
    }

    .table-modern thead th,
    .table-modern tbody td {
        white-space: nowrap;
    }
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* BASE */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    min-width: 220px;
    color: #ffffff;
}

/* BOTÃO PRINCIPAL */
.btn-primary-modern {
    background: linear-gradient(135deg, #0d6efd, #2563eb);
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.25);
}

    .btn-primary-modern:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(13, 110, 253, 0.35);
        color: #fff;
    }

/* BOTÃO OUTLINE */
.btn-outline-modern {
    background: #fff;
    color: #0d6efd;
    border: 1.5px solid #0d6efd;
}

    .btn-outline-modern:hover {
        background: #0d6efd;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(13, 110, 253, 0.2);
    }

/* ÍCONES */
.btn-modern i {
    font-size: 14px;
}

.btn-modern a {
    font-size: 14px;
    color: #fff
}

/* RESPONSIVO */
@media (max-width: 576px) {
    .btn-modern {
        width: 100%;
        min-width: unset;
    }
}
