/* CONTAINER PRINCIPAL ESTILO DARK PRO */
.tools-wrap {
    background: #0b0f1a;
    color: #e2e8f0;
    padding: 30px;
    border-radius: 15px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    border: 1px solid #1e293b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 20px auto;
}

.tools-card-body h3 {
    color: #00d4ff;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* GRID DE INPUTS */
.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .tools-grid { grid-template-columns: 1fr; }
}

.tools-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.tools-input {
    width: 100%;
    background: #161e2d;
    border: 1px solid #2d3748;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tools-input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
    outline: none;
}

/* OPÇÕES (CHECKBOXES) */
.tools-options {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 8px;
}

.tools-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #cbd5e1;
}

/* BOTÕES */
.tools-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.tools-btn {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

#btnGenRedirect {
    background: #00d4ff;
    color: #0b0f1a;
}

#btnGenRedirect:hover {
    background: #fff;
    transform: translateY(-2px);
}

.tools-btn-ghost {
    background: transparent;
    border: 1px solid #4a5568;
    color: #94a3b8;
}

.tools-btn-ghost:hover {
    background: rgba(74, 85, 104, 0.2);
    color: #fff;
}

/* ÁREA DE RESULTADO */
.tools-output {
    width: 100%;
    background: #000;
    color: #10b981; /* Verde Matrix/Terminal */
    font-family: 'Consolas', monospace;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    resize: none;
    margin-top: 10px;
}

.tools-msg {
    margin-top: 10px;
    font-size: 13px;
    padding: 8px;
    border-radius: 4px;
    display: none;
}

.tools-msg.ok { display: block; color: #10b981; background: rgba(16, 185, 129, 0.1); }
.tools-msg.err { display: block; color: #ef4444; background: rgba(239, 68, 68, 0.1); }

.tools-hint { color: #64748b; font-size: 11px; margin-top: 4px; display: block; }
/* LINKS EXCLUSIVOS DA FERRAMENTA (EVITA CONFLITO COM BREADCRUMB) */

/* Seletor específico para links dentro da ferramenta */
.tools-wrap a {
    color: #00d4ff !important; /* Ciano vibrante para destaque no azul escuro [cite: 16, 18] */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Link já visitado dentro da ferramenta */
.tools-wrap a:visited {
    color: #7dd3fc !important; /* Ciano levemente mais fosco para indicar leitura */
}

/* Efeito ao passar o mouse apenas nos links da ferramenta */
.tools-wrap a:hover {
    color: #ffffff !important; /* Branco puro para brilhar no fundo escuro [cite: 16] */
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6); /* Efeito de brilho neon */
}

/* Links de dicas e textos mudos da ferramenta */
.tools-muted a, .tools-hint a {
    color: #38bdf8 !important; /* Azul celeste para links secundários [cite: 4, 9] */
    border-bottom: 1px dashed rgba(56, 189, 248, 0.4);
}

.tools-muted a:hover {
    border-bottom: 1px solid #ffffff;
}
