.table tbody tr:hover{
    background-color: #e2e6ea !important;
    cursor: pointer;
    transition: background-color .15s ease-in-out;
}
.table tbody tr{
    transition: all .15s ease;
}

.table tbody tr:hover{
    background-color: #dee2e6 !important;
}
.btn,
.nav-link,
.page-link{
    cursor: pointer;
}
.table-striped tbody tr:nth-of-type(odd){
    background-color: rgba(0,0,0,.02);
}
.card{
    border-radius: 10px;
}

.card-header{
    font-weight: 600;
}
.form-control:focus{

    border-color: #007bff;

    box-shadow:
        0 0 0 .2rem
        rgba(0,123,255,.15);

}
.dataTables_wrapper .dataTables_filter input{
    margin-left: 5px;
}

.dataTables_wrapper .dataTables_length select{
    margin: 0 5px;
}
.badge-success{
    padding: 6px 10px;
}

.badge-danger{
    padding: 6px 10px;
}

.badge-warning{
    padding: 6px 10px;
}

.login-custom-page{
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1d4ed8 55%,
            #0ea5e9 100%
        );
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}

.login-custom-wrapper{
    width: 100%;
    max-width: 430px;
    padding: 20px;
}

.login-custom-card{
    background: #ffffff;
    border-radius: 22px;
    padding: 35px 32px;
    box-shadow: 0 20px 55px rgba(0,0,0,.25);
}

.login-logo-area{
    text-align: center;
    margin-bottom: 28px;
}

