.ascii-tool-main { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* Config Panel - Más estilo */
.config-panel {
    background: #0a0a0a; border: 1px solid #222;
    border-radius: 16px; padding: 25px; margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Sombra más profunda */
}

.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #ccc; }
.input-group input, .input-group select {
    width: 100%; padding: 12px; background: #111; border: 1px solid #333;
    border-radius: 8px; color: white; outline: none; transition: border-color 0.3s;
}
.input-group input:focus, .input-group select:focus { border-color: var(--primary-color); }

.generate-btn {
    width: 100%; padding: 12px; background: var(--primary-color); color: white;
    border: none; border-radius: 8px; font-weight: 700; cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.generate-btn:hover { background: #005ecb; transform: translateY(-2px); }

/* Result Container */
.results-container { display: flex; flex-direction: column; gap: 25px; }

/* Estilo Premium para las Cajas de Resultado */
.result-box {
    background: #080808; /* Fondo ligeramente más claro que el negro total */
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.result-box:hover {
    border-color: var(--primary-color); /* Borde azul al pasar el mouse */
    box-shadow: 0 5px 15px rgba(0, 124, 240, 0.15); /* Resplandor sutil */
    transform: translateY(-3px);
}

.result-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; background: #111; border-bottom: 1px solid #222;
}
.font-name { font-weight: 600; color: #888; font-size: 0.9rem; }
.copy-btn-small {
    padding: 6px 12px; background: rgba(255,255,255,0.1); border: none;
    border-radius: 6px; color: #ccc; font-size: 0.8rem; cursor: pointer;
    transition: all 0.2s;
}
.copy-btn-small:hover { background: var(--primary-color); color: white; }

.ascii-output {
    padding: 20px;
    margin: 0;
    background: #050505; /* Fondo muy oscuro para el código */
    color: #00ff88; /* Color verde matrix/terminal para el texto */
    font-family: 'Fira Code', monospace;
    white-space: pre;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.2;
    /* Sutil patrón de líneas de escaneo */
    background-image: linear-gradient(transparent 50%, rgba(0, 255, 136, 0.05) 50%);
    background-size: 100% 4px;
}

/* Scrollbar bonita para el ASCII */
.ascii-output::-webkit-scrollbar { height: 8px; }
.ascii-output::-webkit-scrollbar-track { background: #111; border-radius: 4px; }
.ascii-output::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.ascii-output::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }