/* Layout base do corpo para a página de teste de portas */
.corpo {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

/* Card principal */
.tcp-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    margin-bottom: 28px;
}

.tcp-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.tcp-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.tcp-card p {
    margin-bottom: 14px;
    font-size: 16px;
    color: #444;
}

/* Inputs */
.tcp-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.tcp-inputs input[type="text"],
.tcp-inputs input[type="number"] {
    padding: 10px 14px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 1;
}

/* Checkbox */
.tcp-check {
    margin: 8px 0 4px 0;
    font-size: 14px;
}

/* Botão principal */
.tcp-btn {
    background-color: #ff914d;
    color: #fff;
    padding: 12px 32px;
    font-size: 17px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: .15s ease;
    margin-top: 8px;
}

.tcp-btn:hover {
    background-color: #ff7d29;
    transform: translateY(-1px);
}

/* Mensagens e notas */
.small-note {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

.tcp-error {
    margin-top: 8px;
    font-size: 14px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 8px 10px;
}

.tcp-error-inline {
    /* garante alinhamento visual dentro do bloco do reCAPTCHA */
    display: block;
}

/* Resultado */
.tcp-result {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
}

.tcp-result.ok {
    background: #eaffea;
    border: 1px solid #83d983;
    color: #2f7a32;
}

.tcp-result.fail {
    background: #ffecec;
    border: 1px solid #e08a8a;
    color: #8c1e1e;
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table th,
table td {
    border: 1px solid #e0e0e0;
    padding: 6px 8px;
    text-align: left;
}

table th {
    background: #f5f5f5;
}

/* reCAPTCHA wrapper */
.recaptcha-wrapper {
    margin: 12px 0;
}

/* Responsivo */
@media (max-width: 600px) {
    .tcp-card {
        padding: 20px 18px;
    }

    .tcp-btn {
        width: 100%;
    }
}