.login-image-placeholder{
    width: 120px;
    height: 120px;
    margin: 0 auto 18px auto;
    border-radius: 24px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.login-image-placeholder img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.login-icon-fallback{
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    font-size: 58px;
}

.login-logo-area h2{
    font-weight: 700;
    font-size: 25px;
    color: #0f172a;
    margin-bottom: 8px;
}

.login-logo-area p{
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.login-custom-card label{
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.login-custom-card .form-control{
    height: 46px;
    border-radius: 0 10px 10px 0;
}

.login-custom-card .input-group-text{
    border-radius: 10px 0 0 10px;
    background: #f8fafc;
    color: #64748b;
}

.btn-login-custom{
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 12px;
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-login-custom:hover{
    background: #1e40af;
    border-color: #1e40af;
}

.login-footer{
    text-align: center;
    color: #94a3b8;
    margin-top: 25px;
}

.login-custom-page {
    min-height: 100vh;
    margin: 0;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-custom-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-custom-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.login-logo-area {
    text-align: center;
    margin-bottom: 25px;
}

.login-image-placeholder{
    width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-image-placeholder img{
    max-width: 320px;
    width: 100%;
    height: auto;
}

.login-icon-fallback {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 45px;
}

.btn-login-custom {
    padding: 10px;
    font-weight: 600;
}
body.login-custom-page {
    min-height: 100vh;
    margin: 0;
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-custom-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-custom-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}


.site-hero{
    background:
        linear-gradient(
            135deg,
            #effff4 0%,
            #ffffff 55%,
            #eaf6ff 100%
        );
    padding-top: 120px;
    padding-bottom: 80px;
}

.site-hero-title{
    font-size: 48px;
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
}

.site-hero-title span{
    color: #0a9f3d;
}

.site-hero-text{
    font-size: 18px;
    color: #64748b;
}

.site-card-feature{
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.site-section-title{
    font-weight: 800;
    color: #0f172a;
}

.site-btn-main{
    background: #0a9f3d;
    border-color: #0a9f3d;
    border-radius: 12px;
    font-weight: 700;
    padding: 12px 24px;
}

.site-btn-main:hover{
    background: #078032;
    border-color: #078032;
}

.site-navbar{
    min-height: 76px;
}

.site-logo{
    height: 70px;
    max-width: 320px;
    width: auto;
}

.site-hero{
    background:
        linear-gradient(
            135deg,
            #effff4 0%,
            #ffffff 55%,
            #eaf6ff 100%
        );
    padding-top: 130px;
    padding-bottom: 85px;
}

.site-hero-title{
    font-size: 48px;
    font-weight: 800;
    line-height: 1.12;
    color: #0f172a;
}

.site-hero-title span{
    color: #0a9f3d;
}

.site-hero-text{
    font-size: 18px;
    color: #64748b;
}

.site-card-feature{
    border: 0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.site-section-title{
    font-weight: 800;
    color: #0f172a;
}

.site-btn-main{
    background: #0a9f3d;
    border-color: #0a9f3d;
    border-radius: 12px;
    font-weight: 700;
}

.site-btn-main:hover{
    background: #078032;
    border-color: #078032;
}

.site-check-item{
    margin-bottom: 15px;
    color: #334155;
    font-size: 16px;
}

.site-check-item i{
    margin-right: 8px;
}

.site-feature-icon{
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #e8f8ee;
    color: #0a9f3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.site-step{
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0a9f3d;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.site-faq-item{
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.site-final-cta{
    background:
        linear-gradient(
            135deg,
            #0a9f3d 0%,
            #006aa6 100%
        );
    color: #ffffff;
    padding: 70px 0;
}

@media(max-width: 767px){
    .site-hero-title{
        font-size: 34px;
    }

    .site-logo{
        height: 55px;
        max-width: 250px;
    }
}

:root{
    --disp-green:#08a63f;
    --disp-green-dark:#067a31;
    --disp-blue:#0866c6;
    --disp-dark:#102033;
    --disp-muted:#64748b;
    --disp-bg:#f6fbff;
}

.site-navbar{
    min-height: 78px;
}

.site-logo{
    height: 62px;
    max-width: 300px;
    object-fit: contain;
}

.site-hero-v2{
    padding: 140px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(8,166,63,.14), transparent 35%),
        radial-gradient(circle at bottom right, rgba(8,102,198,.13), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f3fff7 55%, #edf7ff 100%);
}

.site-hero-title{
    font-size: 52px;
    font-weight: 900;
    line-height: 1.08;
    color: var(--disp-dark);
}

.site-hero-title span{
    color: var(--disp-green);
}

.site-hero-text{
    font-size: 19px;
    color: var(--disp-muted);
}

.site-btn-main{
    background: var(--disp-green);
    border-color: var(--disp-green);
    border-radius: 14px;
    font-weight: 800;
    padding: 12px 26px;
}

.site-btn-main:hover{
    background: var(--disp-green-dark);
    border-color: var(--disp-green-dark);
}

.site-btn-outline{
    border-radius: 14px;
    font-weight: 700;
    padding: 12px 26px;
}

.site-dashboard-mockup{
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 70px rgba(15,23,42,.14);
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.08);
}

.site-mockup-top{
    background: linear-gradient(135deg, var(--disp-green), var(--disp-blue));
    color: #ffffff;
    padding: 16px 20px;
    font-weight: 800;
}

.site-mockup-body{
    padding: 24px;
}

.site-mini-card{
    background: #f8fafc;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
}

.site-mini-card strong{
    color: var(--disp-dark);
}

.site-feature-card{
    border: 0;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
    transition: all .2s ease;
}

.site-feature-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15,23,42,.12);
}

.site-feature-icon{
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #eafff0;
    color: var(--disp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 18px;
}

.site-section-title{
    font-weight: 900;
    color: var(--disp-dark);
}

.site-step{
    width: 62px;
    height: 62px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--disp-green), var(--disp-blue));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 18px;
}

.site-plan-card{
    border: 0;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(15,23,42,.08);
}

.site-plan-card.featured{
    border: 2px solid var(--disp-green);
    transform: scale(1.03);
}

.site-final-cta{
    background: linear-gradient(135deg, var(--disp-green), var(--disp-blue));
    color: #ffffff;
    padding: 80px 0;
}

.site-faq-item{
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

@media(max-width: 767px){
    .site-logo{
        height: 48px;
        max-width: 230px;
    }

    .site-hero-title{
        font-size: 36px;
    }

    .site-hero-v2{
        padding-top: 115px;
    }

    .site-plan-card.featured{
        transform: none;
    }
}

.site-cadastro-page{
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(8,166,63,.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(8,102,198,.12), transparent 35%),
        linear-gradient(135deg, #ffffff 0%, #f3fff7 55%, #edf7ff 100%);
}

.site-cadastro-page label{
    font-weight: 600;
    color: #334155;
}

.site-cadastro-page .form-control{
    height: 46px;
    border-radius: 12px;
}

.site-cadastro-page .card{
    border-radius: 22px;
}

.disparo-preview-box{
    height: 430px;
    overflow-y: auto;
    white-space: pre-line;
}

.disparo-numeros-box{
    height: 300px !important;
    resize: vertical;
}

.status-envios-box{
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}


.tabela-status-disparo{
    table-layout: fixed;
}

.tabela-status-disparo th,
.tabela-status-disparo td{
    vertical-align: middle;
    word-break: break-word;
}

.tabela-status-disparo .col-numero-disparo{
    width: 32%;
}

.tabela-status-disparo .col-status-disparo{
    width: 18%;
}

.tabela-status-disparo .col-detalhes-disparo{
    width: 18%;
}

@media(max-width: 767px){
    .disparo-preview-box{
        height: 300px;
    }

    .disparo-numeros-box{
        height: 260px;
    }

    .status-envios-box{
        max-height: 260px;
    }
}

#btnSolicitarCadastro:disabled{
    opacity: .65;
    cursor: not-allowed;
}

/* force deploy style css */
.meta-webhook-config-box code{
    color: #1f2937;
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(31, 41, 55, .12);
    border-radius: 4px;
    padding: 2px 6px;
}

.auto-resposta-section{
    padding-left: 0;
    padding-right: 0;
}

.conversas-resizable-card{
    height: calc(100vh - 190px);
    min-height: 420px;
    max-height: calc(100vh - 140px);
}

.conversas-resize-handle{
    height: 10px;
    margin: -8px 15px 12px 15px;
    border-radius: 8px;
    cursor: ns-resize;
    background: transparent;
}

.conversas-resize-handle:hover{
    background: rgba(0, 0, 0, .08);
}

.conversas-redimensionando{
    cursor: ns-resize;
    user-select: none;
}

.conversa-lista-topo,
.conversa-lista-meta{
    gap: 8px;
}

.conversa-lista-nome{
    min-width: 0;
    flex: 1;
}

.conversa-lista-nome strong{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversa-lista-acoes{
    flex: 0 0 auto;
}

.conversa-lista-meta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.conversa-lista-meta small{
    min-width: 0;
}

.conversa-lista-responsavel{
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversa-ultima-mensagem{
    display: block;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversa-painel-header{
    padding: .55rem .75rem;
}

.conversa-painel-header-linha{
    gap: 12px;
}

.conversa-painel-titulo,
.conversa-painel-responsavel{
    min-width: 0;
}

.conversa-painel-titulo strong,
.conversa-painel-responsavel small{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversa-painel-responsavel{
    flex: 0 0 42%;
}

.conversas-resizable-card{
    display: flex;
    flex-direction: column;
}

#listaConversas,
#painelConversa #areaMensagens{
    flex: 1 1 auto;
    min-height: 0;
}

.item-conversa.active{
    color: #1f2937;
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.item-conversa.active:hover,
.item-conversa.active:focus{
    color: #111827;
    background-color: #e5e7eb;
    border-color: #cbd5e1;
}

.item-conversa.active .text-white{
    color: #4b5563 !important;
}

.conversa-lista-acoes{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.conversa-badge-novas{
    min-width: 24px;
    line-height: 1.35;
}

.item-conversa.active .btn-outline-primary{
    color: #0056b3;
    border-color: #0056b3;
}

.item-conversa.active .btn-outline-secondary{
    color: #4b5563;
    border-color: #6b7280;
}

.item-conversa.active .btn-outline-info{
    color: #0f6674;
    border-color: #0f6674;
}

.conversas-resize-handle{
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversas-resize-indicator{
    width: 42px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
    cursor: ns-resize;
}

.conversas-resize-indicator:before,
.conversas-resize-indicator:after{
    content: '';
    width: 8px;
    height: 1px;
    background: #9ca3af;
    display: inline-block;
}

.conversas-resize-indicator i{
    font-size: .75rem;
    margin: 0 4px;
}
