/* Botão flutuante de suporte e modal do formulário (páginas de resultado e
   documentos impressos). Carregado por base.html e baselayout/print_page.html. */

.support-bubble {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 10050;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.support-bubble:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 3px;
}

.support-modal {
    z-index: 10600;
}

.support-modal .modal-content {
    border: none;
    border-radius: 14px;
    font-family: 'Lato', sans-serif;
}

.support-modal .form-label,
.support-modal .form-control,
.support-modal .form-select,
.support-modal .btn {
    font-family: 'Lato', sans-serif;
}

/* O formulário compartilhado divide os campos em duas colunas em telas largas;
   dentro do modal cada campo ocupa a largura toda. */
.support-modal .support-request .col-md-6 {
    flex: 0 0 auto;
    width: 100%;
}

.support-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .support-bubble {
        left: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
}

@media print {
    .support-bubble,
    .support-modal,
    .modal-backdrop {
        display: none !important;
    }
}
