/* /home/prodriver/public_html/css/suporte.css */

.blue-box {
    background: rgba(23, 162, 184, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem;
}

/* Texto auxiliar por baixo do titulo */
.suporte-auxiliar {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Cartao de ajuda */
.suporte-ajuda {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    color: #fff;
    position: relative;
    margin-bottom: 2rem;
}

.suporte-ajuda h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.suporte-ajuda p {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.suporte-ajuda p:last-child {
    margin-bottom: 0;
}

.suporte-ajuda .btn-fechar-ajuda {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem;
}

.suporte-ajuda .btn-fechar-ajuda:hover {
    color: #fff;
}

/* Placeholder bem mais claro do que o texto escrito pelo utilizador */
#formSuporte .form-control::placeholder {
    color: #ccd2d8 !important;
    opacity: 1;
}

#formSuporte .form-control::-webkit-input-placeholder {
    color: #ccd2d8 !important;
}

#formSuporte .form-control::-moz-placeholder {
    color: #ccd2d8 !important;
    opacity: 1;
}

/* Campos obrigatorios: risca vermelha fixa na margem esquerda */
.campo-obrigatorio {
    border-left: 3px solid #dc3545;
    padding-left: 0.75rem;
}

/* Caixa de texto que cresce com o conteudo */
.cresce {
    overflow-y: hidden;
    resize: none;
    min-height: 7rem;
}

/* Confirmacao depois do envio: substitui o formulario */
.suporte-confirmado-caixa {
    background: #198754;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 0.5rem;
    color: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.suporte-confirmado-caixa.aviso {
    background: #b8860b;
}

.suporte-confirmado-caixa i {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
}

.suporte-confirmado-caixa h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.suporte-confirmado-caixa p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.suporte-confirmado-caixa p:last-of-type {
    margin-bottom: 0;
}

/* Lista de pedidos anteriores */
.pedido-linha {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.pedido-linha .pedido-assunto {
    font-weight: 700;
    color: #fff;
}

.pedido-linha .pedido-meta {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.pedido-linha .pedido-mensagem {
    color: rgba(255, 255, 255, 0.95);
    white-space: pre-wrap;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.pedido-resposta {
    background: rgba(255, 255, 255, 0.92);
    color: #212529;
    border-radius: 0.4rem;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.pedido-resposta .pedido-resposta-meta {
    font-size: 0.78rem;
    color: #6c757d;
    display: block;
    margin-bottom: 0.25rem;
}

.pedido-resposta p {
    margin-bottom: 0;
    white-space: pre-wrap;
}

.suporte-contador {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Telemovel */
@media (max-width: 575.98px) {
    .blue-box {
        padding: 0.75rem;
    }

    .suporte-ajuda {
        padding: 0.85rem 1rem;
    }
}
